Home
last modified time | relevance | path

Searched refs:bpf_prog_add (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_bpf.c123 bpf_prog_add(prog, nvdev->num_chn - 1); in netvsc_xdp_set()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h1308 void bpf_prog_add(struct bpf_prog *prog, int i);
1587 static inline void bpf_prog_add(struct bpf_prog *prog, int i) in bpf_prog_add() function
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2305 bpf_prog_add(xdp_prog, tmp->rx_ring_num); in mlx4_en_try_alloc_resources()
2743 bpf_prog_add(prog, priv->rx_ring_num - 1); in mlx4_xdp_set()
2766 bpf_prog_add(prog, priv->rx_ring_num - 1); in mlx4_xdp_set()
/kernel/linux/linux-5.10/kernel/bpf/
Dsyscall.c1873 void bpf_prog_add(struct bpf_prog *prog, int i) in bpf_prog_add() function
1877 EXPORT_SYMBOL_GPL(bpf_prog_add);
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c1877 bpf_prog_add(nic->xdp_prog, nic->rx_queues - 1); in nicvf_xdp_setup()
/kernel/linux/linux-5.10/drivers/net/
Dxen-netfront.c1586 bpf_prog_add(prog, dev->real_num_tx_queues); in xennet_xdp_set()
Dvirtio_net.c2500 bpf_prog_add(prog, vi->max_queue_pairs - 1); in virtnet_xdp_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2223 bpf_prog_add(edev->xdp_prog, 1); in qede_start_queues()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c2232 bpf_prog_add(prog, priv->num_channels); in dpaa2_eth_setup_xdp()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4528 bpf_prog_add(prog, priv->channels.num); in mlx5e_xdp_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3365 bpf_prog_add(bp->xdp_prog, 1); in bnxt_init_one_rx_ring()