Home
last modified time | relevance | path

Searched refs:af_xdp_zc_qps (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H 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()
H A Dstmmac.h333 unsigned long *af_xdp_zc_qps; member
H A Dstmmac_main.c214 test_bit(queue, priv->af_xdp_zc_qps)) { in __stmmac_disable_all_queues()
263 test_bit(queue, priv->af_xdp_zc_qps)) { in stmmac_enable_all_queues()
1660 if (!stmmac_xdp_is_enabled(priv) || !test_bit(queue, priv->af_xdp_zc_qps)) in stmmac_get_xsk_pool()
2079 test_bit(queue, priv->af_xdp_zc_qps)) in __alloc_dma_rx_desc_resources()
7390 priv->af_xdp_zc_qps = bitmap_zalloc(MTL_MAX_TX_QUEUES, GFP_KERNEL); in stmmac_dvr_probe()
7391 if (!priv->af_xdp_zc_qps) in stmmac_dvr_probe()
7646 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_probe()
7684 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H 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()
H A Dixgbe.h640 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */ member
H A Dixgbe_main.c6331 adapter->af_xdp_zc_qps = bitmap_zalloc(MAX_XDP_QUEUES, GFP_KERNEL); in ixgbe_sw_init()
6332 if (!adapter->af_xdp_zc_qps) in ixgbe_sw_init()
11120 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_probe()
11210 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_remove()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H 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()
H A Dixgbe.h683 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */ member
H A Dixgbe_main.c6365 adapter->af_xdp_zc_qps = bitmap_zalloc(IXGBE_MAX_XDP_QS, GFP_KERNEL); in ixgbe_sw_init()
6366 if (!adapter->af_xdp_zc_qps) in ixgbe_sw_init()
11263 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_probe()
11352 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c67 for_each_set_bit(q, vsi->af_xdp_zc_qps, vsi->alloc_queue_pairs) { in i40e_realloc_rx_bi_zc()
106 set_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_enable()
159 clear_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_disable()
H A Di40e.h851 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
H A Di40e_main.c3274 if (!xdp_on || !test_bit(qid, ring->vsi->af_xdp_zc_qps)) in i40e_xsk_pool()
10877 vsi->af_xdp_zc_qps = bitmap_zalloc(pf->num_lan_qps, GFP_KERNEL); in i40e_vsi_mem_alloc()
10878 if (!vsi->af_xdp_zc_qps) in i40e_vsi_mem_alloc()
10900 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_mem_alloc()
10981 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_clear()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c68 for_each_set_bit(q, vsi->af_xdp_zc_qps, vsi->alloc_queue_pairs) { in i40e_realloc_rx_bi_zc()
107 set_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_enable()
160 clear_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_disable()
H A Di40e.h965 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
H A Di40e_main.c3436 if (!xdp_on || !test_bit(qid, ring->vsi->af_xdp_zc_qps)) in i40e_xsk_pool()
11514 vsi->af_xdp_zc_qps = bitmap_zalloc(pf->num_lan_qps, GFP_KERNEL); in i40e_vsi_mem_alloc()
11515 if (!vsi->af_xdp_zc_qps) in i40e_vsi_mem_alloc()
11537 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_mem_alloc()
11618 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_clear()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice.h410 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
729 if (!ice_is_xdp_ena_vsi(vsi) || !test_bit(qid, vsi->af_xdp_zc_qps)) in ice_xsk_pool()
757 if (!ice_is_xdp_ena_vsi(vsi) || !test_bit(qid, vsi->af_xdp_zc_qps)) { in ice_tx_xsk_pool()
H A Dice_xsk.c292 clear_bit(qid, vsi->af_xdp_zc_qps); in ice_xsk_pool_disable()
323 set_bit(qid, vsi->af_xdp_zc_qps); in ice_xsk_pool_enable()
374 for_each_set_bit(q, vsi->af_xdp_zc_qps, in ice_realloc_zc_buf()
H A Dice_lib.c120 vsi->af_xdp_zc_qps = bitmap_zalloc(max_t(int, vsi->alloc_txq, vsi->alloc_rxq), GFP_KERNEL); in ice_vsi_alloc_arrays()
121 if (!vsi->af_xdp_zc_qps) in ice_vsi_alloc_arrays()
324 bitmap_free(vsi->af_xdp_zc_qps); in ice_vsi_free_arrays()
325 vsi->af_xdp_zc_qps = NULL; in ice_vsi_free_arrays()

Completed in 92 milliseconds