/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_xdp.c | 43 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 D | stmmac.h | 333 unsigned long *af_xdp_zc_qps; member
|
H A D | stmmac_main.c | 214 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 D | ixgbe_xsk.c | 17 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 D | ixgbe.h | 640 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */ member
|
H A D | ixgbe_main.c | 6331 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 D | ixgbe_xsk.c | 17 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 D | ixgbe.h | 683 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */ member
|
H A D | ixgbe_main.c | 6365 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 D | i40e_xsk.c | 67 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 D | i40e.h | 851 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
|
H A D | i40e_main.c | 3274 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 D | i40e_xsk.c | 68 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 D | i40e.h | 965 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled qps */ member
|
H A D | i40e_main.c | 3436 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 D | ice.h | 410 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 D | ice_xsk.c | 292 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 D | ice_lib.c | 120 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()
|