]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/base/ixgbe_common.c
net/ixgbe/base: complete HW init when SFP not present
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_common.c
index 96456678e25d6aa57ad13f04b21c9c31b808e1fb..df6fbf9940a2b8babaa319b39835cad6eac6911b 100644 (file)
@@ -495,7 +495,7 @@ s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw)
        /* Reset the hardware */
        status = hw->mac.ops.reset_hw(hw);
 
-       if (status == IXGBE_SUCCESS) {
+       if (status == IXGBE_SUCCESS || status == IXGBE_ERR_SFP_NOT_PRESENT) {
                /* Start the HW */
                status = hw->mac.ops.start_hw(hw);
        }