net/ice/base: init IMEM table for parser
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:04 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:55 +0000 (15:17 +0200)
commitb3e73a812f98b7e8bf18fe2bb545f8c1046ffda2
treef4f3a85b4bd0583d07d8c1804c6df9ead44629a9
parent7fe2d98070e05f3f11a57b972f7377b14da513c9
net/ice/base: init IMEM table for parser

Parse DDP section ICE_SID_RXPARSER_IMEM into an array of
struct ice_imem_item.

The Instruction Memory (IMEM) section contains three VLIW instructions
for the ALUs, a key extraction instruction for the Parse Graph CAM, and
several other fields.

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