Fix comments to reflect the field.

Fixes: ad7515a39f2a ("security: add SA lifetime configuration")
Cc: ano...@marvell.com

Reported-by: Thomas Monjalon <tho...@monjalon.net>
Signed-off-by: Anoob Joseph <ano...@marvell.com>
---
 lib/security/rte_security.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h
index 2a43cbe..675db94 100644
--- a/lib/security/rte_security.h
+++ b/lib/security/rte_security.h
@@ -311,9 +311,9 @@ struct rte_security_ipsec_lifetime {
        uint64_t bytes_soft_limit;
        /**< Soft expiry limit in bytes */
        uint64_t packets_hard_limit;
-       /**< Soft expiry limit in number of packets */
+       /**< Hard expiry limit in number of packets */
        uint64_t bytes_hard_limit;
-       /**< Soft expiry limit in bytes */
+       /**< Hard expiry limit in bytes */
 };
 
 /**
-- 
2.7.4

Reply via email to