aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-reduce
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-09-18 10:11:36 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-09-18 23:13:43 +0000
commit9d48fd452ed20746e468dd986fa6b54ca20350a6 (patch)
tree80742fded7d7cfc3eec82791f394144bed29cba2 /tools/llvm-reduce
parent8c25b70120e8838135cb356c94d350105f45ff7c (diff)
qlnx: Report the programmed RSS key and hash typesHEADmain
Implement SIOCGIFRSSKEY and SIOCGIFRSSHASH for qlnxe and qlnxev using the cached vport RSS configuration. This lets hn(4) synchronize its synthetic RSS configuration with the VF without assuming that every driver programs all of the common RSS hash selections. Serialize the queries with the device lock and reject them while the interface is not running. Convert the firmware request's key words back into network byte order and translate the six representable IPv4/IPv6 TCP/UDP hash selections. Report no hashing when RSS is disabled, including the driver's single-queue configuration. For VFs, require a successful RSS extension response from every hardware function. The overall vport-update reply can succeed while its RSS TLV is missing or rejected; recording that result prevents reporting an unconfirmed configuration. Invalidate the confirmation before each RSS request. Leave existing vport-update return semantics, queue setup, and the receive datapath unchanged. Reviewed by: gallatin MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59810
Diffstat (limited to 'tools/llvm-reduce')
0 files changed, 0 insertions, 0 deletions