Searched refs:xdp_prog (Results 1 – 2 of 2) sorted by relevance
155 struct bpf_program *xdp_prog; member
1549 return ifobj->xdp_prog != test->xdp_prog_rx || ifobj->mode != test->mode; in xdp_prog_changed_rx()1556 return ifobj->xdp_prog != test->xdp_prog_tx || ifobj->mode != test->mode; in xdp_prog_changed_tx()1559 static void xsk_reattach_xdp(struct ifobject *ifobj, struct bpf_program *xdp_prog, in xsk_reattach_xdp() argument1565 err = xsk_attach_xdp_program(xdp_prog, ifobj->ifindex, mode_to_xdp_flags(mode)); in xsk_reattach_xdp()1577 ifobj->xdp_prog = xdp_prog; in xsk_reattach_xdp()