summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/sge.c
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-01-30 19:43:50 -0800
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 6c77f4bab62..ccea06a0440 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -1198,6 +1198,14 @@ static void restart_ctrlq(unsigned long data)
F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id));
}
+/*
+ * Send a management message through control queue 0
+ */
+int t3_mgmt_tx(struct adapter *adap, struct sk_buff *skb)
+{
+ return ctrl_xmit(adap, &adap->sge.qs[0].txq[TXQ_CTRL], skb);
+}
+
/**
* write_ofld_wr - write an offload work request
* @adap: the adapter