Home
last modified time | relevance | path

Searched refs:xdp_txq_queues_mode (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Defx_channels.c160 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_allocate_msix_channels()
167 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_allocate_msix_channels()
174 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_SHARED; in efx_allocate_msix_channels()
184 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_DEDICATED; in efx_allocate_msix_channels()
187 if (efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_BORROWED) { in efx_allocate_msix_channels()
304 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_probe_interrupts()
326 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_probe_interrupts()
817 if (efx->xdp_txq_queues_mode == in efx_set_xdp_channels()
827 WARN_ON(efx->xdp_txq_queues_mode == EFX_XDP_TX_QUEUES_DEDICATED && in efx_set_xdp_channels()
829 WARN_ON(efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_DEDICATED && in efx_set_xdp_channels()
H A Dtx.c449 if (efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_DEDICATED) in efx_xdp_tx_buffers()
455 if (efx->xdp_txq_queues_mode == EFX_XDP_TX_QUEUES_BORROWED) { in efx_xdp_tx_buffers()
500 if (efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_DEDICATED) in efx_xdp_tx_buffers()
H A Dnet_driver.h1018 enum efx_xdp_tx_queues_mode xdp_txq_queues_mode; member
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Defx_channels.c161 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_allocate_msix_channels()
168 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_allocate_msix_channels()
175 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_SHARED; in efx_allocate_msix_channels()
185 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_DEDICATED; in efx_allocate_msix_channels()
188 if (efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_BORROWED) { in efx_allocate_msix_channels()
305 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_siena_probe_interrupts()
327 efx->xdp_txq_queues_mode = EFX_XDP_TX_QUEUES_BORROWED; in efx_siena_probe_interrupts()
823 if (efx->xdp_txq_queues_mode == in efx_set_xdp_channels()
833 WARN_ON(efx->xdp_txq_queues_mode == EFX_XDP_TX_QUEUES_DEDICATED && in efx_set_xdp_channels()
835 WARN_ON(efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_DEDICATED && in efx_set_xdp_channels()
H A Dtx.c236 if (efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_DEDICATED) in efx_siena_xdp_tx_buffers()
242 if (efx->xdp_txq_queues_mode == EFX_XDP_TX_QUEUES_BORROWED) { in efx_siena_xdp_tx_buffers()
287 if (efx->xdp_txq_queues_mode != EFX_XDP_TX_QUEUES_DEDICATED) in efx_siena_xdp_tx_buffers()
H A Dnet_driver.h983 enum efx_xdp_tx_queues_mode xdp_txq_queues_mode; member