]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/base/ixgbe_common.c
net/mlx5: allocate verbs object into shared memory
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_common.c
index 4dabb434ca97d0eeaa3fa83acdd6c6863ecdf4d5..7f85713e9d118e10abc3a7488ccc36047d116cfd 100644 (file)
@@ -504,7 +504,8 @@ s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw)
        }
 
        /* Initialize the LED link active for LED blink support */
-       hw->mac.ops.init_led_link_act(hw);
+       if (hw->mac.ops.init_led_link_act)
+               hw->mac.ops.init_led_link_act(hw);
 
        if (status != IXGBE_SUCCESS)
                DEBUGOUT1("Failed to initialize HW, STATUS = %d\n", status);