]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/base/ixgbe_vf.c
net/ixgbe/base: limit 5Gb support to X550 devices
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_vf.c
index 66486ea9ae639ee8fd092d635636c4a320eda2a1..8775ee510e2ca87b6bf7e292fc0a14c4c2ee1c6b 100644 (file)
@@ -623,7 +623,7 @@ s32 ixgbe_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
                break;
        case IXGBE_LINKS_SPEED_100_82599:
                *speed = IXGBE_LINK_SPEED_100_FULL;
-               if (hw->mac.type >= ixgbe_mac_X550) {
+               if (hw->mac.type == ixgbe_mac_X550) {
                        if (links_reg & IXGBE_LINKS_SPEED_NON_STD)
                                *speed = IXGBE_LINK_SPEED_5GB_FULL;
                }