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)
Dec 22 2023, 11:02 PM
Unknown Object (File)
Nov 22 2023, 5:41 PM
Unknown Object (File)
Nov 11 2023, 12:26 AM
Unknown Object (File)
Nov 9 2023, 11:22 PM
Unknown Object (File)
Nov 7 2023, 11:34 PM
Unknown Object (File)
Oct 14 2023, 4:48 PM
Unknown Object (File)
Oct 9 2023, 11:25 PM
Unknown Object (File)
Oct 6 2023, 10:16 PM

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