Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c110 if (rbdr->is_xdp) { in nicvf_alloc_page()
142 if (rbdr->is_xdp) { in nicvf_alloc_page()
183 if (!rbdr->is_xdp && nic->rb_page && in nicvf_alloc_rcv_buffer()
202 if (rbdr->is_xdp) in nicvf_alloc_rcv_buffer()
209 if (rbdr->is_xdp && pgcache && pgcache->dma_addr) { in nicvf_alloc_rcv_buffer()
285 rbdr->is_xdp = false; in nicvf_init_rbdr()
288 rbdr->is_xdp = true; in nicvf_init_rbdr()
364 if (rbdr->is_xdp) { in nicvf_free_rbdr()
532 sq->is_xdp = true; in nicvf_init_snd_queue()
537 sq->is_xdp = false; in nicvf_init_snd_queue()
[all …]
Dnicvf_queues.h230 bool is_xdp; member
277 bool is_xdp; member
Dnicvf_main.c681 if (sq->is_xdp) { in nicvf_snd_pkt_handler()
/Linux-v5.4/samples/bpf/
Dbpf_load.c83 bool is_xdp = strncmp(event, "xdp", 3) == 0; in load_and_attach() local
109 } else if (is_xdp) { in load_and_attach()
140 if (is_xdp || is_perf_event || is_cgroup_skb || is_cgroup_sk) in load_and_attach()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c574 bool is_xdp) in nfp_net_tx_ring_init() argument
580 tx_ring->is_xdp = is_xdp; in nfp_net_tx_ring_init()
1276 while (!tx_ring->is_xdp && tx_ring->rd_p != tx_ring->wr_p) { in nfp_net_tx_ring_reset()
1316 if (tx_ring->is_xdp || !dp->netdev) in nfp_net_tx_ring_reset()
2394 if (!tx_ring->is_xdp && dp->netdev) in nfp_net_tx_ring_alloc()
2411 if (!tx_ring->is_xdp) in nfp_net_tx_ring_bufs_free()
2430 if (!tx_ring->is_xdp) in nfp_net_tx_ring_bufs_alloc()
Dnfp_net.h228 bool is_xdp; member
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede.h395 u8 is_xdp; member
Dqede_main.c1462 if (txq->is_xdp) in qede_free_mem_txq()
1480 if (txq->is_xdp) { in qede_alloc_mem_txq()
1664 fp->xdp_tx->is_xdp = 1; in qede_init_fp()
1995 if (txq->is_xdp) in qede_start_txq()
Dqede_ethtool.c226 if (txq->is_xdp) in qede_get_strings_stats_txq()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e.h1050 int i40e_control_wait_tx_q(int seid, struct i40e_pf *pf, int pf_q, bool is_xdp,
Di40e_main.c4370 bool is_xdp, bool enable) in i40e_control_wait_tx_q() argument
4381 seid, (is_xdp ? "XDP " : ""), pf_q, in i40e_control_wait_tx_q()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3011 bool is_xdp = priv->channels.params.xdp_prog; in mlx5e_open_locked() local
3015 if (is_xdp) in mlx5e_open_locked()
3031 if (is_xdp) in mlx5e_open_locked()