Home
last modified time | relevance | path

Searched refs:dev_rx (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
Ddevmap.c59 struct net_device *dev_rx; member
369 trace_xdp_devmap_xmit(bq->dev_rx, dev, sent, drops, err); in bq_xmit_all()
370 bq->dev_rx = NULL; in bq_xmit_all()
425 struct net_device *dev_rx) in bq_enqueue() argument
437 if (!bq->dev_rx) in bq_enqueue()
438 bq->dev_rx = dev_rx; in bq_enqueue()
447 struct net_device *dev_rx) in __xdp_enqueue() argument
463 bq_enqueue(dev, xdpf, dev_rx); in __xdp_enqueue()
496 struct net_device *dev_rx) in dev_xdp_enqueue() argument
498 return __xdp_enqueue(dev, xdp, dev_rx); in dev_xdp_enqueue()
[all …]
Dcpumap.c184 skb->protocol = eth_type_trans(skb, xdpf->dev_rx); in cpu_map_build_skb()
249 rxq.dev = xdpf->dev_rx; in cpu_map_bpf_prog_run_xdp()
268 err = xdp_do_redirect(xdpf->dev_rx, &xdp, in cpu_map_bpf_prog_run_xdp()
731 struct net_device *dev_rx) in cpu_map_enqueue() argument
740 xdpf->dev_rx = dev_rx; in cpu_map_enqueue()
/kernel/linux/linux-5.10/include/net/
Dxdp.h104 struct net_device *dev_rx; /* used by cpumap */ member
127 frame->dev_rx = NULL; in xdp_scrub_frame()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h1504 struct net_device *dev_rx);
1506 struct net_device *dev_rx);
1514 struct net_device *dev_rx);
1677 struct net_device *dev_rx) in dev_xdp_enqueue() argument
1684 struct net_device *dev_rx) in dev_map_enqueue() argument
1710 struct net_device *dev_rx) in cpu_map_enqueue() argument
/kernel/linux/linux-5.10/net/core/
Dfilter.c3935 static int __bpf_tx_xdp_map(struct net_device *dev_rx, void *fwd, in __bpf_tx_xdp_map() argument
3941 return dev_map_enqueue(fwd, xdp, dev_rx); in __bpf_tx_xdp_map()
3943 return cpu_map_enqueue(fwd, xdp, dev_rx); in __bpf_tx_xdp_map()