summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorYury Norov (NVIDIA) <yury.norov@gmail.com>2025-12-18 04:57:57 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-03-03 19:56:05 +0300
commit1f3d49734820fdc30655b9ee4e51aede2bf86d45 (patch)
tree6d0025caad61076ba9d137faa0645df2b5a93ef8 /include/uapi
parentdc0cdb7ff3b1e1ff2faf594640724c2771a8b2c6 (diff)
downloadlinux-1f3d49734820fdc30655b9ee4e51aede2bf86d45.tar.xz
i40e: drop useless bitmap_weight() call in i40e_set_rxfh_fields()
bitmap_weight() is O(N) and useless here, because the following for_each_set_bit() returns immediately in case of empty flow_pctypes. Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions