Files
linux-apfs/include/linux
Jakub Kicinski ce158e580a xdp: add reporting of offload mode
Extend the XDP_ATTACHED_* values to include offloaded mode.
Let drivers report whether program is installed in the driver
or the HW by changing the prog_attached field from bool to
u8 (type of the netlink attribute).

Exploit the fact that the value of XDP_ATTACHED_DRV is 1,
therefore since all drivers currently assign the mode with
double negation:
       mode = !!xdp_prog;
no drivers have to be modified.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-23 13:42:20 -04:00
..
2017-06-14 13:27:50 -06:00
2017-05-24 12:43:30 -04:00
2017-06-06 15:41:24 -04:00
2017-06-19 21:50:20 +08:00
2017-06-23 13:42:20 -04:00
2017-06-15 12:12:40 -04:00
2017-06-01 14:53:04 -04:00