diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2011-02-23 04:21:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-23 23:23:33 +0100 |
commit | d12b0d9adc46888e3bb0224886105bf3b188553b (patch) | |
tree | 1c042239af546d4f4e606f114942bb28b8d3f15b /drivers/net/qlcnic/qlcnic.h | |
parent | qlcnic: fix checks for auto_fw_reset (diff) | |
download | linux-d12b0d9adc46888e3bb0224886105bf3b188553b.tar.xz linux-d12b0d9adc46888e3bb0224886105bf3b188553b.zip |
qlcnic: Remove validation for max tx and max rx queues
Max rx queues and tx queues are governed by fimware.
So driver should not validate these values.
Signed-off-by: Rajesh Borundia <rajesh.borundia@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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index fa7f794de29c..dc44564ef6f9 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h @@ -1132,14 +1132,10 @@ struct qlcnic_eswitch { #define MAX_BW 100 /* % of link speed */ #define MAX_VLAN_ID 4095 #define MIN_VLAN_ID 2 -#define MAX_TX_QUEUES 1 -#define MAX_RX_QUEUES 4 #define DEFAULT_MAC_LEARN 1 #define IS_VALID_VLAN(vlan) (vlan >= MIN_VLAN_ID && vlan < MAX_VLAN_ID) #define IS_VALID_BW(bw) (bw <= MAX_BW) -#define IS_VALID_TX_QUEUES(que) (que > 0 && que <= MAX_TX_QUEUES) -#define IS_VALID_RX_QUEUES(que) (que > 0 && que <= MAX_RX_QUEUES) struct qlcnic_pci_func_cfg { u16 func_type; |