Skip to content
Commit 484303b5 authored by Kiran Kumar K's avatar Kiran Kumar K Committed by Kevin Hao
Browse files

octeontx2-af: Add support for SPI to SA index translation



commit 3f0f877da3616b7ae89470078aba4414e4afd928 from
git@git.assembla.com:cavium/WindRiver.linux.git

In case of IPsec, the inbound SPI can be random. HW supports mapping
SPI to an arbitrary SA index. SPI to SA index is done using a lookup
in NPC cam entry with key as SPI, MATCH_ID, LFID. Adding Mbox API
changes to configure the match table.

Signed-off-by: default avatarKiran Kumar K <kirankumark@marvell.com>
Change-Id: I8b36d1e0d15310e1a2a94151bd7af6a3320e215c
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/89810


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarBeniamin Sandu <beniamin.sandu@windriver.com>
parent 86fab874
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