aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ulp.c
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 /net/ipv4/tcp_ulp.c
parentc443b5accedaef8e1d6faf7a1bb921670a90a3d0 (diff)
downloadlinux-9f82fca9422eab3877ab2b697ccc5eef44c63b54.tar.gz
linux-9f82fca9422eab3877ab2b697ccc5eef44c63b54.tar.bz2
linux-9f82fca9422eab3877ab2b697ccc5eef44c63b54.zip
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 'net/ipv4/tcp_ulp.c')
0 files changed, 0 insertions, 0 deletions