Re: [dpdk-dev] [PATCH v3 4/7] common/mlx5: adding DevX command for flex parsers

2020-07-16 Thread Slava Ovsiienko
> -Original Message- > From: Bing Zhao > Sent: Thursday, July 16, 2020 17:24 > To: Ori Kam ; Slava Ovsiienko > > Cc: Raslan Darawsheh ; Matan Azrad > ; dev@dpdk.org; Netanel Gonen > > Subject: [PATCH v3 4/7] common/mlx5: adding DevX command for flex > parsers > > In order to use dynamic

[dpdk-dev] [PATCH v3 4/7] common/mlx5: adding DevX command for flex parsers

2020-07-16 Thread Bing Zhao
In order to use dynamic flex parser to parse protocols that is not supported natively, two steps are needed. Firstly, creating the parse graph node. There are three parts of the flex parser: node, arc and sample. Node is the whole structure of a flex parser, when creating, the length of the protoc