numam-dpdk/drivers/net/mlx5
Bing Zhao 2451574a49 net/mlx5: fix eCPRI item value with mask
When creating a flow with eCPRI item, the mask and the value are both
needed in order to build the matching criteria.

In the current implementation, the unused value bits clear operation
was missed when filling the mask and value fields. For the value, the
bits not required were not masked with the mask provided. Indeed,
this action is not mandatory. But when creating a flow in the root
table, the kernel driver got involved and a check would prevent this
flow from being created. The same flow could be created successfully
with the userspace rdma-core on the non-root tables.

An AND operation needs to be added to clear the unused bits in the
value when building the matching criteria. Then the same flow can be
created successfully no matter with kernel driver or with rdma-core.

Fixes: daa38a8924 ("net/mlx5: add flow translation of eCPRI header")
Cc: stable@dpdk.org

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2020-11-20 21:10:05 +01:00
..
linux net/mlx5: fix sample and mirror flow action deletion 2020-11-20 21:10:05 +01:00
meson.build net/mlx5: support flow hit action for aging 2020-11-03 23:35:07 +01:00
mlx5_defs.h net/mlx5: fix switch port id when representor in bonding 2020-11-13 19:42:40 +01:00
mlx5_devx.c net/mlx5: fix Rx packet padding config via DevX 2020-11-20 21:10:05 +01:00
mlx5_devx.h net/mlx5: share Tx control code 2020-10-09 13:17:42 +02:00
mlx5_ethdev.c net/mlx5: fix switch port id when representor in bonding 2020-11-13 19:42:40 +01:00
mlx5_flow_age.c net/mlx5: fix aging queue doorbell ringing 2020-11-13 16:26:54 +01:00
mlx5_flow_dv.c net/mlx5: fix eCPRI item value with mask 2020-11-20 21:10:05 +01:00
mlx5_flow_meter.c net/mlx5: make meter action thread safe 2020-11-03 23:35:04 +01:00
mlx5_flow_verbs.c net/mlx5: fix nested flow creation 2020-11-13 23:36:14 +01:00
mlx5_flow.c net/mlx5: fix RSS queue type validation 2020-11-20 21:10:05 +01:00
mlx5_flow.h net/mlx5: fix sample and mirror flow action deletion 2020-11-20 21:10:05 +01:00
mlx5_mac.c net/mlx5: remove unused includes 2020-09-18 18:55:06 +02:00
mlx5_mr.c common/mlx5: free MR resource on device DMA unmap 2020-11-13 16:26:54 +01:00
mlx5_mr.h common/mlx5: remove inclusion of Verbs header files 2020-07-21 15:46:30 +02:00
mlx5_rss.c net/mlx5: fix RSS RETA reset on start 2020-09-18 18:55:11 +02:00
mlx5_rxmode.c common/mlx5: remove inclusion of Verbs header files 2020-07-21 15:46:30 +02:00
mlx5_rxq.c net/mlx5: fix leak on Rx queue creation failure 2020-11-14 01:36:19 +01:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix CQE decompression for Arm and PowerPC 2020-11-03 23:35:08 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: fix CQE decompression for Arm and PowerPC 2020-11-03 23:35:08 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: support flow tag and packet header miniCQEs 2020-11-03 23:35:07 +01:00
mlx5_rxtx_vec.c net/mlx5: improve vectorized MPRQ descriptors locality 2020-11-13 23:36:14 +01:00
mlx5_rxtx_vec.h net/mlx5: implement vectorized MPRQ burst 2020-11-03 23:24:25 +01:00
mlx5_rxtx.c net/mlx5: fix WQE counter assert in free completion queue 2020-11-20 21:10:05 +01:00
mlx5_rxtx.h net/mlx5: support flow tag and packet header miniCQEs 2020-11-03 23:35:07 +01:00
mlx5_stats.c net/mlx5: fix xstats reset reinitialization 2020-11-03 23:24:25 +01:00
mlx5_trigger.c net/mlx5: fix hairpin unbind 2020-11-13 23:36:14 +01:00
mlx5_txpp.c net/mlx5: use C11 atomics in packet scheduling 2020-11-03 23:35:05 +01:00
mlx5_txq.c net/mlx5: fix Tx queue completion on stop 2020-11-13 19:43:25 +01:00
mlx5_utils.c net/mlx5: fix hash list entry assert 2020-11-13 19:43:25 +01:00
mlx5_utils.h net/mlx5: remove unused hash list operations 2020-11-03 23:35:05 +01:00
mlx5_vlan.c net/mlx5: remove Rx queue object type field 2020-10-09 13:17:42 +02:00
mlx5.c net/mlx5: set representor to first PF in bonding mode 2020-11-20 21:10:05 +01:00
mlx5.h net/mlx5: set representor to first PF in bonding mode 2020-11-20 21:10:05 +01:00
rte_pmd_mlx5.h net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00
version.map net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00