From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0082.outbound.protection.outlook.com [104.47.40.82]) by dpdk.org (Postfix) with ESMTP id 485CC1B735 for ; Tue, 3 Apr 2018 16:28:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BcKAKpXIdyehyl7aachW5ezME2Pqzo1oeQHgtSeiR5Q=; b=RCR5trOHStS7BjUwUxwfPCE1m8tYu/QuKP+0fszveZxkip/8/Qr7vzyJ+Sml+BE2zJM4JJcMzBzf5ytLICq+iqzT1Jb1FOE++vDgLdnX0vqhELi5PoKYxWxxFV4Vi+qBQTRisnRbKQzkKFiVwTP3V1rA8n681LtzcJnixi9vydE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from hyd1ajoseph-dt.caveonetworks.com (115.113.156.2) by CO2PR0701MB1064.namprd07.prod.outlook.com (2a01:111:e400:1439::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Tue, 3 Apr 2018 14:27:56 +0000 To: Akhil Goyal , Declan Doherty , Radu Nicolau Cc: Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org, Thomas Monjalon , Wenzhuo Lu , Jingjing Wu References: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> <1521630685-5179-1-git-send-email-anoob.joseph@caviumnetworks.com> <1521630685-5179-3-git-send-email-anoob.joseph@caviumnetworks.com> From: Anoob Joseph Message-ID: Date: Tue, 3 Apr 2018 19:57:42 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1521630685-5179-3-git-send-email-anoob.joseph@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR0101CA0022.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::32) To CO2PR0701MB1064.namprd07.prod.outlook.com (2a01:111:e400:1439::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88fd8400-49bb-41e0-34db-08d5996f19aa X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CO2PR0701MB1064; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1064; 3:hkr+0GNkDlVvSCvRVdOUgYZz4PGfPv+lmYc5YlZYZxa9YiNAFwPOhGAkw9SDJIa5JI1bdDZhAUwbPa8FBtamlmD8tEZcWhYVgdcbYJfnFnLPSSIgR8WnJDRjLZEGK0hxviVM0ULpWetlax0QibXVyUsCiBBvCIZwTYnwv+Oo0ovh3r38oWlBCwn4Cvg3rE1mmFIJzwvSqnYKPKob7j0R/DkAM0/+6fSiRHOAluLiI8RyLyv7HFnOxY6XZVMTmLhy; 25:aHYcgukkPUOHxFMHzaeYPALOXHqzCYEMYSyOOApa+23yQDTp0Pn0ReSZlFcQMuEw2l/tvJ9UVqulPbZqaqn0Tc1/Tpj8uFGR/Xh2QbFcwZYhmk0WYj1W8qP+2VkJrLaxDbxRij/zQRfYMo30FgKH7CuOnb1xupGiUuYjUxh+DTyEl8sqLL9hhNQCEmsGSPRKE898Ko3B+H1Ijm1Fz4dgKa8v/qsEvCq8njojfQEN4CxiZmi3JPHMebREMjAq/LoYsIofyRTVTeHpsZSIGf7wnBR+QxC7Fy0k3l4J9orXiD6BpN7mrvaHO7l+VLKmmp4bJwca1pqmJwotVC9Rv6rZxQ==; 31:cPMGpYrJ1fU7AhghSCM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5vN9BBoOHVE4PtMmTM0vlMr1TKPA232AGIMlqvCJRSw4Bk4JC9ZaV2vNclsUMpGUE59e4YzUg/gYOVPXEEXvGGyl+ubG8gyd3iOD3yyTXzk3IoerTOigm1iDb+YhUSzPUZOc/T+FlcnGvvLEsRC X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231221)(944501327)(52105095)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:CO2PR0701MB1064; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0701MB1064; X-Forefront-PRVS: 0631F0BC3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(366004)(376002)(346002)(39860400002)(199004)(189003)(3846002)(106356001)(15650500001)(76176011)(52116002)(7736002)(59450400001)(97736004)(105586002)(42882007)(2486003)(53416004)(8676002)(31686004)(2616005)(50466002)(25786009)(486005)(476003)(4326008)(446003)(305945005)(67846002)(65826007)(69596002)(11346002)(64126003)(81166006)(486005)(23676004)(5660300001)(52146003)(6116002)(8656006)(230700001)(956004)(81156014)(8936002)(6666003)(55236004)(31696002)(16526019)(53936002)(229853002)(72206003)(6246003)(6512007)(186003)(2906002)(386003)(54906003)(110136005)(478600001)(36756003)(53546011)(26005)(316002)(66066001)(6506007)(6486002)(65956001)(47776003)(58126008)(65806001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0701MB1064; H:hyd1ajoseph-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDTzJQUjA3MDFNQjEwNjQ7MjM6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9Oqu6wbzBy7XPMBtWX5NvFIK7RqPtV9AUATr7FBo955Go9ZNkomV6JJDQez5J0WIF7pBdbVH2QUORgbIDROdk/naAm+R5Fo21ZbhxVvWO43RRtpfOkUsqyeKQCsOFJlpdg==; 5:CjDVR1kjNgsKlLsp07H/BmpA3DwR/WjZZOc1n/QPh5QUK5eUrKbSY+hI6m7HqHm4HeSzF60LkMn1yDQSqRJ3GhxyNnDR6J4jhAEoyWcXy0sTPsSkTj3aojAVT9oOoDEuFcXqPaGT+DNctMe85ZSTd5Gf3CwypTMjfg6qabxfJcM=; 24:ZCxfNgZ6F4bS5dTwFyCHKjeaWHShZ+ZdztAwLQJ+tyfsASlTULlGGyO15YBBelvrX4zBy/qLb/3Ljv7Paks5Me96JaWi4sQjvW3zOC9c9xs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1064; 7:WuTnbc6Aw2UlHbA2zIcuOzyt1CFIpxgJnoc/QFeUxvELmNdqYG0/SAn1zac3yb+m7NJWleKCJumR9OK1CFTe+SBtb9Ys6dLT/CqOdXPKuWbR3I5KUfq+Hya6powQV+VLde4FvK0tDniaah2yh/4bUSjJzp5SpOqSFl6T9j5+lXVh0Hhg/0GsMe8zH7JNo2AuKrumlP45yhyVlhdDPD/RtUH9y51fwoW/2U1j0QOS0gbEQ0IVBsHUdYL6uCNCAWcF X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2018 14:27:56.4579 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88fd8400-49bb-41e0-34db-08d5996f19aa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0701MB1064 Subject: Re: [dpdk-dev] [PATCH v3 2/5] lib/security: add ESN soft limit in conf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2018 14:28:02 -0000 Adding maintainers of testpmd & lib/ethdev Thanks, Anoob On 21/03/18 16:41, Anoob Joseph wrote: > Adding ESN soft limit in conf. This will be used in case of protocol > offload. Per SA, application could specify for what ESN the security > device need to notify application. In case of eth dev(inline protocol), > rte_eth_event framework would raise an IPsec event. > > Signed-off-by: Anoob Joseph > --- > v3: > * Minor change in the comment > > v2: > * No change > > lib/librte_security/rte_security.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h > index c75c121..ca1e912 100644 > --- a/lib/librte_security/rte_security.h > +++ b/lib/librte_security/rte_security.h > @@ -222,6 +222,8 @@ struct rte_security_ipsec_xform { > /**< IPsec SA Mode - transport/tunnel */ > struct rte_security_ipsec_tunnel_param tunnel; > /**< Tunnel parameters, NULL for transport mode */ > + uint64_t esn_soft_limit; > + /**< ESN for which the overflow event need to be raised */ > }; > > /**