Home
last modified time | relevance | path

Searched refs:xdp (Results 1 – 3 of 3) sorted by relevance

/net/core/
Drtnetlink.c1260 struct nlattr *xdp; in rtnl_xdp_fill() local
1265 xdp = nla_nest_start(skb, IFLA_XDP); in rtnl_xdp_fill()
1266 if (!xdp) in rtnl_xdp_fill()
1276 nla_nest_end(skb, xdp); in rtnl_xdp_fill()
1280 nla_nest_cancel(skb, xdp); in rtnl_xdp_fill()
2172 struct nlattr *xdp[IFLA_XDP_MAX + 1]; in do_setlink() local
2174 err = nla_parse_nested(xdp, IFLA_XDP_MAX, tb[IFLA_XDP], in do_setlink()
2179 if (xdp[IFLA_XDP_ATTACHED]) { in do_setlink()
2183 if (xdp[IFLA_XDP_FD]) { in do_setlink()
2185 nla_get_s32(xdp[IFLA_XDP_FD])); in do_setlink()
Dfilter.c2521 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() argument
2528 if (unlikely(xdp_size > (unsigned long)(xdp->data_end - xdp->data))) in BPF_CALL_5()
2531 return bpf_event_output(map, flags, meta, meta_size, xdp, xdp_size, in BPF_CALL_5()
Ddev.c6732 struct netdev_xdp xdp = {}; in dev_change_xdp_fd() local
6743 xdp.command = XDP_SETUP_PROG; in dev_change_xdp_fd()
6744 xdp.prog = prog; in dev_change_xdp_fd()
6745 err = ops->ndo_xdp(dev, &xdp); in dev_change_xdp_fd()