1DEV_CHANGE_XDP_FD(9) Network device support DEV_CHANGE_XDP_FD(9)
23
4
NAME
6dev_change_xdp_fd - set or clear a bpf program for a device rx path
7
SYNOPSIS
9int dev_change_xdp_fd(struct net_device * dev, int fd);
10
ARGUMENTS
12dev
13device
1415
fd
16new program fd or negative value to clear
17
DESCRIPTION
19Set or clear a bpf program for a device
20
COPYRIGHT
22Kernel Hackers Manual 3.10 June 2019 DEV_CHANGE_XDP_FD(9)