aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/sge.c
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-01-30 22:43:50 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:50 -0500
commit14ab989245069907622ab9fd930275c086cee069 (patch)
tree936634558782631f67ff2f1b69e35a6d6200f074 /drivers/net/cxgb3/sge.c
parent4aac38990843b4f165ccf467b772e18827bff84c (diff)
cxgb3 - bind qsets on multiport adapter
Inform FW about the queue set->interface mapping. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r--drivers/net/cxgb3/sge.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 6c77f4bab62f..ccea06a04402 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -1198,6 +1198,14 @@ static void restart_ctrlq(unsigned long data)
1198 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); 1198 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id));
1199} 1199}
1200 1200
1201/*
1202 * Send a management message through control queue 0
1203 */
1204int t3_mgmt_tx(struct adapter *adap, struct sk_buff *skb)
1205{
1206 return ctrl_xmit(adap, &adap->sge.qs[0].txq[TXQ_CTRL], skb);
1207}
1208
1201/** 1209/**
1202 * write_ofld_wr - write an offload work request 1210 * write_ofld_wr - write an offload work request
1203 * @adap: the adapter 1211 * @adap: the adapter