From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 18F96A0679 for ; Tue, 2 Apr 2019 13:14:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 24F1C27D; Tue, 2 Apr 2019 13:14:18 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30075.outbound.protection.outlook.com [40.107.3.75]) by dpdk.org (Postfix) with ESMTP id D36AEA3 for ; Tue, 2 Apr 2019 13:14:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yW2+RLc8gjUo9bKVq0ZvRZ/HbIYx6SKFSQzXxNTPHTY=; b=bFyy/7oBR9Mi7DnM/myhwWKpa7qmyAIteAczY/ZZn1bo/j5le+sgZe5MFdz+ZMDawSCg7gDQrA23W8F8IVQumlHKFMrpPLhufSSO0/l7ahIQWudxVn7ZPfDirpya0DxNXdP/f+2ogs0cF8JSa/dseVd3S+WcaGRUoaJq53y6Mcg= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Tue, 2 Apr 2019 11:14:15 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::e0ae:ecad:ec5:8177]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::e0ae:ecad:ec5:8177%2]) with mapi id 15.20.1750.017; Tue, 2 Apr 2019 11:14:15 +0000 From: Honnappa Nagarahalli To: Gage Eads , "dev@dpdk.org" CC: "olivier.matz@6wind.com" , "arybchenko@solarflare.com" , "bruce.richardson@intel.com" , "konstantin.ananyev@intel.com" , "Gavin Hu (Arm Technology China)" , nd , "thomas@monjalon.net" , nd Thread-Topic: [PATCH v6 1/8] stack: introduce rte stack library Thread-Index: AQHU6NAAuuD+CTYsm0yfTSRX0ngoyaYouHdA Date: Tue, 2 Apr 2019 11:14:15 +0000 Message-ID: References: <20190401001238.17625-1-gage.eads@intel.com> <20190401211429.20282-1-gage.eads@intel.com> <20190401211429.20282-2-gage.eads@intel.com> In-Reply-To: <20190401211429.20282-2-gage.eads@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.103.75] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2dd820dd-e401-4171-e5b1-08d6b75c57ad x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VE1PR08MB5149; x-ms-traffictypediagnostic: VE1PR08MB5149: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0995196AA2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(366004)(376002)(136003)(189003)(199004)(76176011)(53936002)(305945005)(316002)(71190400001)(7736002)(6116002)(2906002)(486006)(26005)(256004)(476003)(446003)(11346002)(14444005)(97736004)(66066001)(186003)(102836004)(52536014)(4744005)(55016002)(3846002)(68736007)(71200400001)(6506007)(106356001)(99286004)(86362001)(7696005)(5660300002)(25786009)(74316002)(81156014)(4326008)(8676002)(478600001)(110136005)(2501003)(33656002)(229853002)(9686003)(8936002)(6436002)(6246003)(72206003)(81166006)(54906003)(14454004)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5149; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: upD3UOvgsa+kw5ZXwIN+l9tZ5wxQKJDIlnoYBYWv87zhmOlrVeXYaYhW7vcdhympNiEx5tOgWYGYKyWfgGQmmFYVHdmJkJYfJBZ9bQmqkq76teqZz7PmgIbPS7Tk7yCxXLQuLyIblCJ1cGDYLZyxmUGWaLeGuFJx3BtS368hWkGPjWFmWw5KwNwVnlld6ufpbJn1G6M0aWKJXcmK3XVu1ZJVawob0EtOIyX9j92xHNVdaS1SRPpMEqHNLPB/U7rZsZdMJiz5N76SjwnU0qLLYM5dZJbLhmXdBVWZp98kv6e+vgZE9j9xsWtSf/CCO19HbL/bBsgxOq5j0xEqDT+cUG6idupT5NqqJJX4Rw6Kw6WT4tjEGKcIaTz7RFhNrIpzXW6GWMguOHf3lYQ0u4Bnz2kds39JWPKSwOB8O+xb0OY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2dd820dd-e401-4171-e5b1-08d6b75c57ad X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 11:14:15.3841 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5149 Subject: Re: [dpdk-dev] [PATCH v6 1/8] stack: introduce rte stack library 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" Message-ID: <20190402111415.Jzf0oGvyANIN--sEm5OMdPTQq1IICCuxOPn1XXdduzA@z> > Subject: [PATCH v6 1/8] stack: introduce rte stack library >=20 > The rte_stack library provides an API for configuration and use of a boun= ded > stack of pointers. Push and pop operations are MT-safe, allowing concurre= nt > access, and the interface supports pushing and popping multiple pointers = at a > time. >=20 > The library's interface is modeled after another DPDK data structure, rte= _ring, > and its lock-based implementation is derived from the stack mempool > handler. An upcoming commit will migrate the stack mempool handler to > rte_stack. >=20 > Signed-off-by: Gage Eads > Reviewed-by: Olivier Matz > --- Reviewed-by: Honnappa Nagarahalli