]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cn10k-ipsec: Process outbound ipsec crypto offload
authorBharat Bhushan <bbhushan2@marvell.com>
Wed, 4 Dec 2024 05:56:57 +0000 (11:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2024 12:15:31 +0000 (12:15 +0000)
commit6a77a158848a8c68930df27b8840660db8531222
tree564dc6d29c3bd3f4a75d5bbbdf04c4c26865650d
parentc45211c2369734d1b03c75165988878d16867040
cn10k-ipsec: Process outbound ipsec crypto offload

Prepare and submit crypto hardware (CPT) instruction for
outbound ipsec crypto offload. The CPT instruction have
authentication offset, IV offset and encapsulation offset
in input packet. Also provide SA context pointer which have
details about algo, keys, salt etc. Crypto hardware encrypt,
authenticate and provide the ESP packet to networking hardware.

Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
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_txrx.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.h