From patchwork Wed Apr 27 06:01:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 110294 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BCCE3A050F; Wed, 27 Apr 2022 08:01:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD55840E78; Wed, 27 Apr 2022 08:01:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5D47940691 for ; Wed, 27 Apr 2022 08:01:57 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23QLZoXS029548 for ; Tue, 26 Apr 2022 23:01:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=yuM/m+E2sW9r1J+/kUDHhgfvKFx6hs4TR2JDcB4E4Ic=; b=crZ2CoS0DXBXST+KJvygoI9Xmi3IshzQQ4skjCFHMdyO9iN2ctQhFtNpZg8hhByGjWu2 VBGyuOBW9flZ2ZnM+rVaOzMEGUIPSftJfqaM3PmFRP8nvooMZo45eQXmiXTlqspABCTM 5STq5DXOzS/AVOlknW7ZBt/ubtOIDdo88L6/FLHEX1h5jWbAbN5VwP3qhOS5G8+fP1D2 kbo9e5C/jQ2QdJa8maR2Z/A4oLkDT1Z3Od5WTWl+SZuKqq77S3TtifO2HT80345q/8xk FUEOlsDfSWxnxKCkuFUNbkCNU38VCefnTXJ94RPXMCOpGZWvAWEaYNf+Lxbf5383CMid JQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3fprsqsfhp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 26 Apr 2022 23:01:56 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 26 Apr 2022 23:01:55 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 26 Apr 2022 23:01:55 -0700 Received: from HY-LT1002.marvell.com (unknown [10.193.69.7]) by maili.marvell.com (Postfix) with ESMTP id 680A95B6921; Tue, 26 Apr 2022 23:01:52 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Jerin Jacob CC: Anoob Joseph , Archana Muniganti , Tejasree Kondoj , Subject: [PATCH] security: fix comments Date: Wed, 27 Apr 2022 11:31:45 +0530 Message-ID: <1651039306-149-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: H0_C1ZR48NzKHoF2Wh-9vxEEW21mmOq8 X-Proofpoint-GUID: H0_C1ZR48NzKHoF2Wh-9vxEEW21mmOq8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-27_02,2022-04-26_02,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Fix comments to reflect the field. Fixes: ad7515a39f2a ("security: add SA lifetime configuration") Cc: anoobj@marvell.com Reported-by: Thomas Monjalon Signed-off-by: Anoob Joseph Reviewed-by: Morten Brørup --- 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 */ }; /**