aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>2010-08-16 20:34:25 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-17 06:59:49 -0400
commit24763d80fbb45aaf477d53c2203c929f6c41b5fc (patch)
tree1d1ae83c08b04b3f22153bfc1a611ce3511c7638 /drivers/net/qlcnic/qlcnic.h
parent8dec32cc421864702912c4341934fe0c737a9798 (diff)
qlcnic: turn off lro when rxcsum is disabled.
o Also dont allow lro to be turn on, if rx csum is disabled Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r--drivers/net/qlcnic/qlcnic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 7f4e11bd4cd4..f6b887d409d5 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -894,6 +894,7 @@ struct qlcnic_mac_req {
894#define QLCNIC_MSI_ENABLED 0x02 894#define QLCNIC_MSI_ENABLED 0x02
895#define QLCNIC_MSIX_ENABLED 0x04 895#define QLCNIC_MSIX_ENABLED 0x04
896#define QLCNIC_LRO_ENABLED 0x08 896#define QLCNIC_LRO_ENABLED 0x08
897#define QLCNIC_LRO_DISABLED 0x00
897#define QLCNIC_BRIDGE_ENABLED 0X10 898#define QLCNIC_BRIDGE_ENABLED 0X10
898#define QLCNIC_DIAG_ENABLED 0x20 899#define QLCNIC_DIAG_ENABLED 0x20
899#define QLCNIC_ESWITCH_ENABLED 0x40 900#define QLCNIC_ESWITCH_ENABLED 0x40