Reference

dev_change_xdp_fd(9)

set or clear a bpf program for a device rx path

NAME

dev_change_xdp_fd - set or clear a bpf program for a device rx path

SYNOPSIS

int dev_change_xdp_fd(struct net_device * dev, int fd);

ARGUMENTS

dev

device

fd

new program fd or negative value to clear

DESCRIPTION

Set or clear a bpf program for a device

COPYRIGHT