Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
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()
Dstmmac.h324 unsigned long *af_xdp_zc_qps; member
Dstmmac_main.c213 test_bit(queue, priv->af_xdp_zc_qps)) { in __stmmac_disable_all_queues()
262 test_bit(queue, priv->af_xdp_zc_qps)) { in stmmac_enable_all_queues()
1630 if (!stmmac_xdp_is_enabled(priv) || !test_bit(queue, priv->af_xdp_zc_qps)) in stmmac_get_xsk_pool()
2049 test_bit(queue, priv->af_xdp_zc_qps)) in __alloc_dma_rx_desc_resources()
7097 priv->af_xdp_zc_qps = bitmap_zalloc(MTL_MAX_TX_QUEUES, GFP_KERNEL); in stmmac_dvr_probe()
7098 if (!priv->af_xdp_zc_qps) in stmmac_dvr_probe()
7335 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_probe()
7379 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_remove()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
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()
Dixgbe.h676 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */ member
Dixgbe_main.c6375 adapter->af_xdp_zc_qps = bitmap_zalloc(IXGBE_MAX_XDP_QS, GFP_KERNEL); in ixgbe_sw_init()
6376 if (!adapter->af_xdp_zc_qps) in ixgbe_sw_init()
11235 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_probe()
11325 bitmap_free(adapter->af_xdp_zc_qps); in ixgbe_remove()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
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()
Di40e.h965 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
Di40e_main.c3414 if (!xdp_on || !test_bit(qid, ring->vsi->af_xdp_zc_qps)) in i40e_xsk_pool()
11486 vsi->af_xdp_zc_qps = bitmap_zalloc(pf->num_lan_qps, GFP_KERNEL); in i40e_vsi_mem_alloc()
11487 if (!vsi->af_xdp_zc_qps) in i40e_vsi_mem_alloc()
11509 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_mem_alloc()
11590 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_clear()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice.h391 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
695 if (!ice_is_xdp_ena_vsi(vsi) || !test_bit(qid, vsi->af_xdp_zc_qps)) in ice_xsk_pool()
723 if (!ice_is_xdp_ena_vsi(vsi) || !test_bit(qid, vsi->af_xdp_zc_qps)) { in ice_tx_xsk_pool()
Dice_xsk.c284 clear_bit(qid, vsi->af_xdp_zc_qps); in ice_xsk_pool_disable()
315 set_bit(qid, vsi->af_xdp_zc_qps); in ice_xsk_pool_enable()
366 for_each_set_bit(q, vsi->af_xdp_zc_qps, in ice_realloc_zc_buf()
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()
323 if (vsi->af_xdp_zc_qps) { in ice_vsi_free_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()