commit | ee5d032f7d032e2cea354522a46b211de84c4e8c | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jun 21 18:25:04 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 23 13:42:19 2017 -0400 |
tree | 604c77de07871b2d8d955de0b6485f2cc27adf25 | |
parent | 32d602771b624e3a2fc86d5e220e9fa7dced767a [diff] |
xdp: add HW offload mode flag for installing programs Add an installation-time flag for requesting that the program be installed only if it can be offloaded to HW. Internally new command for ndo_xdp is added, this way we avoid putting checks into drivers since they all return -EINVAL on an unknown command. 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>