net/ixgbe: rework port check for driver-specific API