summaryrefslogtreecommitdiff
path: root/scripts/kconfig/expr.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-19 13:11:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-19 13:11:56 +0100
commitc0ad257a19f48c56f2ee2e623a78251aa8664279 (patch)
tree0d31ccc8a3ab9668003900be15aa00b92300d32c /scripts/kconfig/expr.c
parent9ad64a53fd0f2dbb54c80280c1bc573e71666e27 (diff)
downloadkernel-linux-4.20.y.tar.gz
Linux 4.20.17linux-4.20.y
Diffstat (limited to 'scripts/kconfig/expr.c')
0 files changed, 0 insertions, 0 deletions
com> Signed-off-by: David S. Miller <davem@davemloft.net> 2024-12-09cn10k-ipsec: Allow ipsec crypto offload for skb with SABharat Bhushan Allow to use hardware offload for outbound ipsec crypto mode if security association (SA) is set for a given skb. Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> 2024-12-09cn10k-ipsec: Process outbound ipsec crypto offloadBharat Bhushan 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> 2024-12-09cn10k-ipsec: Add SA add/del support for outb ipsec crypto offloadBharat Bhushan This patch adds support to add and delete Security Association (SA) xfrm ops. Hardware maintains SA context in memory allocated by software. Each SA context is 128 byte aligned and size of each context is multiple of 128-byte. Add support for transport and tunnel ipsec mode, ESP protocol, aead aes-gcm-icv16, key size 128/192/256-bits with 32bit salt. Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> 2024-12-09cn10k-ipsec: Init hardware for outbound ipsec crypto offloadBharat Bhushan 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>