net: add ndo to get id of physical port of the device