Page MenuHomeFreeBSD

mxge: Setup mbuf flowid before calling tcp_lro_rx().
ClosedPublic

Authored by sepherosa_gmail.com on May 11 2016, 8:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 8, 5:00 AM
Unknown Object (File)
Sep 12 2025, 2:22 AM
Unknown Object (File)
Sep 11 2025, 12:59 AM
Unknown Object (File)
Sep 10 2025, 6:14 PM
Unknown Object (File)
Sep 8 2025, 12:01 AM
Unknown Object (File)
Sep 4 2025, 1:33 PM
Unknown Object (File)
Sep 3 2025, 1:14 PM
Unknown Object (File)
Sep 3 2025, 1:12 PM
Subscribers
None

Diff Detail

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

Event Timeline

sepherosa_gmail.com retitled this revision from to mxge: Setup mbuf flowid before calling tcp_lro_rx()..
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
gallatin edited edge metadata.

Note that the hardware is only semi-RSS capable, which is why it is using an opaque flowid derived from the queue id.

By default, a "cheap" hash is done in the NIC, rather than a toeplitz hash, and the hash result is not passed to the driver. The NIC can perform a toeplitz hash, but that cuts packet rate by about 40%.

This revision is now accepted and ready to land.May 11 2016, 2:26 PM

Note that the hardware is only semi-RSS capable, which is why it is using an opaque flowid derived from the queue id.

By default, a "cheap" hash is done in the NIC, rather than a toeplitz hash, and the hash result is not passed to the driver. The NIC can perform a toeplitz hash, but that cuts packet rate by about 40%.

Yeah, I have tested the RSS from NIC as you had told me several years ago, even the bulk data rate is reduced by ~12%, IIRC :P

This revision was automatically updated to reflect the committed changes.