From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 211DAA0C43; Fri, 8 Oct 2021 20:51:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7D824068E; Fri, 8 Oct 2021 20:51:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 2D4CF40688 for ; Fri, 8 Oct 2021 20:51:47 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 198EFkUJ006900; Fri, 8 Oct 2021 11:51:46 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by mx0b-0016f401.pphosted.com with ESMTP id 3bja9f423t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Oct 2021 11:51:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WmFj53uqT22odZboT8jJw9SQERFIgNFauuCJPqvVLkIPJtcbCLRSMzq25duU13C6otd/+khgNrKXL/dAZYkp11WACgaBLJIiq+Bc0aWsLCr+30Ccx59bIVWw57pI2PSEpf/Z2qBApZ0veGUvH08YqXfEuqDDSmCPsqDiq6/stX6TzhdqoEkVQrc5U4crUd/fyhOMCxZSHUOJnlDLuauyd8NXRD1vwFQ9/zfgNmKKg/GPJAwCWZFoCclbG0uCuxLI5IXRCwY3yA9fsqyU2oiK1QrYS7UTBw9tg4EHTq3PvYZlzpRWtNh4+UxON2ClyeaR2FkxfXOG8ejujNXDnqitJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JygzNdPVKOzDZYZS+npiOyweugKe6Wp0gVSLrtxozzc=; b=eFRnSRCnqJQ4SBwTrTemHzzw71v3ZEIBRMiPynqHv13JTkXoYcHlXRjmClqhPpm1Y8ZnDXQx/utlZrGFp5NS6UA+O82KQSUuFqLjYGLqh9pnNHiEsqyedcStihXESQXVURaRn/ZAK/ZFU0RYPqzzh2Ohof79t4/x3QaXzQbx+n5MPQ2JPj1MdEIgpM4LduAD4zFQBFqXuXoGS6VB9/lAPRDmWxL+F+zn9w4Krs6RsHSuDJWQXRzoANX0j6eL9sx13y/b7qoc9qpLtBorTY+hlTDzYXOV1cru8zbY2Ri3Gsql6CwaxmNeMoR5kA5T90E+mZg68lmjlG3JPVXk/T8zuw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JygzNdPVKOzDZYZS+npiOyweugKe6Wp0gVSLrtxozzc=; b=hrTnF9IR/xtFCa9CghGDJBAWZNSVHVu0Xnu/0N0O3pRP/UliipsSGKCvOHSCIbl9Nbb7v+HWIxZP7ka1uSn2OvHpwnEKMOjpjPTta632sUNXWq45GxNBp3rNu2GMOG0BzpzvbLBCrs/XG6U/07qcv3YNubhFrZp8dBP4OPmPHoE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4731.namprd18.prod.outlook.com (2603:10b6:303:ea::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Fri, 8 Oct 2021 18:51:45 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%8]) with mapi id 15.20.4587.022; Fri, 8 Oct 2021 18:51:45 +0000 From: Akhil Goyal To: Radu Nicolau CC: "dev@dpdk.org" , "declan.doherty@intel.com" , "hemant.agrawal@oss.nxp.com" Thread-Topic: [EXT] [PATCH v3 5/8] examples/ipsec-secgw: add support for telemetry Thread-Index: AQHXtqu3dzqBrOfE0kmCYX50SNDFhqvJfExQ Date: Fri, 8 Oct 2021 18:51:44 +0000 Message-ID: References: <20210903112257.303961-1-radu.nicolau@intel.com> <20211001095202.3343782-1-radu.nicolau@intel.com> <20211001095202.3343782-6-radu.nicolau@intel.com> In-Reply-To: <20211001095202.3343782-6-radu.nicolau@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 37b9c159-e57c-4c8c-9383-08d98a8cacf5 x-ms-traffictypediagnostic: CO1PR18MB4731: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jiiNHSrpClFbH5BTaMwd7jmwYX/MUsUz7UddEGljoztALxCDxYJf2iWht3+YIirCKsLmdRnkAAS3m9ef+bQhSGavISUB/oeU3i8NtKWzb5AcATQD+xaV+/WM3NMmrNNU3WfqIBXP9lxL+wfBOoMmNaMB+9IldI844Q8lz37F/tqIb5ybTGhmbtpyFkvL2HHKCwCfihr4Ys/7sFVjqja6Rxo/2WhHdXdvVhRvLVEhj510VwkCAKIZAyaDir/KWvG566Eyi6pRBRYgwkyVoAQeOBsv/0fCCSPxnHDMHLemGagbDmYy1pUvRP2JHNXPXjidCzNMiWjX1982jX3Z5M1vZBTAitG0c0KX+kNNaeVOMOsc2NqehUagy8J4gO1pd1D1aqHfIIzD2S7bgQC7sB0b0C1MSLph8+k502Qr1y+ABwcZ/e3iW27qpjbP5E5HjFCly4IHBslXGVqyIWyR49fpsbpYsOf6ZmcQI+bCpmithTKWwtRwLC/qs85kJcKygaZz063qM3hDa/nif8yntaaReZERVKQVcqj+IsBb8BWSD1wvEgA900UrZPKSz7sCARzViAlN+gcQU7bGOo59MYFiycbrqBeXwqJlT5GHcfX6dYDt3Gb1jptQuVF0mRCm5QH5258t2UIyRp67bGuCcvdQO5zwBQrpwRKKp1+AMLy3nuLVjOAAf7WnhvURh4ksH1T1ckG6SlyH4+Ux6UNebubJnw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(508600001)(38070700005)(186003)(38100700002)(86362001)(2906002)(5660300002)(9686003)(6506007)(4326008)(7696005)(316002)(55236004)(122000001)(55016002)(76116006)(52536014)(6916009)(66476007)(66946007)(83380400001)(66446008)(64756008)(8936002)(54906003)(71200400001)(33656002)(26005)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6qVQkVkrlH7J4v8jPn+nio55WgTMkxLt3aWNjN/9S3BKeo0Hx9e+9SAEBIws?= =?us-ascii?Q?FBBHqJOHzetM18m6l1JK5EAKUuuqyKNvNyHqyABEZxX+KxhXi3pWYz9Gcw7X?= =?us-ascii?Q?PzIw7gm86QzCSpq8R1mTRe9e44WDk4DbNjVROaRHTPsNX5jkzbif91+LEKPI?= =?us-ascii?Q?cT4bW9H432vcKviQngO1J3zk+YcTsYJl7tMTJ8Fg+KcRUNnKckxl/Qzg6xad?= =?us-ascii?Q?uzO0DXcBFh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5Hro?= =?us-ascii?Q?ecLjBMf7j1QIWp0DGU0PRfYnBIOeQxUMpsPjSgPd4EkRLroglf/yjb75DojF?= =?us-ascii?Q?+MSbk6pBqUYjykTZMfxbVgB30qSvmwNEnb5KGZaC6n5c7RK9IsDuX9dJXPUB?= =?us-ascii?Q?2GC8j+med1VKm9NZ8LsDs0/0LY5s+aKT8zGJP8sOsKGBZ9Q4RUf1ixHCugYl?= =?us-ascii?Q?qhxmaDzUNVqs83Kp3L59+xSO?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37b9c159-e57c-4c8c-9383-08d98a8cacf5 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2021 18:51:45.0031 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 85QUJZBNoT6DDozizPWaYDPBh8mmNHHrSCQxZkwTGB/KxH+WQl8w0Xn6DUvo/zONx3L3rc983e38Kj7bhbRRcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4731 X-Proofpoint-ORIG-GUID: yeaRTHsjNs5za8wj_vc-l5WruqpaRQXL X-Proofpoint-GUID: yeaRTHsjNs5za8wj_vc-l5WruqpaRQXL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-08_06,2021-10-07_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 5/8] examples/ipsec-secgw: add support for telemetry 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 Sender: "dev" Subject can be Examples/ipsec-secgw: support telemetry > Add telemetry support to the IPsec GW sample app >=20 Elaborate patch description to show how it can be used. Probably it is worth mentioning how the output will look like. > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicolau > --- > doc/guides/sample_app_ug/ipsec_secgw.rst | 11 + > examples/ipsec-secgw/ipsec-secgw.c | 357 ++++++++++++++++++++++- > examples/ipsec-secgw/ipsec-secgw.h | 31 ++ > examples/ipsec-secgw/ipsec.h | 2 + > examples/ipsec-secgw/meson.build | 2 +- > examples/ipsec-secgw/sa.c | 15 +- > 6 files changed, 398 insertions(+), 20 deletions(-) >=20 Release notes.=20 Add a sub-bullet for each of the new features added. > diff --git a/doc/guides/sample_app_ug/ipsec_secgw.rst > b/doc/guides/sample_app_ug/ipsec_secgw.rst > index cf7a94f58a..54c96ddb58 100644 > --- a/doc/guides/sample_app_ug/ipsec_secgw.rst > +++ b/doc/guides/sample_app_ug/ipsec_secgw.rst > @@ -735,6 +735,17 @@ where each options means: >=20 > * *mss N* N is the segment size >=20 > +```` > + > + * Option to enable per SA telemetry. > + Currently only supported with IPsec library path. > + > + * Optional: Yes, it is disabled by default > + > + * Syntax: > + > + * *telemetry* > + > Example SA rules: >=20 print_usage() is not updated.