net/ice/base: init metainit table for parser
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:05 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:57 +0000 (15:17 +0200)
commit2f7a1864cc19a3f72c4d63d981551c8c830fccbf
tree2ed0885a450e7e375cc1404d2ce77d9411078ba7
parentb3e73a812f98b7e8bf18fe2bb545f8c1046ffda2
net/ice/base: init metainit table for parser

Parse DDP section ICE_SID_RXPARSER_METADATA_INIT into an array of
struct ice_metainit_item.

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