freebsd-dev/sys/dev/cxgbe/tom
John Baldwin ae0b1ccbab Use sbused() instead of sbspace() to avoid signed issues.
Inserting a full mbuf with an external cluster into the socket buffer
resulted in sbspace() returning -MLEN.  However, since sb_hiwat is
unsigned, the -MLEN value was converted to unsigned in comparisons.  As a
result, the socket buffer was never autosized.  Note that sb_lowat is signed
to permit direct comparisons with sbspace(), but sb_hiwat is unsigned.
Follow suit with what tcp_output() does and compare the value of sbused()
with sb_hiwat instead.

Approved by:	re (gjb)
Sponsored by:	Chelsio Communications
2016-06-15 21:08:51 +00:00
..
t4_connect.c cxgbe: catch up with the latest hardware-related definitions. 2016-02-19 00:29:16 +00:00
t4_cpl_io.c Use sbused() instead of sbspace() to avoid signed issues. 2016-06-15 21:08:51 +00:00
t4_ddp.c Move backend-specific fields of kaiocb into a union. 2016-06-15 20:56:45 +00:00
t4_listen.c Set the correct vnet in TOE event handlers. 2016-05-06 23:49:10 +00:00
t4_tom_l2t.c Implement interface link header precomputation API. 2015-12-31 05:03:27 +00:00
t4_tom_l2t.h
t4_tom.c Use DDP to implement zerocopy TCP receive with aio_read(). 2016-05-07 00:33:35 +00:00
t4_tom.h Use DDP to implement zerocopy TCP receive with aio_read(). 2016-05-07 00:33:35 +00:00