diff options
author | Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> | 2024-02-20 15:03:12 -0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-22 15:31:23 +0100 |
commit | 8c81ae6c54c1273a1e08b10e1e2aa5bc321af10c (patch) | |
tree | 4f2fc51d19739222f1763a2a7e1ab326b1265685 /drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.h | |
parent | 9294299867734ceff303012cd6ec98990fbd78e6 (diff) |
bnxt_en: Add bnxt_get_total_vnics() to calculate number of VNICs
Refactor the code by adding a new function to calculate the number of
required VNICs. This is used in multiple places when reserving or
checking resources.
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.h')
0 files changed, 0 insertions, 0 deletions