Home
last modified time | relevance | path

Searched refs:af_xdp_zc_qps (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_xdp.c43 set_bit(queue, priv->af_xdp_zc_qps); in stmmac_xdp_enable_pool()
83 clear_bit(queue, priv->af_xdp_zc_qps); in stmmac_xdp_disable_pool()
A Dstmmac.h317 unsigned long *af_xdp_zc_qps; member
A Dstmmac_main.c208 test_bit(queue, priv->af_xdp_zc_qps)) { in __stmmac_disable_all_queues()
257 test_bit(queue, priv->af_xdp_zc_qps)) { in stmmac_enable_all_queues()
1652 if (!stmmac_xdp_is_enabled(priv) || !test_bit(queue, priv->af_xdp_zc_qps)) in stmmac_get_xsk_pool()
2057 test_bit(queue, priv->af_xdp_zc_qps)) in __alloc_dma_rx_desc_resources()
6875 priv->af_xdp_zc_qps = bitmap_zalloc(MTL_MAX_TX_QUEUES, GFP_KERNEL); in stmmac_dvr_probe()
6876 if (!priv->af_xdp_zc_qps) in stmmac_dvr_probe()
7117 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_probe()
7161 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_remove()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c17 if (!xdp_on || !test_bit(qid, adapter->af_xdp_zc_qps)) in ixgbe_xsk_pool()
48 set_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_enable()
56 clear_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_enable()
80 clear_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_disable()
A Dixgbe.h636 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */ member
A Dixgbe_main.c6332 adapter->af_xdp_zc_qps = bitmap_zalloc(IXGBE_MAX_XDP_QS, GFP_KERNEL); in ixgbe_sw_init()
6333 if (!adapter->af_xdp_zc_qps) in ixgbe_sw_init()
11098 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_probe()
11188 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_remove()
/linux/drivers/net/ethernet/intel/ice/
A Dice.h390 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
691 if (!ice_is_xdp_ena_vsi(vsi) || !test_bit(qid, vsi->af_xdp_zc_qps)) in ice_xsk_pool()
711 if (!ice_is_xdp_ena_vsi(vsi) || !test_bit(qid, vsi->af_xdp_zc_qps)) in ice_tx_xsk_pool()
A Dice_xsk.c281 clear_bit(qid, vsi->af_xdp_zc_qps); in ice_xsk_pool_disable()
312 set_bit(qid, vsi->af_xdp_zc_qps); in ice_xsk_pool_enable()
A Dice_lib.c119 vsi->af_xdp_zc_qps = bitmap_zalloc(max_t(int, vsi->alloc_txq, vsi->alloc_rxq), GFP_KERNEL); in ice_vsi_alloc_arrays()
120 if (!vsi->af_xdp_zc_qps) in ice_vsi_alloc_arrays()
325 if (vsi->af_xdp_zc_qps) { in ice_vsi_free_arrays()
326 bitmap_free(vsi->af_xdp_zc_qps); in ice_vsi_free_arrays()
327 vsi->af_xdp_zc_qps = NULL; in ice_vsi_free_arrays()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_xsk.c63 set_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_enable()
112 clear_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_disable()
A Di40e.h944 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
A Di40e_main.c3184 if (!xdp_on || !test_bit(qid, ring->vsi->af_xdp_zc_qps)) in i40e_xsk_pool()
11221 vsi->af_xdp_zc_qps = bitmap_zalloc(pf->num_lan_qps, GFP_KERNEL); in i40e_vsi_mem_alloc()
11222 if (!vsi->af_xdp_zc_qps) in i40e_vsi_mem_alloc()
11244 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_mem_alloc()
11325 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_clear()

Completed in 79 milliseconds