]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: add API for parser profile initialization
authorJunfeng Guo <junfeng.guo@intel.com>
Thu, 25 Jul 2024 22:08:04 +0000 (16:08 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 13 Aug 2024 21:51:28 +0000 (14:51 -0700)
commite312b3a1e2092f612914dbc4fa5d96b4d8ff94ef
tree8fa3df9a7af5cae36a5c96c15f0309eededddfbf
parent80a480075911ec333a692e3108899a565b5f4bdc
ice: add API for parser profile initialization

Add API ice_parser_profile_init() to init a parser profile based on
a parser result and a mask buffer. The ice_parser_profile struct is used
by the low level FXP engine to create HW profile/field vectors.

Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_parser.c
drivers/net/ethernet/intel/ice/ice_parser.h