net/ice/base: add parser runtime skeleton
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:13 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:57 +0000 (15:17 +0200)
commitc84f8aa2100c75f60827e53379c2ff4b98b13de1
tree9c0c800711dd147aa7d7e78c7592ae8502a32c82
parent0cbacf60dce73870725d3326068f98e4175eda1f
net/ice/base: add parser runtime skeleton

Add parser runtime data struct ice_parser_rt.

Add below APIs for parser runtime preparation:
ice_parser_rt_reset
ice_parser_rt_pkt_buf_set

Add below API skeleton for parser runtime execution:
ice_parser_rt_execute

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