Scroll to navigation

DEV_CHANGE_XDP_FD(9) Network device support DEV_CHANGE_XDP_FD(9)

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

January 2017 Kernel Hackers Manual 4.8.