freebsd-dev/sys/dev/cxgbe/tom
Navdeep Parhar ebb8639822 cxgbe/t4_tom: adjust the hardware receive window to match changes to the
receive sockbuf's high water mark.

Calculate rx credits on the spot instead of tracking sbused/sb_cc and
rx_credits in the toepcb.  The previous method worked when the high
water mark changed due to SB_AUTOSIZE but not when it was adjusted
directly (for example, by the soreserve in nfsrvd_addsock).

This fixes a connection hang while running iozone over an NFS mounted
share where nfsd's TCP sockets are being handled by t4_tom.

MFC after:	3 days
Sponsored by:	Chelsio Communications
2019-06-01 03:03:48 +00:00
..
t4_connect.c cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00
t4_cpl_io.c cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00
t4_ddp.c cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00
t4_listen.c cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00
t4_tls.c cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00
t4_tls.h Consolidate on a single set of constants for SCMD fields. 2018-11-16 19:08:52 +00:00
t4_tom_l2t.c cxgbe/tom: Put the ifnet or VLAN's PCP value in the 802.1Q tag of frames 2018-08-17 19:22:46 +00:00
t4_tom_l2t.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
t4_tom.c cxgbe/t4_tom: Do not attempt to look up entries in the TCB history if 2019-05-30 17:27:40 +00:00
t4_tom.h cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00