DPDK, with patches for FM10K Silicom cards with inline Switch Manager https://gist.github.com/WeebDataHoarder/634f2ef54e0c6cde0ccdb00e377e5e28
Go to file
Bing Zhao 8c8c3b01c3 vdpa/mlx5: fix compatibility with MISC4
When dynamic flex parser feature is introduced, the support for misc
parameters 4 of flow table entry (FTE) match set is needed. The
structure of "mlx5_ifc_fte_match_param_bits" is extended with
"mlx5_ifc_fte_match_set_misc4_bits" at the end of it. The total size
of the FTE match set will be changed into 384 bytes from 320 bytes.
Low level user space driver (rdma-core) will have the validation of
the length of FTE match set. In the old release that no MISC4
supported in the rdma-core, and this will break the backward
compatibility, even if the MISC4 is not used in most cases, like
in vDPA driver.
In order not to break the compatibility old rdma-core, the length
adjustment needs to be done. In mlx5 vDPA driver, the lengths of
the matcher and value are both set to 320 without MISC4. There is
no need to change the structure definition, all bytes of the MISC4
will be discarded if it is not needed. Since the MISC4 parameter
is aligned with a 64B boundary and so does the whole FTE match set
parameter, there is no need to take any padding and alignment into
consideration when calculating the size.

Fixes: daa38a8924 ("net/mlx5: add flow translation of eCPRI header")

Signed-off-by: Bing Zhao <bingz@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-07-30 00:41:23 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app app/regex: add RegEx test application 2020-07-30 09:13:52 +02:00
buildtools build: remove special versioning for non stable libraries 2020-07-07 12:48:25 +02:00
config crypto/armv8: remove debug option 2020-07-28 22:09:22 +02:00
devtools add python2 deprecation notice 2020-07-21 22:58:18 +02:00
doc net/bnxt: cleanup VF representor device operations 2020-07-30 00:41:23 +02:00
drivers vdpa/mlx5: fix compatibility with MISC4 2020-07-30 00:41:23 +02:00
examples examples/l3fwd-power: fix updating lcore parameters 2020-07-22 01:44:37 +02:00
kernel kernel/linux: error out on module build failure 2020-05-19 17:59:57 +02:00
lib eal: introduce macro for bit definition 2020-07-28 18:27:46 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
mk regex/mlx5: support probing 2020-07-21 19:04:05 +02:00
usertools add python2 deprecation notice 2020-07-21 22:58:18 +02:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml version: 20.08-rc0 2020-05-27 11:37:33 +02:00
ABI_VERSION version: 20.08-rc0 2020-05-27 11:37:33 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS app/regex: add RegEx test application 2020-07-30 09:13:52 +02:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson.build build: check AVX512 rather than binutils version 2020-07-05 21:32:40 +02:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.08-rc2 2020-07-22 02:45:20 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org