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)
Sat, Apr 27, 6:47 PM
Unknown Object (File)
Sat, Apr 27, 6:47 PM
Unknown Object (File)
Sat, Apr 27, 6:47 PM
Unknown Object (File)
Sat, Apr 27, 5:00 PM
Unknown Object (File)
Sun, Apr 14, 4:24 PM
Unknown Object (File)
Dec 22 2023, 9:09 PM
Unknown Object (File)
Nov 15 2023, 1:14 PM
Unknown Object (File)
Nov 6 2023, 5:43 AM
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.