diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-12-16 04:09:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-16 04:09:39 -0500 |
commit | 82ad33297410c1af8e993210da76e114a4c1670d (patch) | |
tree | 63044ca2d003efc85461a5e0943a175dbc960742 /drivers/net/cxgb3/adapter.h | |
parent | 89c88b16f12e9df9ac39418638f267ec3b36a6c6 (diff) |
cxgb3: Add multiple Tx queue support.
Implement NIC Tx multiqueue.
Bump up driver version.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index bc8e2413abd2..c190a69c4d71 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -196,6 +196,7 @@ struct sge_qset { /* an SGE queue set */ | |||
196 | int lro_frag_len; | 196 | int lro_frag_len; |
197 | void *lro_va; | 197 | void *lro_va; |
198 | struct net_device *netdev; | 198 | struct net_device *netdev; |
199 | struct netdev_queue *tx_q; /* associated netdev TX queue */ | ||
199 | unsigned long txq_stopped; /* which Tx queues are stopped */ | 200 | unsigned long txq_stopped; /* which Tx queues are stopped */ |
200 | struct timer_list tx_reclaim_timer; /* reclaims TX buffers */ | 201 | struct timer_list tx_reclaim_timer; /* reclaims TX buffers */ |
201 | unsigned long port_stats[SGE_PSTAT_MAX]; | 202 | unsigned long port_stats[SGE_PSTAT_MAX]; |
@@ -294,7 +295,8 @@ int t3_mgmt_tx(struct adapter *adap, struct sk_buff *skb); | |||
294 | void t3_update_qset_coalesce(struct sge_qset *qs, const struct qset_params *p); | 295 | void t3_update_qset_coalesce(struct sge_qset *qs, const struct qset_params *p); |
295 | int t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports, | 296 | int t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports, |
296 | int irq_vec_idx, const struct qset_params *p, | 297 | int irq_vec_idx, const struct qset_params *p, |
297 | int ntxq, struct net_device *dev); | 298 | int ntxq, struct net_device *dev, |
299 | struct netdev_queue *netdevq); | ||
298 | int t3_get_desc(const struct sge_qset *qs, unsigned int qnum, unsigned int idx, | 300 | int t3_get_desc(const struct sge_qset *qs, unsigned int qnum, unsigned int idx, |
299 | unsigned char *data); | 301 | unsigned char *data); |
300 | irqreturn_t t3_sge_intr_msix(int irq, void *cookie); | 302 | irqreturn_t t3_sge_intr_msix(int irq, void *cookie); |