aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/linkmode.h
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2023-11-13 16:16:20 -0800
committerDavid S. Miller <davem@davemloft.net>2023-11-15 10:07:40 +0000
commitba098017791eb8a0782b373d4cee0d82eb2f660e (patch)
tree3bd4c3a9b18fe3f7d43c792c010b6cad9e4bba82 /include/linux/linkmode.h
parentbnxt_en: Add macros related to TC and TX rings (diff)
downloadlinux-rng-ba098017791eb8a0782b373d4cee0d82eb2f660e.tar.xz
linux-rng-ba098017791eb8a0782b373d4cee0d82eb2f660e.zip
bnxt_en: Use existing MSIX vectors for all mqprio TX rings
We can now fully support sharing the same MSIX for all mqprio TX rings belonging to the same ethtool channel with the new infrastructure: 1. Allocate the proper entries for cp_ring_arr in struct bnxt_cp_ring_info to support the additional TX rings. 2. Populate the tx_ring array in struct bnxt_napi for all TX rings sharing the same NAPI. 3. bnxt_num_tx_to_cp() returns the proper NQ/completion rings to support the TX rings in the input. 4. Adjust bnxt_get_num_ring_stats() for the reduced number of ring counters with the new scheme. Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/linkmode.h')
0 files changed, 0 insertions, 0 deletions