linux_dsm_epyc7002/drivers/net/ethernet/marvell/octeontx2/af
Vamsi Attunuru 23705adb2c octeontx2-af: Enable mkex profile
The following set of NPC registers allow the driver to configure NPC
to generate different key value schemes to compare against packet
payload in MCAM search.

NPC_AF_INTF(0..1)_KEX_CFG
NPC_AF_KEX_LDATA(0..1)_FLAGS_CFG
NPC_AF_INTF(0..1)_LID(0..7)_LT(0..15)_LD(0..1)_CFG
NPC_AF_INTF(0..1)_LDATA(0..1)_FLAGS(0..15)_CFG

Currently, the AF driver populates these registers to
configure the default values to address the most common
use cases such as key generation for channel number + DMAC.

The secure firmware stores different configuration
value of these registers to enable different NPC use case
along with the name for the lookup.

Patch loads profile binary from secure firmware over
the exiting CGX mailbox interface and apply the profile.

AF driver shall fall back to the default configuration
in case of any errors.

The AF consumer driver can know the selected profile
on response to NPC_GET_KEX_CFG mailbox by introducing
mkex_pfl_name in the struct npc_get_kex_cfg_rsp.

Signed-off-by: Vamsi Attunuru <vamsi.attunuru@marvell.com>
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-03 16:23:08 -08:00
..
cgx_fw_if.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
cgx.c octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
cgx.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
common.h octeontx2-af: Restrict TL1 allocation and configuration 2018-12-03 16:23:07 -08:00
Makefile
mbox.c
mbox.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
npc_profile.h
npc.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu_cgx.c
rvu_nix.c octeontx2-af: Add LSO format configuration mailbox 2018-12-03 16:23:08 -08:00
rvu_npa.c
rvu_npc.c octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu_reg.c
rvu_reg.h
rvu_struct.h
rvu.c octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00