ethdev: change input parameters for Rx queue count
[dpdk.git] / drivers / net / txgbe / txgbe_ipsec.h
index 58e1855..995e29e 100644 (file)
@@ -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_
@@ -90,5 +91,8 @@ struct txgbe_ipsec {
 };
 
 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_*/