From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EA685A0353; Sat, 9 May 2020 23:51:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC44E1D64C; Sat, 9 May 2020 23:51:19 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60081.outbound.protection.outlook.com [40.107.6.81]) by dpdk.org (Postfix) with ESMTP id 590081D607 for ; Sat, 9 May 2020 23:51:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOwYGFbs6AyQfbmCDO/LQ9q70LKrDCcGl2oy7j7nu1TIsnaz3KDTx/YNs+I8/HBuzL3syro0QSro9tpp+FpXtU5fhcnlw6uBkViNiiEJNglfcjY/OnxoFOzpWKPfvpLJNc9/zogY1+MNHknLK2De8RMekBVHPq+hb0uwUhDG48jC1tk1wLwNivcgBs9tu0x6yyWPPa1vJ8tpJyaMysCqrIrQa9WIiJvX8J5l9r6w28jhwYQ66cqGzWXlc8jZ/QjYRnPHiYRXBy2e/Z9CUxD4HBpOqfNXJc/5nS5Q7DMFUxjypBoZyIulplt/xSBklgfpX7myvtWaDJ4SH7UOaqyoUg== 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-SenderADCheck; bh=F8s8dlwJfhG0ItbO5o4/OX/8KoJcL7osmhud1nP0HIY=; b=auv9uoeZPz0bx7en+DtdbfAlRW36gXictv/Y5E/gw+w2Uflsb/AyImHviRjwwYe64Zq68+1E43+pnjoPCkf7Ig0F0OdS1V/Wa8nz/GzxS380KgCtKv5tcfRcCpkwGlXvQtymI2NxwryqjrQdUJwm0FQurGp10t+XsLxND+Ff+b4HsnM1v9SfmfTfsrYbKYTmwxcZ+F/ZpIJ/NI4wzDvfkFsCRj16o3bKxNwVAKN04V9IQ8kOgmiwSgjnlaltPDQ4DIPi3XyH4gAPaBVq+AAsXv06Wqdc/m+qCdIBQkFIzr8FBc+h3wrZdIwtq0UXmWIwh8LXVJIOjQxDH62jkdyoEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F8s8dlwJfhG0ItbO5o4/OX/8KoJcL7osmhud1nP0HIY=; b=lLbGUPe2V/ewTGYCKGfOlSz2OJDkef91Oo8R3pg1577qvDNdCWgRfvTjCKuzWTLzfJFzV63s05Jena1zv7LmXJKE0swqBShPHUiwSsQcULyBCYI+l8PXSg6civxCmvCCl9c8E2RYnSx1wVuE4pI59qQ7JC3xC9cQBMpVWPKH4xo= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB3261.eurprd04.prod.outlook.com (2603:10a6:802:9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.30; Sat, 9 May 2020 21:51:17 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2979.030; Sat, 9 May 2020 21:51:17 +0000 From: Akhil Goyal To: "Ananyev, Konstantin" , Phil Yang , "dev@dpdk.org" CC: "thomas@monjalon.net" , "jerinj@marvell.com" , "Iremonger, Bernard" , "Medvedkin, Vladimir" , "Honnappa.Nagarahalli@arm.com" , "gavin.hu@arm.com" , "ruifeng.wang@arm.com" , "nd@arm.com" Thread-Topic: [PATCH v3] ipsec: optimize with c11 atomic for sa outbound sqn update Thread-Index: AQHWGfF/KqyCVAHbHkGwUHHViISHR6iIH+MAgBhD/cA= Date: Sat, 9 May 2020 21:51:17 +0000 Message-ID: References: <1587662187-28193-1-git-send-email-phil.yang@arm.com> <1587702784-31586-1-git-send-email-phil.yang@arm.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: fb83ca9d-2151-471e-7a87-08d7f4631a31 x-ms-traffictypediagnostic: VI1PR04MB3261: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 03982FDC1D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A62xUrzKp/OiCVWxLzo60loBsor1rrK1oskyhFPqJGUOYWgTpMqqv+eVER/G5ODYKNcv37zJ9sPvlwESF2zhUHpiwW0OIpkMfR0Rv0BFV+kupRKhwR5RlOWQDc/tndK5HpW3Gj/dF0jX1Hywk4VOa03BvpUBImNCJ/+CfQL+DIIviK3Y+EB7SgFpGAB61/7dDIOTJcvne5/5oHobwHcFNIEMxiAcYgv7e3bSqArRIXR0g39YtOb33u/ccqeYV4XrqIxgG7OjNT0tqIg9Gc97ooBhbPRFBj0WeQbKCNgVCRbUOpSXJk+9hFlUqEVK7aLXbActv45EwlaDVNgFoqx0vwbybNzM2ZIhEAr9VUNdcpECuqqv/IgfuQjVyhlMw2r11SXtchllJ7dnHaYKHflz/bfQliouqfT1Dv6FYOqTuQRqk2W73ScJ1Z98qf2Ih+fDJRZYUUSmHBxIxz3BPAIK7vodNrXb72Zf34CgkuaZpIodPKj+wWfhaBeN8Bht0tZTwyCUrK95n8rKlq2bus1lwg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(396003)(136003)(376002)(346002)(39860400002)(33430700001)(478600001)(186003)(66556008)(66476007)(4744005)(7696005)(15650500001)(316002)(5660300002)(71200400001)(8676002)(86362001)(8936002)(64756008)(76116006)(26005)(54906003)(33440700001)(66446008)(33656002)(66946007)(9686003)(6506007)(44832011)(52536014)(55016002)(7416002)(110136005)(4326008)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: RkcEKu9w2eSLBLcBArEiVTzcXCqVaiHt8pFWiQMEr7e8OJnKtUwSNbFRGqUOem8lwDerzL04RXj9ZOEFgTPdtn9tJEyhOfch6DElEqetImswhw0xK81ctT2uDSerXhg7EtAUOfJjY8bGy7RdavWhox6gb9t7FcZiUXKnG7Kx6uFbTn6qtnhec72dky8ityYx4s5NscyulSZZVya8eN6Wqry3zhH7MmuPVo1MVVbOhG1/gn9Oiuao0dbYPWUWNW8KRtAm1v86cRuFEfeS/GIifaekokqIZJBddKznDuj7gLSAzL+877zkETUMUAfi8BgxDK1wq3GUK7F5eFU6ycuhAhnWWNJlF73KHRtQrnU+FH9c4GTDyy7zo4TSv2lrsJc4JOHd5EVIGB8I00FNnmS4yg2NNUS9Mf4cui7BmjXQqwe9iRDTrrEQsnX76uKKtZFd24V1oEf9Xdqfg4/QiCbLXxI6U+SHcS02ZhzBcDxOBh47IzIMkZcXizwn6n6Q/v9W x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb83ca9d-2151-471e-7a87-08d7f4631a31 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2020 21:51:17.3644 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wjP7gNWhexf+ws8jBk2zdDI8afv0QCj3BYNeb6SfCq/++Yfz6N8CCne5Vy653B/U0ChpNNbB3Ou0WKTXBWK0iw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3261 Subject: Re: [dpdk-dev] [PATCH v3] ipsec: optimize with c11 atomic for sa outbound sqn update 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > > > For SA outbound packets, rte_atomic64_add_return is used to generate > > SQN atomically. Use c11 atomics with RELAXED ordering for outbound SQN > > update instead of rte_atomic ops which enforce unnecessary barriers on > > aarch64. > > > > Signed-off-by: Phil Yang > > Reviewed-by: Ruifeng Wang > > Reviewed-by: Gavin Hu > > --- >=20 > Acked-by: Konstantin Ananyev >=20 Applied to dpdk-next-crypto Thanks.