summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>2010-07-09 13:14:58 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-09 17:41:57 -0700
commitac8d0c4feb5577a830bbf1d9a3bb5b1d30298e2c (patch)
treed564fcfee851d9c96e754afa9dc7093f869dd7a7 /drivers/net/qlcnic/qlcnic.h
parentd77535162e736c47978d5c01469c56e1781dc91b (diff)
downloadblackbird-op-linux-ac8d0c4feb5577a830bbf1d9a3bb5b1d30298e2c.tar.gz
blackbird-op-linux-ac8d0c4feb5577a830bbf1d9a3bb5b1d30298e2c.zip
qlcnic: Check FW capability for TSO
Driver checks TSO capability from FW before enabling it. Signed-off-by: Anirban Chakraborty <anirban.chakraborty@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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 60ea7cb3308f..02a50e60166d 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -821,9 +821,10 @@ struct qlcnic_nic_intr_coalesce {
#define QLCNIC_LRO_REQUEST_CLEANUP 4
/* Capabilites received */
-#define QLCNIC_FW_CAPABILITY_BDG (1 << 8)
-#define QLCNIC_FW_CAPABILITY_FVLANTX (1 << 9)
-#define QLCNIC_FW_CAPABILITY_HW_LRO (1 << 10)
+#define QLCNIC_FW_CAPABILITY_TSO BIT_1
+#define QLCNIC_FW_CAPABILITY_BDG BIT_8
+#define QLCNIC_FW_CAPABILITY_FVLANTX BIT_9
+#define QLCNIC_FW_CAPABILITY_HW_LRO BIT_10
/* module types */
#define LINKEVENT_MODULE_NOT_PRESENT 1
OpenPOWER on IntegriCloud