X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Ftxgbe%2Ftxgbe_ipsec.h;h=995e29eafa87e1ca398a7c652e9ca37799dd5358;hb=1c9e61b3a45321b3cae742e8769b10c06c0324f0;hp=9b88defbf84ba6d2c9ca02252829f90662580dd3;hpb=87d8a2a4a884900ed0f5bc6669c72cdd074f5231;p=dpdk.git diff --git a/drivers/net/txgbe/txgbe_ipsec.h b/drivers/net/txgbe/txgbe_ipsec.h index 9b88defbf8..995e29eafa 100644 --- a/drivers/net/txgbe/txgbe_ipsec.h +++ b/drivers/net/txgbe/txgbe_ipsec.h @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2015-2020 + * Copyright(c) 2015-2020 Beijing WangXun Technology Co., Ltd. + * Copyright(c) 2010-2017 Intel Corporation */ #ifndef TXGBE_IPSEC_H_ @@ -89,4 +90,9 @@ struct txgbe_ipsec { struct txgbe_crypto_tx_sa_table tx_sa_tbl[IPSEC_MAX_SA_COUNT]; }; +int txgbe_crypto_enable_ipsec(struct rte_eth_dev *dev); +int txgbe_crypto_add_ingress_sa_from_flow(const void *sess, + const void *ip_spec, + uint8_t is_ipv6); + #endif /*TXGBE_IPSEC_H_*/