freebsd-skq/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
t4_tom_l2t.c
t4_tom_l2t.h
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