net/ice/base: init parse graph CAM table for parser
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:06 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:57 +0000 (15:17 +0200)
commitc55b1ba93f070d14eeb86e11fa03480a3b2d671d
tree02c1096df610e941bf7cfbb05ecd2e2c2e701b62
parent2f7a1864cc19a3f72c4d63d981551c8c830fccbf
net/ice/base: init parse graph CAM table for parser

Parse DDP section ICE_SID_RXPARSER_CAM or ICE_SID_RXPARSER_PG_SPILL
into an array of struct ice_pg_cam_item.
Parse DDP section ICE_SID_RXPARSER_NOMATCH_CAM or
ICE_SID_RXPARSER_NOMATCH_SPILL into an array of struct ice_pg_nm_cam_item.

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_pg_cam.c [new file with mode: 0644]
drivers/net/ice/base/ice_pg_cam.h [new file with mode: 0644]
drivers/net/ice/base/meson.build