net/ice/base: add helper function to aggregate flags
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:18 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:58 +0000 (15:17 +0200)
commit70ada0c508c1aa2e9556e9ef4acca7fd740e1f1e
tree5732137195ba72020e973b1c2713c798b8354147
parent1c9e61b3a45321b3cae742e8769b10c06c0324f0
net/ice/base: add helper function to aggregate flags

Add internal helper function ice_xlt_kb_flg_get to aggregate 64 bit
packet flag into 16 bit key builder flags.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_xlt_kb.c
drivers/net/ice/base/ice_xlt_kb.h