From 534429dc9d693c26ca59afaa792bad4e74b60106 Mon Sep 17 00:00:00 2001 From: Vipul Pandya Date: Wed, 31 Oct 2012 09:36:55 -0700 Subject: [PATCH] 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. This patch fixes bug 2392 in OFED bugzilla. Signed-off-by: Vipul Pandya --- ...-unable-to-get-UP-event-from-the-LLD.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 linux-next-pending/0010-cxgb4-Fix-unable-to-get-UP-event-from-the-LLD.patch diff --git a/linux-next-pending/0010-cxgb4-Fix-unable-to-get-UP-event-from-the-LLD.patch b/linux-next-pending/0010-cxgb4-Fix-unable-to-get-UP-event-from-the-LLD.patch new file mode 100644 index 0000000..69a6ae8 --- /dev/null +++ b/linux-next-pending/0010-cxgb4-Fix-unable-to-get-UP-event-from-the-LLD.patch @@ -0,0 +1,40 @@ +From f82ee1d572199bfe4af598d05321da3a2d963fa8 Mon Sep 17 00:00:00 2001 +From: Vipul Pandya +Date: Thu, 25 Oct 2012 14:51:48 +0530 +Subject: [PATCH 11/16] 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. + +This patch fixes bug 2392 in OFED bugzilla. + +Signed-off-by: Vipul Pandya +--- + drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 10 ---------- + 1 files changed, 0 insertions(+), 10 deletions(-) + +diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +index c1cde11..0df1284 100644 +--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ++++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +@@ -3416,16 +3416,6 @@ static int adap_init0_config(struct adapter *adapter, int reset) + finicsum, cfcsum); + + /* +- * If we're a pure NIC driver then disable all offloading facilities. +- * This will allow the firmware to optimize aspects of the hardware +- * configuration which will result in improved performance. +- */ +- caps_cmd.ofldcaps = 0; +- caps_cmd.iscsicaps = 0; +- caps_cmd.rdmacaps = 0; +- caps_cmd.fcoecaps = 0; +- +- /* + * And now tell the firmware to use the configuration we just loaded. + */ + caps_cmd.op_to_write = +-- +1.7.1 + -- 2.46.0