]> git.ipfire.org Git - thirdparty/linux.git/commit
cn10k-ipsec: Init hardware for outbound ipsec crypto offload
authorBharat Bhushan <bbhushan2@marvell.com>
Wed, 4 Dec 2024 05:56:55 +0000 (11:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2024 12:15:31 +0000 (12:15 +0000)
commitfe079ab05d49ffaac1e333cb38cf2c2792f7cf40
tree1f1707bcd0214c134baa2e2443d435f263795ad2
parenta7ef63dbd5886c396aa1130d5ce42634ab1db91e
cn10k-ipsec: Init hardware for outbound ipsec crypto offload

One crypto hardware logical function (cpt-lf) per netdev is
required for outbound ipsec crypto offload. Allocate, attach
and initialize one crypto hardware function when enabling
outbound ipsec crypto offload. Crypto hardware function will
be detached and freed on disabling outbound ipsec crypto
offload.

Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/ethernet/marvell/octeontx2/nic/Makefile
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c