dev_change_xdp_fd(9)

dev_change_xdp_fd9

Set or clear a bpf program for a device rx path

Usage

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

Arguments

dev

device

fd

new program fd or negative value to clear

Overview

Set or clear a bpf program for a device

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.