aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic_res.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 13:02:24 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-03 23:19:19 -0400
commit6ba9cdc09678d6925c205ef0b0bd374e31589ecf (patch)
treecff6128e997b6945d77ad47dab3a23bc8de8a56a /drivers/net/enic/enic_res.h
parent350991e12ac1ac407850169a0d65f522a7fd029e (diff)
enic: provision for multiple Rx/Tx queues; prepare for RSS support
Provision for multiple Rx/Tx queues. Max of 8 WQs and 8 RQs. Max for completion queue is 8+8=16 and max for interrupt resources is 8+8+2. Add driver/firmware interface for setting up RSS secret key and indirection table. Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic_res.h')
-rw-r--r--drivers/net/enic/enic_res.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/enic/enic_res.h b/drivers/net/enic/enic_res.h
index 7bf272fa859b..abc19741ab02 100644
--- a/drivers/net/enic/enic_res.h
+++ b/drivers/net/enic/enic_res.h
@@ -139,6 +139,8 @@ void enic_del_vlan(struct enic *enic, u16 vlanid);
139int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, 139int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type,
140 u8 rss_hash_bits, u8 rss_base_cpu, u8 rss_enable, u8 tso_ipid_split_en, 140 u8 rss_hash_bits, u8 rss_base_cpu, u8 rss_enable, u8 tso_ipid_split_en,
141 u8 ig_vlan_strip_en); 141 u8 ig_vlan_strip_en);
142int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len);
143int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len);
142void enic_get_res_counts(struct enic *enic); 144void enic_get_res_counts(struct enic *enic);
143void enic_init_vnic_resources(struct enic *enic); 145void enic_init_vnic_resources(struct enic *enic);
144int enic_alloc_vnic_resources(struct enic *); 146int enic_alloc_vnic_resources(struct enic *);