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)
Jan 8 2025, 10:10 PM
Unknown Object (File)
Jan 8 2025, 12:47 PM
Unknown Object (File)
Jan 8 2025, 10:58 AM
Unknown Object (File)
Jan 5 2025, 3:25 PM
Unknown Object (File)
Sep 29 2024, 11:25 PM
Unknown Object (File)
Sep 13 2024, 7:59 PM
Unknown Object (File)
Sep 9 2024, 8:25 PM
Unknown Object (File)
Sep 8 2024, 11:35 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.