PERFORCE change 133054 for review
Steve Wise
swise at FreeBSD.org
Fri Jan 11 09:24:07 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133054
Change 133054 by swise at swise:vic10:iwarp on 2008/01/11 17:23:36
Always call low level send function via cxgb3_ofld_send()
Affected files ...
.. //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_iwch_cm.c#9 edit
Differences ...
==== //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_iwch_cm.c#9 (text+ko) ====
@@ -190,7 +190,7 @@
req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_TID_RELEASE, hwtid));
m_set_priority(m, CPL_PRIORITY_SETUP);
- tdev->send(tdev, m);
+ cxgb_ofld_send(tdev, m);
return;
}
@@ -213,7 +213,7 @@
req->val = cpu_to_be64(1 << S_TCB_RX_QUIESCE);
m_set_priority(m, CPL_PRIORITY_DATA);
- ep->com.tdev->send(ep->com.tdev, m);
+ cxgb_ofld_send(ep->com.tdev, m);
return 0;
}
@@ -236,7 +236,7 @@
req->val = 0;
m_set_priority(m, CPL_PRIORITY_DATA);
- ep->com.tdev->send(ep->com.tdev, m);
+ cxgb_ofld_send(ep->com.tdev, m);
return 0;
}
@@ -847,7 +847,7 @@
OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_RX_DATA_ACK, ep->hwtid));
req->credit_dack = htonl(V_RX_CREDITS(credits) | V_RX_FORCE_ACK(1));
m_set_priority(m, CPL_PRIORITY_ACK);
- ep->com.tdev->send(ep->com.tdev, m);
+ cxgb_ofld_send(ep->com.tdev, m);
return credits;
}
@@ -1225,7 +1225,7 @@
req->opt1 = htonl(V_CONN_POLICY(CPL_CONN_POLICY_ASK));
m_set_priority(m, 1);
- ep->com.tdev->send(ep->com.tdev, m);
+ cxgb_ofld_send(ep->com.tdev, m);
return 0;
}
@@ -1259,7 +1259,7 @@
req->cpu_idx = 0;
OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid));
m_set_priority(m, 1);
- ep->com.tdev->send(ep->com.tdev, m);
+ cxgb_ofld_send(ep->com.tdev, m);
return 0;
}
@@ -1335,7 +1335,7 @@
rpl->opt0l_status = htonl(CPL_PASS_OPEN_REJECT);
rpl->opt2 = 0;
rpl->rsvd = rpl->opt2;
- tdev->send(tdev, m);
+ cxgb_ofld_send(tdev, m);
}
}
@@ -1630,7 +1630,7 @@
rpl->wr.wr_lo = htonl(V_WR_TID(ep->hwtid));
OPCODE_TID(rpl) = htonl(MK_OPCODE_TID(CPL_ABORT_RPL, ep->hwtid));
rpl->cmd = CPL_ABORT_NO_RST;
- ep->com.tdev->send(ep->com.tdev, rpl_mbuf);
+ cxgb_ofld_send(ep->com.tdev, rpl_mbuf);
if (state != ABORTING) {
state_set(&ep->com, DEAD);
release_ep_resources(ep);
More information about the p4-projects
mailing list