aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-05-12 23:07:46 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-14 06:08:00 -0400
commit251a84c9272b88eac4888d610c44c821b277c6c9 (patch)
treef5b401d901040740368190aa053db3e848e2c4f7 /drivers/net/qlcnic/qlcnic.h
parent1bb09fb9c9333c97dc58524b05d4ee35b02b4216 (diff)
qlcnic: cleanup unused code
LRO ring, cut-thru mode and specific fw version are not valid to Qlogic CNA device. 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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 189453fc5047..ed9df150c20f 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -98,8 +98,6 @@
98#define QLCNIC_CT_DEFAULT_RX_BUF_LEN 2048 98#define QLCNIC_CT_DEFAULT_RX_BUF_LEN 2048
99#define QLCNIC_LRO_BUFFER_EXTRA 2048 99#define QLCNIC_LRO_BUFFER_EXTRA 2048
100 100
101#define QLCNIC_RX_LRO_BUFFER_LENGTH (8060)
102
103/* Opcodes to be used with the commands */ 101/* Opcodes to be used with the commands */
104#define TX_ETHER_PKT 0x01 102#define TX_ETHER_PKT 0x01
105#define TX_TCP_PKT 0x02 103#define TX_TCP_PKT 0x02
@@ -133,7 +131,6 @@
133 131
134#define RCV_RING_NORMAL 0 132#define RCV_RING_NORMAL 0
135#define RCV_RING_JUMBO 1 133#define RCV_RING_JUMBO 1
136#define RCV_RING_LRO 2
137 134
138#define MIN_CMD_DESCRIPTORS 64 135#define MIN_CMD_DESCRIPTORS 64
139#define MIN_RCV_DESCRIPTORS 64 136#define MIN_RCV_DESCRIPTORS 64
@@ -144,7 +141,6 @@
144#define MAX_RCV_DESCRIPTORS_10G 8192 141#define MAX_RCV_DESCRIPTORS_10G 8192
145#define MAX_JUMBO_RCV_DESCRIPTORS_1G 512 142#define MAX_JUMBO_RCV_DESCRIPTORS_1G 512
146#define MAX_JUMBO_RCV_DESCRIPTORS_10G 1024 143#define MAX_JUMBO_RCV_DESCRIPTORS_10G 1024
147#define MAX_LRO_RCV_DESCRIPTORS 8
148 144
149#define DEFAULT_RCV_DESCRIPTORS_1G 2048 145#define DEFAULT_RCV_DESCRIPTORS_1G 2048
150#define DEFAULT_RCV_DESCRIPTORS_10G 4096 146#define DEFAULT_RCV_DESCRIPTORS_10G 4096
@@ -402,7 +398,6 @@ struct qlcnic_hardware_context {
402 rwlock_t crb_lock; 398 rwlock_t crb_lock;
403 struct mutex mem_lock; 399 struct mutex mem_lock;
404 400
405 u8 cut_through;
406 u8 revision_id; 401 u8 revision_id;
407 u8 pci_func; 402 u8 pci_func;
408 u8 linkup; 403 u8 linkup;
@@ -917,7 +912,6 @@ struct qlcnic_adapter {
917 u16 num_txd; 912 u16 num_txd;
918 u16 num_rxd; 913 u16 num_rxd;
919 u16 num_jumbo_rxd; 914 u16 num_jumbo_rxd;
920 u16 num_lro_rxd;
921 915
922 u8 max_rds_rings; 916 u8 max_rds_rings;
923 u8 max_sds_rings; 917 u8 max_sds_rings;