diff options
author | Vikas Gupta <vikas.gupta@broadcom.com> | 2024-11-06 11:44:34 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-11-12 11:04:04 +0300 |
commit | 53371c5c218f9fd5ec18843762a65c686040c574 (patch) | |
tree | 404200c25d3aba27e01e0963606d96f69f04da6b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6b526d17eed850352d880b93b9bf20b93006bd92 (diff) | |
download | linux-53371c5c218f9fd5ec18843762a65c686040c574.tar.xz |
bnxt_en: Add support for RoCE sriov configuration
During driver load, PF RDMA driver provisions resources
to the RDMA VFs. This logic takes into consideration of
the total number of VFs supported on the PF while
allocating resources. Firmware now advertises a capability
where NIC driver can allocate resources for RDMA VFs when
the user actually creates a VF. So this resource
distribution can be based on the number of active VFs.
This patch adds the support to check for the firmware
capability and follow the new RDMA VF resource allocation
strategy. The current logic in the RDMA driver will be
removed for the newer Firmware versions in a subsequent
patch in this series.
Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1730882676-24434-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions