Skip to content

Commit e3c9851

Browse files
Vipul Pandyadavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Vipul Pandya <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent aa73187 commit e3c9851

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3415,16 +3415,6 @@ static int adap_init0_config(struct adapter *adapter, int reset)
34153415
"mismatch: [fini] csum=%#x, computed csum=%#x\n",
34163416
finicsum, cfcsum);
34173417

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-
34283418
/*
34293419
* And now tell the firmware to use the configuration we just loaded.
34303420
*/

0 commit comments

Comments
 (0)