aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/tom/t4_connect.c
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2016-02-19 00:29:16 +0000
committerNavdeep Parhar <np@FreeBSD.org>2016-02-19 00:29:16 +0000
commit40bf7442fa53f017e909443ba47015ee8f0dc29e (patch)
tree4428a228a5813c2ba56c5ac0a5f517f7ab00e6c2 /sys/dev/cxgbe/tom/t4_connect.c
parentbfe2514a08dc7bd67878b396101b457e2778abbd (diff)
downloadsrc-40bf7442fa53f017e909443ba47015ee8f0dc29e.tar.gz
src-40bf7442fa53f017e909443ba47015ee8f0dc29e.zip
cxgbe: catch up with the latest hardware-related definitions.
Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
Notes
Notes: svn path=/head/; revision=295778
Diffstat (limited to 'sys/dev/cxgbe/tom/t4_connect.c')
-rw-r--r--sys/dev/cxgbe/tom/t4_connect.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/cxgbe/tom/t4_connect.c b/sys/dev/cxgbe/tom/t4_connect.c
index d6855e223b8d..c386a83fea09 100644
--- a/sys/dev/cxgbe/tom/t4_connect.c
+++ b/sys/dev/cxgbe/tom/t4_connect.c
@@ -144,16 +144,6 @@ done:
return (0);
}
-static inline int
-act_open_has_tid(unsigned int status)
-{
-
- return (status != CPL_ERR_TCAM_FULL &&
- status != CPL_ERR_TCAM_PARITY &&
- status != CPL_ERR_CONN_EXIST &&
- status != CPL_ERR_ARP_MISS);
-}
-
/*
* Convert an ACT_OPEN_RPL status to an errno.
*/
@@ -257,7 +247,7 @@ calc_opt2a(struct socket *so, struct toepcb *toep)
opt2 |= F_RX_COALESCE_VALID;
else {
opt2 |= F_T5_OPT_2_VALID;
- opt2 |= F_CONG_CNTRL_VALID; /* OPT_2_ISS really, for T5 */
+ opt2 |= F_T5_ISS;
}
if (sc->tt.rx_coalesce)
opt2 |= V_RX_COALESCE(M_RX_COALESCE);