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
F151078230: D10430.diff
Sun, Apr 5, 8:19 PM
Unknown Object (File)
Thu, Mar 26, 2:03 AM
Unknown Object (File)
Tue, Mar 10, 1:57 PM
Unknown Object (File)
Tue, Mar 10, 8:06 AM
Unknown Object (File)
Mar 7 2026, 12:06 PM
Unknown Object (File)
Mar 7 2026, 6:23 AM
Unknown Object (File)
Mar 4 2026, 5:34 AM
Unknown Object (File)
Feb 17 2026, 4:09 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