1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
steering net/mlx5: Don't use already freed action pointer 2022-05-31 13:40:53 -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 net/mlx5: remove the recent devlink params 2021-10-26 10:18:32 -07:00
ecpf.c net/mlx5: Enable host PF HCA after eswitch is initialized 2020-11-26 18:45:03 -08:00
ecpf.h net/mlx5: Enable host PF HCA after eswitch is initialized 2020-11-26 18:45:03 -08:00
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 net/mlx5e: Use dynamic per-channel allocations in stats 2021-12-21 19:08:57 -08:00
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 linux/dim: Move implementation to .c files 2019-06-25 13:46:39 -07:00
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 net/mlx5e: Rename TIR lro functions to TIR packet merge functions 2021-10-26 19:30:39 -07:00
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 net/mlx5e: kTLS, Add resiliency to RX resync failures 2021-04-16 11:48:08 -07:00
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 net/mlx5: VLAN push on RX, pop on TX 2022-01-27 12:37:36 -08:00
events.c net/mlx5: Fix typo in comments 2021-08-11 11:14:30 -07:00
fs_cmd.c net/mlx5: fs, add unused destination type 2022-05-02 21:21:14 -07:00
fs_cmd.h net/mlx5: Introduce software defined steering capabilities 2022-01-27 12:37:35 -08:00
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 net/mlx5: Dynamically resize flow counters query buffer 2021-12-02 16:53:16 -08:00
fs_ft_pool.c net/mlx5: check for allocation failure in mlx5_ft_pool_init() 2021-06-03 13:10:17 -07:00
fs_ft_pool.h net/mlx5: Move chains ft pool to be used by all firmware steering 2021-05-27 11:54:38 -07:00
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 net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
Kconfig net/mlx5: Reduce kconfig complexity while building crypto support 2022-04-09 08:25:07 +03:00
main.c net/mlx5: fix typo in comment 2022-05-22 20:44:29 +01:00
Makefile net/mlx5: Support multiport eswitch mode 2022-05-17 23:41:51 -07: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 net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
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 net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
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 net/mlx5e: Support HTB offload 2021-01-22 20:41:29 -08:00
qos.h net/mlx5e: Support HTB offload 2021-01-22 20:41:29 -08:00
rdma.c net/mlx5: Consider RoCE cap before init RDMA resources 2021-06-09 17:20:04 -07:00
rdma.h net/mlx5: Eswitch, enable RoCE loopback traffic 2019-04-29 16:55:32 -07:00
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 net/mlx5e: Fix page reclaim for dead peer hairpin 2021-06-09 17:20:03 -07:00
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 net/mlx5: Use order-0 allocations for EQs 2021-03-12 13:07:46 -08:00
wq.h net/mlx5e: Add helper to get the RQ WQE counter 2020-07-02 21:05:18 -07:00