table of contents
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¶
June 2024 | Kernel Hackers Manual 3.10 |