summaryrefslogtreecommitdiff
path: root/include/linux/serdev.h
diff options
context:
space:
mode:
authorDimitri Daskalakis <dimitri.daskalakis1@gmail.com>2026-02-24 14:46:59 -0800
committerJakub Kicinski <kuba@kernel.org>2026-02-25 19:42:02 -0800
commit19c3a2a81d2bca7ca2187ea3686c4bdfd147115b (patch)
tree91fe587ca8e6df0e9d4deb6876d5ba31058a5bf5 /include/linux/serdev.h
parentb0249c0d41b306ddd79de58ca7fea543ab5e7a2e (diff)
selftests: drv-net: rss: Generate unique ports for RSS context tests
The RSS ctx tests rely on NFC rules with unique ports to steer packets to the correct ctx. This updates the test to use the new rand_ports() helper to guarantee the ports are unique. Manual testing shows that generating 32 ports with the existing method would result in at least one duplicate 4% of the time. Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com> Link: https://patch.msgid.link/20260224224659.1507082-3-dimitri.daskalakis1@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/serdev.h')
0 files changed, 0 insertions, 0 deletions