numam-dpdk/drivers/net/i40e
Mesut Ali Ergin 3d6666ac97 net/i40e: fix double flow mark action check
This commit fixes an issue with the error checking in flow
MARK action. Previously, (ANY + MARK) would fail, as the
(mark_spec == 0) condition would cause an early error return,
however really it is (mark_spec != 0) that should cause the
early error return.

Flipping the binary comparison corrects the behaviour, and
(ANY + MARK) now succeeds, while (MARK + MARK) fails.

Fixes: 0bbcfc706a ("net/i40e: support MARK and RSS flow action")

Suggested-by: Harry van Haaren <harry.van.haaren@intel.com>
Signed-off-by: Mesut Ali Ergin <mesut.a.ergin@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-07-26 13:24:32 +02:00
..
base build: warn on unused parameter 2019-06-04 00:22:50 +02:00
i40e_ethdev_vf.c net/i40e: fix RSS hash update for X722 VF 2019-07-24 17:16:29 +02:00
i40e_ethdev.c net/i40e: fix SFP X722 with FW4.16 2019-07-23 14:31:35 +02:00
i40e_ethdev.h net/i40e: allow VF to configure pctype mapping 2019-06-20 23:42:04 +02:00
i40e_fdir.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
i40e_flow.c net/i40e: fix double flow mark action check 2019-07-26 13:24:32 +02:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c net/i40e: replace license text with SPDX tag 2019-07-24 21:01:11 +02:00
i40e_rxtx_vec_avx2.c net/i40e: replace license text with SPDX tag 2019-07-24 21:01:11 +02:00
i40e_rxtx_vec_common.h net/i40e: fix Rx instability with vector mode 2018-11-05 16:50:14 +01:00
i40e_rxtx_vec_neon.c net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c net/i40e: fix RSS hash update for X722 VF 2019-07-24 17:16:29 +02:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
Makefile net/i40e: eliminate weak symbols in data path 2019-06-13 23:54:29 +09:00
meson.build net/i40e: eliminate weak symbols in data path 2019-06-13 23:54:29 +09:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: fix MAC removal check 2019-07-23 14:31:35 +02:00
rte_pmd_i40e.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00