mbox series

[net-next,0/5] Use all the resources configured on VIC

Message ID 20241022041707.27402-1-neescoba@cisco.com (mailing list archive)
Headers show
Series Use all the resources configured on VIC | expand

Message

Nelson Escobar (neescoba) Oct. 22, 2024, 4:17 a.m. UTC
Allow users to configure and use more than 8 rx queues and 8 tx queues
on the Cisco VIC.

This series changes the maximum number of tx and rx queues supported
from 8 to the hardware limit of 256, and allocates memory based on the
number of resources configured on the VIC.

Nelson Escobar (5):
  enic: Create enic_wq/rq structures to bundle per wq/rq data
  enic: Make MSI-X I/O interrupts come after the other required ones
  enic: Save resource counts we read from HW
  enic: Allocate arrays in enic struct based on VIC config
  enic: Adjust used MSI-X wq/rq/cq/interrupt resources in a more robust
    way

 drivers/net/ethernet/cisco/enic/enic.h        |  62 ++-
 .../net/ethernet/cisco/enic/enic_ethtool.c    |   8 +-
 drivers/net/ethernet/cisco/enic/enic_main.c   | 415 +++++++++++-------
 drivers/net/ethernet/cisco/enic/enic_res.c    |  33 +-
 4 files changed, 312 insertions(+), 206 deletions(-)