aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2009-07-07 15:48:59 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-08 13:54:25 -0400
commitdce7d1d031aeaa8c65bd37ff2480dc450a68185e (patch)
tree5f767212df1f4520499121a4ea5b7ab5d0c5cf4b /drivers/net/cxgb3
parent2e8c07c35b3ffee7689406be61fd1448ee45d3cd (diff)
cxgb3: Fix mss table initialization
Fix the HW SMT table initialization to avoid random mss miscomputations for offload connections. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 27e7ef592b59..d4c4076cf087 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -443,6 +443,7 @@ static int init_tp_parity(struct adapter *adap)
443 memset(req, 0, sizeof(*req)); 443 memset(req, 0, sizeof(*req));
444 req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD)); 444 req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
445 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SMT_WRITE_REQ, i)); 445 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SMT_WRITE_REQ, i));
446 req->mtu_idx = NMTUS - 1;
446 req->iff = i; 447 req->iff = i;
447 t3_mgmt_tx(adap, skb); 448 t3_mgmt_tx(adap, skb);
448 if (skb == adap->nofail_skb) { 449 if (skb == adap->nofail_skb) {