diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-10-31 23:27:44 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-10-31 23:28:22 +0000 |
| commit | a0f2994b312e5a78ffce7dd7bc4521455edbc2cd (patch) | |
| tree | 9c50fff953345adaf4460358650a1921d5b3f318 /sys/dts/powerpc/p5020ds.dts | |
| parent | af58db5d6efd1770c53b22e7301a039db7e04213 (diff) | |
Implement the iflib RSS key and hash query methods for register-based
and PF-managed RSS. Cache the programmed key and HENA selections so hn
can synchronize its synthetic RSS configuration with the VF without
reading hardware or issuing mailbox requests from the query path.
For PF-managed RSS, publish the snapshot only after successful replies
to both CONFIG_RSS_KEY and SET_RSS_HENA. Failed sends, rejected requests,
and missing replies leave it unavailable. Protect the snapshot with
vc_mtx and invalidate it at init, stop, mailbox loss, and reset
notification. Gate queries with the existing running, reset, and mailbox
state.
Report the first 40 key bytes used by standard IPv4/IPv6 tuples, or the
shorter key length supplied by the PF. Preserve register byte order and
report the merged HENA on the direct-programming path. Translate the six
representable IPv4/IPv6 TCP/UDP selections without treating fragment
PCTYPEs as IPv6 extension-header selections. The single-queue register
path reports RSS_FUNC_NONE.
Leave RSS policy and queue distribution unchanged. Queries return ENXIO
until the current configuration is confirmed, without waiting for a PF
reply themselves.
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59808
Diffstat (limited to 'sys/dts/powerpc/p5020ds.dts')
0 files changed, 0 insertions, 0 deletions
