Home
last modified time | relevance | path

Searched refs:prog_id (Results 1 – 4 of 4) sorted by relevance

/net/core/
Drtnetlink.c1397 u32 *prog_id, u8 *mode, u8 tgt_mode, u32 attr, in rtnl_xdp_report_one() argument
1407 *prog_id = curr_id; in rtnl_xdp_report_one()
1423 u32 prog_id; in rtnl_xdp_fill() local
1431 prog_id = 0; in rtnl_xdp_fill()
1433 err = rtnl_xdp_report_one(skb, dev, &prog_id, &mode, XDP_ATTACHED_SKB, in rtnl_xdp_fill()
1437 err = rtnl_xdp_report_one(skb, dev, &prog_id, &mode, XDP_ATTACHED_DRV, in rtnl_xdp_fill()
1441 err = rtnl_xdp_report_one(skb, dev, &prog_id, &mode, XDP_ATTACHED_HW, in rtnl_xdp_fill()
1450 if (prog_id && mode != XDP_ATTACHED_MULTI) { in rtnl_xdp_fill()
1451 err = nla_put_u32(skb, IFLA_XDP_PROG_ID, prog_id); in rtnl_xdp_fill()
Dflow_dissector.c77 u32 prog_id, prog_cnt = 0, flags = 0; in skb_flow_dissector_prog_query() local
92 prog_id = attached->aux->id; in skb_flow_dissector_prog_query()
106 if (copy_to_user(prog_ids, &prog_id, sizeof(u32))) in skb_flow_dissector_prog_query()
Dxdp.c439 bpf->prog_id = info->prog ? info->prog->aux->id : 0; in xdp_attachment_query()
Ddev.c5143 xdp->prog_id = old ? old->aux->id : 0; in generic_xdp_install()
8425 return xdp.prog_id; in __dev_xdp_query()
8462 if (xdp.prog_id) in dev_xdp_uninstall()
8469 if (!ndo_bpf(dev, &xdp) && xdp.prog_id) in dev_xdp_uninstall()
8509 u32 prog_id; in dev_change_xdp_fd() local
8516 prog_id = __dev_xdp_query(dev, bpf_op, query); in dev_change_xdp_fd()
8517 if ((flags & XDP_FLAGS_UPDATE_IF_NOEXIST) && prog_id) { in dev_change_xdp_fd()
8534 if (prog->aux->id && prog->aux->id == prog_id) { in dev_change_xdp_fd()