Home
last modified time | relevance | path

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

/openbmc/linux/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.h335 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()
1645 if (!stmmac_xdp_is_enabled(priv) || !test_bit(queue, priv->af_xdp_zc_qps)) in stmmac_get_xsk_pool()
2064 test_bit(queue, priv->af_xdp_zc_qps)) in __alloc_dma_rx_desc_resources()
7427 priv->af_xdp_zc_qps = bitmap_zalloc(MTL_MAX_TX_QUEUES, GFP_KERNEL); in stmmac_dvr_probe()
7428 if (!priv->af_xdp_zc_qps) in stmmac_dvr_probe()
7683 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_probe()
7721 bitmap_free(priv->af_xdp_zc_qps); in stmmac_dvr_remove()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c64 for_each_set_bit(q, vsi->af_xdp_zc_qps, vsi->alloc_queue_pairs) { in i40e_realloc_rx_bi_zc()
103 set_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_enable()
156 clear_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_disable()
H A Di40e.h939 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
H A Di40e_main.c3462 if (!xdp_on || !test_bit(qid, ring->vsi->af_xdp_zc_qps)) in i40e_xsk_pool()
11546 vsi->af_xdp_zc_qps = bitmap_zalloc(pf->num_lan_qps, GFP_KERNEL); in i40e_vsi_mem_alloc()
11547 if (!vsi->af_xdp_zc_qps) in i40e_vsi_mem_alloc()
11569 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_mem_alloc()
11650 bitmap_free(vsi->af_xdp_zc_qps); in i40e_vsi_clear()