mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
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>
This commit is contained in:
parent
2e8c07c35b
commit
dce7d1d031
@ -443,6 +443,7 @@ static int init_tp_parity(struct adapter *adap)
|
||||
memset(req, 0, sizeof(*req));
|
||||
req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
|
||||
OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SMT_WRITE_REQ, i));
|
||||
req->mtu_idx = NMTUS - 1;
|
||||
req->iff = i;
|
||||
t3_mgmt_tx(adap, skb);
|
||||
if (skb == adap->nofail_skb) {
|
||||
|
Loading…
Reference in New Issue
Block a user