linux-stable/drivers/net/ethernet/netronome
Jakub Kicinski 9f82fca942 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>
2017-06-23 13:42:19 -04:00
..
nfp nfp: bpf: don't offload XDP programs in DRV_MODE 2017-06-23 13:42:19 -04:00
Kconfig nfp: add MAY_USE_DEVLINK dependency 2017-05-30 11:27:03 -04:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00