Skip to content
Commit fac83b84 authored by Harman Kalra's avatar Harman Kalra Committed by Ruiqiang Hao
Browse files

octeontx2-af: adding new lt def registers support



commit 33c1532fcb2847947c8455347984bb6d45e43288 from
git@git.assembla.com:cavium/WindRiver.linux.git

CN10k introduces following new LT DEF registers:
1. APAD (alignment padding) LT DEF registers are
enhancement to existing apad calculation algorithm
where not just ipv4 and ipv6 but also other protocols
can be matched and required alignment can be added by NIX.

2. ET LT DEF register defines layer information in NPC_RESULT_S
to identify the Ethertype location in L2 header. Used for
Ethertype overwriting in inline IPsec flow.

This patch adds required structures and some header changes. Also
strict version check (based on minor field) is imposed to highlight
version mismatch between the kernel headers and KPU profile.

Change-Id: I1a45790c4cee0dcc9a642934969bdc4ca87cd167
Signed-off-by: default avatarHarman Kalra <hkalra@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/48888


Reviewed-by: default avatarYuri Tolstov <Yuri.Tolstov@cavium.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent d1d43eb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment