summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2022-11-07 03:16:31 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-11-08 14:39:02 +0300
commit98a4322b70e817f0663adb61b8272f7b995ed41a (patch)
treed511cfddffa103d3cb60f1f885ada9a1316d49ba /lib
parent41d2dd42bfa17035c3b0429b6b0e46305607fcc7 (diff)
downloadlinux-98a4322b70e817f0663adb61b8272f7b995ed41a.tar.xz
bnxt_en: update RSS config using difference algorithm
Hardware is unable to realize all legal firmware interface state values for hash_type. For example, if 4-tuple TCP_IPV4 hash is enabled, 4-tuple UDP_IPV4 hash must also be enabled. By providing the bits the user intended to change instead of the possible illegal intermediate states, the firmware is able to make better compromises when deciding which bits to ignore. With this new mechansim, we can now report the actual configured hash back to the user. Add bnxt_hwrm_update_rss_hash_cfg() to report the actual hash after user configuration. Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions