net/ice/base: add parser create and destroy skeleton
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:03 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 12:43:23 +0000 (14:43 +0200)
commit7fe2d98070e05f3f11a57b972f7377b14da513c9
tree9e72360f232462aa11791ce83befe68789e10947
parentb644b5cf4cbd0fdebb3914cb07f5c420fdc72236
net/ice/base: add parser create and destroy skeleton

Add new parser module which can parse a packet in binary
and generate information like ptype, protocol/offset pairs
and flags which can be used to feed the FXP profile creation
directly.

The patch added skeleton of the parser instance create and
destroy APIs:
ice_parser_create
ice_parser_destroy

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_flex_pipe.c
drivers/net/ice/base/ice_flex_pipe.h
drivers/net/ice/base/ice_parser.c [new file with mode: 0644]
drivers/net/ice/base/ice_parser.h [new file with mode: 0644]
drivers/net/ice/base/meson.build