Searched refs:bpf_prog_add (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc_bpf.c | 123 bpf_prog_add(prog, nvdev->num_chn - 1); in netvsc_xdp_set()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bpf.h | 1308 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/ |
D | en_netdev.c | 2305 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/ |
D | syscall.c | 1873 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/ |
D | nicvf_main.c | 1877 bpf_prog_add(nic->xdp_prog, nic->rx_queues - 1); in nicvf_xdp_setup()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | xen-netfront.c | 1586 bpf_prog_add(prog, dev->real_num_tx_queues); in xennet_xdp_set()
|
D | virtio_net.c | 2500 bpf_prog_add(prog, vi->max_queue_pairs - 1); in virtnet_xdp_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 2223 bpf_prog_add(edev->xdp_prog, 1); in qede_start_queues()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 2232 bpf_prog_add(prog, priv->num_channels); in dpaa2_eth_setup_xdp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 4528 bpf_prog_add(prog, priv->channels.num); in mlx5e_xdp_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 3365 bpf_prog_add(bp->xdp_prog, 1); in bnxt_init_one_rx_ring()
|