Commit e3c98512780ae2cfb90be2152ab35294439bb7bb

Authored by Vipul Pandya
Committed by David S. Miller
1 parent aa731872f7

cxgb4: Fix unable to get UP event from the LLD

If T4 configuration file gets loaded from the /lib/firmware/cxgb4/ directory
then offload capabilities of the cards were getting disabled during
initialization. Hence ULDs do not get an UP event from the LLD.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 0 additions and 10 deletions Side-by-side Diff

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
... ... @@ -3416,16 +3416,6 @@
3416 3416 finicsum, cfcsum);
3417 3417  
3418 3418 /*
3419   - * If we're a pure NIC driver then disable all offloading facilities.
3420   - * This will allow the firmware to optimize aspects of the hardware
3421   - * configuration which will result in improved performance.
3422   - */
3423   - caps_cmd.ofldcaps = 0;
3424   - caps_cmd.iscsicaps = 0;
3425   - caps_cmd.rdmacaps = 0;
3426   - caps_cmd.fcoecaps = 0;
3427   -
3428   - /*
3429 3419 * And now tell the firmware to use the configuration we just loaded.
3430 3420 */
3431 3421 caps_cmd.op_to_write =