linux/drivers/net/ethernet/mellanox/mlx5/core
Paul Blakey bcec601f30 net/mlx5: Fix mlx5_add_flow_rules call with correct num of dests
When adding ethtool steering rule with action DISCARD we wrongly
pass a NULL dest with dest_num 1 to mlx5_add_flow_rules().
What this error seems to have caused is sending VPORT 0
(MLX5_FLOW_DESTINATION_TYPE_VPORT) as the fte dest instead of no dests.
We have fte action correctly set to DROP so it might been ignored
anyways.

To reproduce use:
 # sudo ethtool --config-nfc <dev> flow-type ether \
   dst aa:bb:cc:dd:ee:ff action -1

Fixes: 74491de937 ("net/mlx5: Add multi dest support")
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2017-07-27 16:40:17 +03:00
..
accel net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
en_accel net/mlx5: IPSec, fix 64-bit division correctly 2017-07-10 19:34:00 +01:00
fpga net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
ipoib net/mlx5e: IPoIB, Modify add/remove underlay QPN flows 2017-07-27 16:40:16 +03:00
lib net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
Kconfig net/mlx5e: IPSec, Innova IPSec offload infrastructure 2017-06-27 16:36:47 +03:00
Makefile net/mlx5: Build wq.o even if MLX5_CORE_EN is not selected 2017-07-06 15:13:20 +03:00
alloc.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
cmd.c net/mlx5: Fix command bad flow on command entry allocation failure 2017-07-27 16:40:16 +03:00
cq.c IB/mlx5: Support 4k UAR for libmlx5 2017-01-09 20:25:09 +02:00
debugfs.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
dev.c {net,IB}/mlx5: Refactor page fault handling 2017-01-02 15:51:20 -05:00
en.h net/mlx5e: Add missing support for PTP_CLK_REQ_PPS request 2017-07-27 16:40:17 +03:00
en_arfs.c net/mlx5e: Use function to map aRFS into traffic type 2017-06-16 00:12:41 +03:00
en_clock.c net/mlx5e: Schedule overflow check work to mlx5e workqueue 2017-07-27 16:40:17 +03:00
en_common.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
en_dcbnl.c net/mlx5e: Initialize CEE's getpermhwaddr address buffer to 0xff 2017-07-06 15:13:20 +03:00
en_ethtool.c net/mlx5e: IPSec, Add IPSec ethtool stats 2017-06-27 16:36:48 +03:00
en_fs.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
en_fs_ethtool.c net/mlx5: Fix mlx5_add_flow_rules call with correct num of dests 2017-07-27 16:40:17 +03:00
en_main.c net/mlx5e: Add missing support for PTP_CLK_REQ_PPS request 2017-07-27 16:40:17 +03:00
en_rep.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
en_rep.h net/mlx5e: Update neighbour 'used' state using HW flow rules counters 2017-04-30 16:03:14 +03:00
en_rx.c net/mlx5e: IPSec, Add Innova IPSec offload RX data path 2017-06-27 16:36:47 +03:00
en_rx_am.c net/mlx5e: Fix wrong indications in DIM due to counter wraparound 2017-06-11 13:10:36 +03:00
en_selftest.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
en_stats.h net/mlx5e: Introduce RX Page-Reuse 2017-06-22 14:30:13 +03:00
en_tc.c net/mlx5e: Add header re-write offloading of IPv6 hop-limit 2017-06-22 14:30:13 +03:00
en_tc.h net/mlx5e: Update neighbour 'used' state using HW flow rules counters 2017-04-30 16:03:14 +03:00
en_tx.c net/mlx5e: IPSec, Add Innova IPSec offload TX data path 2017-06-27 16:36:48 +03:00
en_txrx.c net/mlx5: Make get_cqe routine not ethernet-specific 2017-06-27 16:36:47 +03:00
eq.c net/mlx5e: Add field select to MTPPS register 2017-07-27 16:40:17 +03:00
eswitch.c net/mlx5: Clean SRIOV eswitch resources upon VF creation failure 2017-07-27 16:40:16 +03:00
eswitch.h net/mlx5e: Add cache for HW modify header IDs 2017-06-08 14:12:00 +03:00
eswitch_offloads.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
fs_cmd.c net/mlx5: Update flow table commands layout 2017-06-08 14:12:00 +03:00
fs_cmd.h net/mlx5: Use underlay QPN from the root name space 2017-05-14 13:33:45 +03:00
fs_core.c net/mlx5: Avoid blank lines before/after closing/opening braces 2017-06-16 00:12:40 +03:00
fs_core.h net/mlx5: Use underlay QPN from the root name space 2017-05-14 13:33:45 +03:00
fs_counters.c net/mlx5e: Update neighbour 'used' state using HW flow rules counters 2017-04-30 16:03:14 +03:00
fw.c net/mlx5: Add mlxfw callbacks 2017-06-22 14:30:13 +03:00
health.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-03 03:42:10 -07:00
lag.c net/mlx5: Consider tx_enabled in all modes on remap 2017-07-27 16:40:16 +03:00
mad.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
main.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-03 03:42:10 -07:00
mcg.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
mlx5_core.h net/mlx5e: Add field select to MTPPS register 2017-07-27 16:40:17 +03:00
mr.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
pagealloc.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
pd.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
port.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
qp.c net/mlx5e: Move and optimize query out of buffer function 2017-06-16 00:19:02 +03:00
rl.c net/mlx5: Introduce TSAR manipulation firmware commands 2016-10-30 15:43:12 +02:00
sriov.c net/mlx5: Clean SRIOV eswitch resources upon VF creation failure 2017-07-27 16:40:16 +03:00
srq.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
transobj.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
uar.c net/mlx5: Fix UAR memory leak 2017-04-22 21:52:37 +03:00
vport.c net/mlx5: Add support for multiple RoCE enable 2017-06-27 16:36:47 +03:00
vxlan.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
vxlan.h mlx5: Fix merge errors. 2016-05-09 22:05:13 -04:00
wq.c net/mlx5: Add QP WQ support 2017-06-27 16:36:47 +03:00
wq.h net/mlx5: Add QP WQ support 2017-06-27 16:36:47 +03:00