The interesting part is that Turkey has fostered and helped build the Iraqi Kurdistan part. Their President, Masoud Barzani, is supposed to be in good terms with Erdogan.
But now what would happen? With Barzani be in conflict with the Syrian Kurds, or will he become more and more confident, and start being less accommodating to Turkey? Turkey has paved the way for this, and now they will have a stronger Kurdistan covering to countries bordering them, and next comes Kurdish lands in Turkey (which, of course, will give western powers easy opportunity to cause trouble in Iran Kurdistan areas).
Unfortunately for Turkey, they need to wakeup and realize that they need to help their neighbors to help themselves. Turkey needs to swallow their pride and be on Syrian & Iraqi government's side, help them maintain their territories and prevent autonomy for the Kurds. Otherwise, down the road, they are screwed.