Page MenuHomeFreeBSD

lio: use newly exposed RSS hash key API rather than ad-hoc hashing
ClosedPublic

Authored by gallatin on Oct 14 2025, 7:47 PM.
Tags
None
Referenced Files
F139355992: D53101.diff
Thu, Dec 11, 4:12 AM
Unknown Object (File)
Sun, Dec 7, 8:50 AM
Unknown Object (File)
Sat, Dec 6, 2:19 PM
Unknown Object (File)
Sun, Nov 16, 7:36 AM
Unknown Object (File)
Wed, Nov 12, 5:25 AM
Unknown Object (File)
Nov 5 2025, 8:25 AM
Unknown Object (File)
Oct 26 2025, 4:19 PM
Unknown Object (File)
Oct 25 2025, 6:22 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I'm not getting this change. The kernel build option RSS is not enabled by default. Is this change want to enable a variant RSS when RSS is not enabled in the kernel ?

sys/dev/liquidio/lio_rss.c
79

The function rss_gethashconfig() appears to be only available when the build option RSS is present.

I'm not getting this change. The kernel build option RSS is not enabled by default. Is this change want to enable a variant RSS when RSS is not enabled in the kernel ?

Ahh, I missed D53089 .

I'm not getting this change. The kernel build option RSS is not enabled by default. Is this change want to enable a variant RSS when RSS is not enabled in the kernel ?

Ahh, I missed D53089 .

Yes, I'm sorry about that. That one exposes RSS hashing. The goal is to get to https://reviews.freebsd.org/D53104, which uses the fact that all nics are using the same algo and key to do software hashing of outgoing connections when they are born in order to get consistent hashing such that a connection always uses the same egress nic and queue. This is the first time I've used the git-arc feature to review a series of changes, and I'm afraid I did not do a great job of composing this review

I spent some time to learn the FreeBSD's RSS design. I do not have hardware to test, but the change looks good to me.

This revision is now accepted and ready to land.Oct 24 2025, 4:03 PM