summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-21 18:25:06 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-23 13:42:19 -0400
commit9f82fca9422eab3877ab2b697ccc5eef44c63b54 (patch)
tree72464a7e9cf0d1e722a2cceb41ae9f37e1337beb /tools/perf/scripts/python
parentc443b5accedaef8e1d6faf7a1bb921670a90a3d0 (diff)
nfp: bpf: don't offload XDP programs in DRV_MODE
DRV_MODE means that user space wants the program to be run in the driver. Do not try to offload. Only offload if no mode flags have been specified. Remember what the mode is when the program is installed and refuse new setup requests if there is already a program loaded in a different mode. This should leave it open for us to implement simultaneous loading of two programs - one in the drv path and another to the NIC later. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions