OpenCloudOS-Kernel/drivers/net/ethernet/qlogic/qede
Jakub Kicinski 6b86758973 xdp: don't make drivers report attachment mode
prog_attached of struct netdev_bpf should have been superseded
by simply setting prog_id long time ago, but we kept it around
to allow offloading drivers to communicate attachment mode (drv
vs hw).  Subsequently drivers were also allowed to report back
attachment flags (prog_flags), and since nowadays only programs
attached will XDP_FLAGS_HW_MODE can get offloaded, we can tell
the attachment mode from the flags driver reports.  Remove
prog_attached member.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-13 20:26:35 +02:00
..
Makefile qed*: qede_roce.[ch] -> qede_rdma.[ch] 2017-06-20 12:34:07 -04:00
qede.h qed*: Add link change count value to ethtool statistics display. 2018-05-31 14:02:13 -04:00
qede_dcbnl.c qede: Fix sparse warnings 2017-05-24 15:17:19 -04:00
qede_ethtool.c qed*: Add link change count value to ethtool statistics display. 2018-05-31 14:02:13 -04:00
qede_filter.c xdp: don't make drivers report attachment mode 2018-07-13 20:26:35 +02:00
qede_fp.c qede: Add build_skb() support. 2018-05-17 17:06:53 -04:00
qede_main.c qed*: Add link change count value to ethtool statistics display. 2018-05-31 14:02:13 -04:00
qede_ptp.c qede: Adverstise software timestamp caps when PHC is not available. 2018-07-02 20:41:30 +09:00
qede_ptp.h qede: Add support for PTP resource locking. 2017-04-27 16:51:34 -04:00
qede_rdma.c qede: Fix gfp flags sent to rdma event node allocation 2018-05-10 15:22:35 -04:00