[Differential] [Request, 68 lines] D1761: Extend LRO support to accumulate more than 65535 bytes
hselasky (Hans Petter Selasky)
phabric-noreply at FreeBSD.org
Tue Feb 3 06:45:04 UTC 2015
hselasky created this revision.
hselasky added reviewers: rmacklem, rrs, glebius, gnn, emaste, bz, adrian, rwatson.
hselasky added a subscriber: freebsd-net.
hselasky set the repository for this revision to rS (FreeBSD src repository).
REVISION SUMMARY
To be able to handle the transfer rates of tomorrow we need to reduce the number of requests to the TCP stack when receiving packets. Currently there is a limitation of 65535 bytes, which is due to using the 16-bit IP payload field in the IP header when accumulating LRO data. Instead use the 32-bit m_len field of the mbuf when doing data accumulation.
TEST PLAN
Test IPv4
Test IPv6
Test ip_fragment()
REVISION DETAIL
https://reviews.freebsd.org/D1761
AFFECTED FILES
sys/netinet/ip_input.c
sys/netinet/ip_output.c
sys/netinet/tcp_input.c
sys/netinet/tcp_lro.c
sys/sys/mbuf.h
To: hselasky, rmacklem, rrs, glebius, gnn, emaste, bz, adrian, rwatson
Cc: freebsd-net
More information about the freebsd-net
mailing list