linux/drivers/net/ethernet/mellanox/mlx5/core
Vlad Buslov 4d1e07d83c net/mlx5e: Fix matchall police parameters validation
Referenced commit prepared the code for upcoming extension that allows mlx5
to offload police action attached to flower classifier. However, with
regard to existing matchall classifier offload validation should be
reversed as FLOW_ACTION_CONTINUE is the only supported notexceed police
action type. Fix the problem by allowing FLOW_ACTION_CONTINUE for police
action and extend scan_tc_matchall_fdb_actions() to only allow such actions
with matchall classifier.

Fixes: d97b4b105c ("flow_offload: reject offload for all drivers with invalid police parameters")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Acked-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-06 12:44:39 +01:00
..
diag net/mlx5: Rearm the FW tracer after each tracer event 2022-06-08 11:39:44 -07:00
en Revert "net/mlx5e: Allow relaxed ordering over VFs" 2022-06-08 11:39:43 -07:00
en_accel net/mlx5e: Use XFRM state direction instead of flags 2022-05-06 08:35:09 +02:00
esw Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2022-02-28 16:23:58 -08:00
fpga net/mlx5_fpga: Drop INNOVA IPsec support 2022-04-09 08:23:47 +03:00
ipoib net/mlx5e: IPoIB, Improve ethtool rxnfc callback structure in IPoIB 2022-05-17 23:41:47 -07:00
lag mlx5-fixes-2022-06-08 2022-06-09 22:05:37 -07:00
lib net/mlx5: devcom only supports 2 ports 2022-05-09 22:54:00 -07:00
sf
steering net/mlx5: Don't use already freed action pointer 2022-05-31 13:40:53 -07:00
Kconfig net/mlx5: Reduce kconfig complexity while building crypto support 2022-04-09 08:25:07 +03:00
Makefile net/mlx5: Support multiport eswitch mode 2022-05-17 23:41:51 -07:00
alloc.c net/mlx5: Inline db alloc API function 2022-05-17 23:41:45 -07:00
cmd.c net/mlx5: Add last command failure syndrome to debugfs 2022-05-17 23:41:44 -07:00
cq.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
debugfs.c net/mlx5: Add last command failure syndrome to debugfs 2022-05-17 23:41:44 -07:00
dev.c net/mlx5: E-Switch, pair only capable devices 2022-06-08 11:39:43 -07:00
devlink.c net/mlx5: Increase FW pre-init timeout for health recovery 2022-05-09 22:54:00 -07:00
devlink.h
ecpf.c
ecpf.h
en.h net/mlx5e: Disable softirq in mlx5e_activate_rq to avoid race condition 2022-05-31 13:40:54 -07:00
en_arfs.c
en_common.c Revert "net/mlx5e: Allow relaxed ordering over VFs" 2022-06-08 11:39:43 -07:00
en_dcbnl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-05 13:03:18 -07:00
en_dim.c
en_ethtool.c net/mlx5e: Fix wrong return value on ioctl EEPROM query failure 2022-02-23 16:08:15 -08:00
en_fs.c net/mlx5e: Allocate virtually contiguous memory for VLANs list 2022-05-17 23:41:46 -07:00
en_fs_ethtool.c
en_main.c net/mlx5e: Update netdev features after changing XDP state 2022-05-31 13:40:55 -07:00
en_rep.c net/mlx5e: CT: Fix cleanup of CT before cleanup of TC ct rules 2022-06-08 11:39:43 -07:00
en_rep.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-24 17:54:25 -08:00
en_rx.c net: allow gro_max_size to exceed 65536 2022-05-16 10:18:56 +01:00
en_selftest.c net/mlx5e: Add missing increment of count 2022-02-23 16:08:19 -08:00
en_stats.c net/mlx5: Remove FPGA ipsec specific statistics 2022-04-09 08:23:47 +03:00
en_stats.h net/mlx5: Remove FPGA ipsec specific statistics 2022-04-09 08:23:47 +03:00
en_tc.c net/mlx5e: Fix matchall police parameters validation 2022-07-06 12:44:39 +01:00
en_tc.h net/mlx5: Support multiport eswitch mode 2022-05-17 23:41:51 -07:00
en_tx.c mlx5: support BIG TCP packets 2022-05-16 10:18:56 +01:00
en_txrx.c
eq.c net/mlx5: Node-aware allocation for the EQs 2022-03-10 23:38:22 -08:00
eswitch.c net/mlx5: Lag, use lag lock 2022-05-09 22:54:01 -07:00
eswitch.h net/mlx5: Lag, use lag lock 2022-05-09 22:54:01 -07:00
eswitch_offloads.c net/mlx5: E-Switch, pair only capable devices 2022-06-08 11:39:43 -07:00
eswitch_offloads_termtbl.c
events.c
fs_cmd.c net/mlx5: fs, add unused destination type 2022-05-02 21:21:14 -07:00
fs_cmd.h
fs_core.c net/mlx5: fs, fail conflicting actions 2022-06-08 11:39:44 -07:00
fs_core.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-19 11:23:59 -07:00
fs_counters.c
fs_ft_pool.c
fs_ft_pool.h
fw.c net/mlx5: Reliably return TLS device capabilities 2022-04-06 10:00:36 +03:00
fw_reset.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-19 11:23:59 -07:00
fw_reset.h net/mlx5: Drain fw_reset when removing device 2022-05-17 23:03:57 -07:00
health.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
irq_affinity.c
main.c net/mlx5: fix typo in comment 2022-05-22 20:44:29 +01:00
mcg.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
mlx5_core.h net/mlx5: E-Switch, pair only capable devices 2022-06-08 11:39:43 -07:00
mlx5_irq.h
mr.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
pagealloc.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
pci_irq.c net/mlx5: Allocate virtually contiguous memory in pci_irq.c 2022-05-17 23:41:45 -07:00
pci_irq.h
pd.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
port.c net/mlx5e: Remove overzealous validations in netlink EEPROM query 2022-03-10 23:38:25 -08:00
qos.c
qos.h
rdma.c
rdma.h
rl.c net/mlx5: Delete useless module.h include 2022-03-10 23:38:21 -08:00
sriov.c net/mlx5: Expose mlx5_sriov_blocking_notifier_register / unregister APIs 2022-05-10 15:45:28 +03:00
transobj.c
uar.c net/mlx5: Node-aware allocation for UAR 2022-03-10 23:38:22 -08:00
vport.c net/mlx5: Allocate virtually contiguous memory in vport.c 2022-05-17 23:41:45 -07:00
wq.c
wq.h