summaryrefslogtreecommitdiff
path: root/rust/kernel/lib.rs
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2024-08-28 11:32:35 -0700
committerJakub Kicinski <kuba@kernel.org>2024-08-29 15:33:25 -0700
commite68256c8a73cafacc7976bb80359511ee0d0ab91 (patch)
treea1c000e18c67f5de7e835ae5af78bbd2440478ee /rust/kernel/lib.rs
parentf049d699aeee219ca33d08b48b7e14d7d86aebd5 (diff)
downloadlinux-e68256c8a73cafacc7976bb80359511ee0d0ab91.tar.gz
linux-e68256c8a73cafacc7976bb80359511ee0d0ab91.tar.bz2
linux-e68256c8a73cafacc7976bb80359511ee0d0ab91.zip
bnxt_en: Support dynamic MSIX
A range of MSIX vectors are allocated at initialization for the number needed for RocE and L2. During run-time, if the user increases or decreases the number of L2 rings, all the MSIX vectors have to be freed and a new range has to be allocated. This is not optimal and causes disruptions to RoCE traffic every time there is a change in L2 MSIX. If the system supports dynamic MSIX allocations, use dynamic allocation to add new L2 MSIX vectors or free unneeded L2 MSIX vectors. RoCE traffic is not affected using this scheme. Reviewed-by: Hongguang Gao <hongguang.gao@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Link: https://patch.msgid.link/20240828183235.128948-10-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/lib.rs')
0 files changed, 0 insertions, 0 deletions