freebsd-skq/sys/dev/cxgbe/cxgbei
np 5a334970e3 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
..
cxgbei.c cxgbe/t4_tom: adjust the hardware receive window to match changes to the 2019-06-01 03:03:48 +00:00
cxgbei.h
icl_cxgbei.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00