SysTutorials

Linux Manual Pages › Section 9

dev_change_xdp_fd(9)

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