]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp/lro: Allow drivers to set the TCP ACK/data segment aggregation limit
authorsephe <sephe@FreeBSD.org>
Thu, 18 Feb 2016 04:58:34 +0000 (04:58 +0000)
committersephe <sephe@FreeBSD.org>
Thu, 18 Feb 2016 04:58:34 +0000 (04:58 +0000)
commit0354d2461f2d88b8f8617c27f322183d0730994d
treee659170447ca72f088cfb16af50b2dd2bc7aa3f5
parent96a8fa52de80131ac7fe64ec6fa9a3f7a10585ea
tcp/lro: Allow drivers to set the TCP ACK/data segment aggregation limit

ACK aggregation limit is append count based, while the TCP data segment
aggregation limit is length based.  Unless the network driver sets these
two limits, it's an NO-OP.

Reviewed by: adrian, gallatin (previous version), hselasky (previous version)
Approved by: adrian (mentor)
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5185
sys/netinet/tcp_lro.c
sys/netinet/tcp_lro.h
sys/sys/param.h