numam-dpdk/drivers/net
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
..
af_packet build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
af_xdp net/af_xdp: fix pointer storage size 2020-11-13 19:43:26 +01:00
ark net/ark: switch Rx timestamp to dynamic mbuf field 2020-11-03 16:21:15 +01:00
atlantic build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
avp build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
axgbe build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
bnx2x build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
bnxt eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
bonding drivers: add headers install helper 2020-10-22 14:16:22 +02:00
cxgbe build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
dpaa build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
dpaa2 build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
e1000 ethdev: remove legacy N-tuple filter type support 2020-11-03 23:35:05 +01:00
ena net/ena: upgrade driver version to v2.2.0 2020-11-03 23:35:06 +01:00
enetc build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
enic net/enic: fix header sizes when copying flow patterns 2020-11-03 23:35:06 +01:00
failsafe net/failsafe: replace references to slave devices 2020-10-20 13:17:08 +02:00
fm10k net/fm10k: fix vector Rx 2020-11-03 23:24:26 +01:00
hinic net/hinic/base: add message check for command channel 2020-11-13 19:43:26 +01:00
hns3 build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
i40e net/i40e: fix build for log format specifier 2020-11-13 19:43:26 +01:00
iavf net/iavf: fix RSS when VF port closed 2020-11-13 19:43:26 +01:00
ice net/ice: support flow mark ID in AVX512 2020-11-13 19:43:26 +01:00
igc ethdev: remove legacy filter API functions 2020-11-03 23:35:05 +01:00
ionic build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
ipn3ke build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
ixgbe net/ixgbe: remove redundant MAC flag check 2020-11-13 19:43:26 +01:00
kni build: replace use of old build macros 2020-10-19 22:15:44 +02:00
liquidio build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
memif net/memif: replace master/slave arguments 2020-10-20 13:17:08 +02:00
mlx4 net/mlx: remove separate ABI version for glue libraries 2020-11-03 23:35:07 +01:00
mlx5 net/mlx5: fix eCPRI item value with mask 2020-11-20 21:10:05 +01:00
mvneta build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
mvpp2 net/mvpp2: fix memory leak in error path 2020-11-03 23:24:26 +01:00
netvsc fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
nfb net/nfb: switch Rx timestamp to dynamic mbuf field 2020-11-03 16:21:15 +01:00
nfp build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
null build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx2 drivers: disable OCTEON TX2 in 32-bit build 2020-11-12 16:39:10 +01:00
pcap net/pcap: fix registration of timestamp dynamic field 2020-11-13 19:43:27 +01:00
pfe build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
qede fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
ring net/ring: fix typo in log message 2020-11-13 16:26:54 +01:00
sfc net/sfc: rely on native thread safety in flow mechanism 2020-11-20 21:10:04 +01:00
softnic build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
szedata2 build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
tap build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
thunderx net/thunderx: fix memory leak on rbdr desc ring failure 2020-11-03 23:35:06 +01:00
txgbe net/txgbe: fix build by simplifying xstats return 2020-11-13 19:43:26 +01:00
vdev_netvsc build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
vhost net/vhost: fix xstats after clearing stats 2020-11-03 23:24:26 +01:00
virtio eal: replace usage of blacklist/whitelist in enums 2020-11-16 00:11:22 +01:00
vmxnet3 net/vmxnet3: switch MSS hint to dynamic mbuf field 2020-10-31 16:13:11 +01:00
meson.build net/txgbe: add build and doc infrastructure 2020-11-03 23:24:26 +01:00