Page MenuHomeFreeBSD

vnic nicvf: Program the common RSS key in network word order
ClosedPublic

Authored by kbowling on Sep 18 2026, 9:00 AM.
Tags
None
Referenced Files
F176395518: D59806.id187180.diff
Sun, Oct 18, 1:17 PM
Unknown Object (File)
Sun, Oct 18, 1:01 AM
Unknown Object (File)
Sat, Oct 17, 1:45 PM
Unknown Object (File)
Thu, Oct 15, 7:25 AM
Unknown Object (File)
Thu, Oct 15, 3:40 AM
Unknown Object (File)
Fri, Oct 9, 1:29 PM
Unknown Object (File)
Tue, Oct 6, 12:37 PM
Unknown Object (File)
Mon, Oct 5, 7:49 PM
Subscribers

Details

Summary
Replace the repeated hardware-reset key with rss_getkey().  Decode each
eight-byte chunk with be64dec() into the register-word array before
programming the five key registers.

This matches the key serialization in DPDK's nicvf_rss_set_key(), added
by commit 7694fab264ac666d62a4cae04f2979991ce64259
("net/thunderx/base: add RSS and RETA configuration").  A raw copy into
the word array on little-endian hosts would reverse bytes within each
register relative to that convention.

Preserve the CPI-algorithm gate, enabled hash fields, and round-robin
indirection table.

Diff Detail

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