Page MenuHomeFreeBSD

Frames that are not considered for LRO should not be counted in LRO stats.
ClosedPublic

Authored by np on Apr 19 2017, 11:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 10:05 PM
Unknown Object (File)
Sep 13 2025, 9:19 PM
Unknown Object (File)
Sep 5 2025, 8:40 PM
Unknown Object (File)
Aug 1 2025, 9:48 PM
Unknown Object (File)
Jul 12 2025, 6:55 AM
Unknown Object (File)
Jun 29 2025, 8:29 PM
Unknown Object (File)
Jun 23 2025, 11:22 PM
Unknown Object (File)
Jun 15 2025, 1:26 AM

Details

Summary

The code will currently count any (even non-TCP) frame as queued/flushed
in the LRO stats if IFCAP_LRO is disabled or csum_flags is 0. It would
have been cleaner for tcp_lro_queue_mbuf to be able to return
TCP_LRO_CANNOT and let the caller figure out what to do. But I don't
want to touch the KPI and all the drivers so the proposed change fixes
the stats only.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable