[dpdk-dev] [PATCH v7 08/10] ixgbe: enable rx queue interrupts for both PF and VF
Stephen Hemminger
shemming at brocade.com
Tue May 5 20:36:11 CEST 2015
On Tue, 5 May 2015 13:39:44 +0800
Cunming Liang <cunming.liang at intel.com> wrote:
>
> + /* set max interrupt vfio request */
> + if (pci_dev->intr_handle.vec_en) {
> + pci_dev->intr_handle.max_intr = hw->mac.max_rx_queues +
> + IXGBEVF_MAX_OTHER_INTR;
> + pci_dev->intr_handle.intr_vec =
> + rte_zmalloc("intr_vec",
> + hw->mac.max_rx_queues * sizeof(int), 0);
> +
Since MSI-X vectors are limited on many hardware platforms, this whole API
should be changed so that max_intr is based on number of rx_queues actually
used by the application. That means the setup needs to move from init to configure.
More information about the dev
mailing list