]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp/lro: Allow drivers to set the TCP ACK/data segment aggregation limit
authorSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 18 Feb 2016 04:58:34 +0000 (04:58 +0000)
committerSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 18 Feb 2016 04:58:34 +0000 (04:58 +0000)
commit7ae3d4bf547fbeb9dda13fb8136ad92ae909ae21
treee659170447ca72f088cfb16af50b2dd2bc7aa3f5
parent4a1ff07b39d4ddc113a10e401540ff5323875ef5
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