Home
last modified time | relevance | path

Searched hist:d1fdd9138682e0f272beee0cb08b6328c5478b26 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dif_link.hdiff d1fdd9138682e0f272beee0cb08b6328c5478b26 Tue Jul 19 14:16:49 CDT 2016 Brenden Blanco <bblanco@plumgrid.com> rtnl: add option for setting link xdp prog

Sets the bpf program represented by fd as an early filter in the rx path
of the netdev. The fd must have been created as BPF_PROG_TYPE_XDP.
Providing a negative value as fd clears the program. Getting the fd back
via rtnl is not possible, therefore reading of this value merely
provides a bool whether the program is valid on the link or not.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/core/
H A Drtnetlink.cdiff d1fdd9138682e0f272beee0cb08b6328c5478b26 Tue Jul 19 14:16:49 CDT 2016 Brenden Blanco <bblanco@plumgrid.com> rtnl: add option for setting link xdp prog

Sets the bpf program represented by fd as an early filter in the rx path
of the netdev. The fd must have been created as BPF_PROG_TYPE_XDP.
Providing a negative value as fd clears the program. Getting the fd back
via rtnl is not possible, therefore reading of this value merely
provides a bool whether the program is valid on the link or not.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>