Page MenuHomeFreeBSD

rss: Enable portions of RSS globally to enable symmetric hashing
AcceptedPublic

Authored by gallatin on Tue, Oct 14, 7:46 PM.
Tags
None
Referenced Files
F133566955: D53089.diff
Sun, Oct 26, 5:23 PM
F133436966: D53089.id.diff
Sat, Oct 25, 7:07 PM
F133436950: D53089.id164165.diff
Sat, Oct 25, 7:06 PM
Unknown Object (File)
Sat, Oct 25, 12:45 PM
Unknown Object (File)
Wed, Oct 22, 3:04 PM
Unknown Object (File)
Tue, Oct 21, 12:36 PM
Unknown Object (File)
Mon, Oct 20, 12:22 AM
Unknown Object (File)
Sun, Oct 19, 8:50 PM

Details

Reviewers
adrian
np
jhb
zlei
Summary

We use the fact that all NICs that support hashing are using the
same hash algorithm and hash key to enable symmetic hashing in
TCP, where a software version of the same hash is used to
establish hashes on outgoing connections.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67773
Build 64656: arc lint + arc unit

Event Timeline

Yup, most multiqueue NICs now just "do" RSS natively whether we want it or not, and the main difference here with RSS defined was whether the configured key or a random key was used, etc.

So exposing the global RSS API for the key management / configuration is fine.

(Eventually I'd like it to be a key we can program in per device and globally, and tweak it all at runtime, but that's later.)

This revision is now accepted and ready to land.Wed, Oct 22, 7:14 PM