f10b1af0f0
The Flexible Metadata #4 and #5 in the Rx Flex Descriptor are defined to extract the protocol specified fields or its offset. Its function relays on the DDP package support in hardware. Optimize to only check the hardware support when the user specifies the 'proto_xtr' devargs. And not require all the types need to be support in hardware, otherwise if new protocol extraction type is introduced, it is hard to maintain the compatibility. Just check the type support in need. And the protocol IDs are 8 bits length, so the uint8_t is the right type to be used. Also introduce the 'opcode' variable to specify the metadata extraction type: it can be protocol fields or offset report. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com> |
||
---|---|---|
.ci | ||
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
kernel | ||
lib | ||
license | ||
usertools | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
ABI_VERSION | ||
MAINTAINERS | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
README | ||
VERSION |
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