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 08E66A00C4; Fri, 30 Sep 2022 15:19:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDB1540E5A; Fri, 30 Sep 2022 15:19:33 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2083.outbound.protection.outlook.com [40.107.20.83]) by mails.dpdk.org (Postfix) with ESMTP id 497CE4003F for ; Fri, 30 Sep 2022 15:19:32 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=SKLBWwO8NtfoOr6CUolDCasV6aJBdEtCdIj13NfXiUlkh7hDeaYvcw0nCeiMKfCa5jO0Kqa3iTEgVPAyuNkiUsJ6K1ZCCdOhSjXitzqs5FpEXcD9nAtT+7VMns5HjEzyJukTew2QJi7aK/lj6HXIV2LKhFZvVnvthXb3C50grn4fekaDfi+m+vES7KMQqoc+uS7/V9Z+gVqdaupkXe4pOe2RVPA7lr2FHAkij9orBGFSbAFqLkw7ZdBQBfo9J/vAhPiQoq5GWSpAaxvtfCgdvErHf8RnL0jp2GyRLiVmbY7mq8c/73ghTVhRS6UiyyyQS6VHEpn9/nVkkhr4h+/qfA== ARC-Message-Signature: i=2; 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=Z2CKRE4N8xAMN2Kv8ZZYiL9OOWfYLEGN6KrOka6qlWA=; b=dWzWAIoiYpO6p+irmaYUXBYk62lG0YxLWsha8W/sJOc67zWUoLgIiSpXmdSRxE89/6mOrj7DvBv2gY0SwrZXtMfESOWRGSGwOhv7qD0c/21mwuEmfZ3frzplxcJrO0ESce5xpc02pjwyHlSjsppC2cByFSArIXkZSPZw/bpDF9OX97IErcddvGZXuq7YLkXca8jI9RAdS2IyUgb0beR3suefwGq+19TMCBLRUULVmW2DtY0mseTOAiI+5SdfCDJn+/q6GjqzFnSQXp7RVeFEmfCJargpXncNPVL2z/0TmZ1zTvrW2on4N9H4OfyQDr+rfjITzDa1ER2TzpPjkja0Rw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z2CKRE4N8xAMN2Kv8ZZYiL9OOWfYLEGN6KrOka6qlWA=; b=e0e1uVW/9vyr5pHqHYsiORm4eL4z/MIAkG+SIHTwGkszeO9FPFvX+k7uwisu8yq/krEzP/0bbvarMTFLfYNlHyw1tpzdeXB2IBmS6xlYfmnWKG9FkSC9RYF7Wqm78YDtqk3ffgjZp4Nc3ByS3bFX8lYJhpv/bxe1Rm2EsqHnpOs= Received: from DUZPR01CA0090.eurprd01.prod.exchangelabs.com (2603:10a6:10:46a::8) by PAVPR08MB9061.eurprd08.prod.outlook.com (2603:10a6:102:325::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.19; Fri, 30 Sep 2022 13:19:27 +0000 Received: from DBAEUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:46a:cafe::61) by DUZPR01CA0090.outlook.office365.com (2603:10a6:10:46a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23 via Frontend Transport; Fri, 30 Sep 2022 13:19:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT033.mail.protection.outlook.com (100.127.142.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17 via Frontend Transport; Fri, 30 Sep 2022 13:19:27 +0000 Received: ("Tessian outbound 99ee3885c6d5:v128"); Fri, 30 Sep 2022 13:19:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9b0c37a115bb9627 X-CR-MTA-TID: 64aa7808 Received: from ff74a44defba.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A6E6A912-F2C1-4607-90D0-2D2EAD529EC1.1; Fri, 30 Sep 2022 13:19:20 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ff74a44defba.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 30 Sep 2022 13:19:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F0f0JYP0dLL3DODPLpfDkyf4PxOCbMLMnx/MhGfWU5UmczFI1az0y1u+FGGDl+4BwUsjS3zbQVldTNUOedEZk6+P0Z69JHSI8GuplHGvnbzbKG3ngqPBS//OL80HWVC5JJ83UTSGVCUsyl+HxZzuhYwVAhY8OGbSQzT/qSytUIfw//PI4y3YlrGI90qoIbbBJrd/b3suRlLCl3Fy8pUQUtV9Y8M2dIRIG5zvt+fJ0k4E11QorIP202360etNTLMcCVPooahay+iEwg+Yyzh3KrHhO9E3diBSDM4PnLgOOsgeaNwy1Ds9nlpDUqZr3lZ1+dQxQVmi63RGm2VZ139SNw== 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=Z2CKRE4N8xAMN2Kv8ZZYiL9OOWfYLEGN6KrOka6qlWA=; b=OjD9j8BUnoSsgu+W2vdtR48YMxaiB/WYyOBfmUyKMmK7EYyEa/5IsTz7MuJdfMRhXf0oVboTUR8ZKD/MWmza10DjU6gF8/f5LmakCO6WeGDYIrIxcKc4BrsSdc1ffh1+y8bjTM+AEL4BSiVWF7ZhRqV0c7UmFWMiPqPLQ8w0t1BBMj+3j1XcOaIKVdCBLpgSvSfy7rFHnSgFs79G08yo+bhqZGGm+n15A0NZbbqP+gUwLbBgdu7rt4dhkdKu6nqTGYkAuFaUCHgiCDHcNVE62Chk4LHm7xRcjXmiNsYaUlLpvp/br4s/0xov7g5biStYqhPeR23RhdSvU6E0ZBWfMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z2CKRE4N8xAMN2Kv8ZZYiL9OOWfYLEGN6KrOka6qlWA=; b=e0e1uVW/9vyr5pHqHYsiORm4eL4z/MIAkG+SIHTwGkszeO9FPFvX+k7uwisu8yq/krEzP/0bbvarMTFLfYNlHyw1tpzdeXB2IBmS6xlYfmnWKG9FkSC9RYF7Wqm78YDtqk3ffgjZp4Nc3ByS3bFX8lYJhpv/bxe1Rm2EsqHnpOs= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DBBPR08MB6091.eurprd08.prod.outlook.com (2603:10a6:10:1f4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 13:19:18 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::c1ee:db1:105:9372]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::c1ee:db1:105:9372%8]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 13:19:18 +0000 From: Honnappa Nagarahalli To: Olivier Matz , "dev@dpdk.org" CC: Anatoly Burakov , Andrew Rybchenko , Konstantin Ananyev , nd Subject: RE: [PATCH] mem: fix API doc about allocation on secondary processes Thread-Topic: [PATCH] mem: fix API doc about allocation on secondary processes Thread-Index: AQHY0/5TbH93dIj6v0uMkdqB08qS3a339kLA Date: Fri, 30 Sep 2022 13:19:18 +0000 Message-ID: References: <20220929122311.1263-1-olivier.matz@6wind.com> In-Reply-To: <20220929122311.1263-1-olivier.matz@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 575533A749EBFF4C8B442EB8150834C0.0 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: DBAPR08MB5814:EE_|DBBPR08MB6091:EE_|DBAEUR03FT033:EE_|PAVPR08MB9061:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e4af3a2-5a11-4a9d-ebe4-08daa2e66668 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: g2dZkdBxqMcRdyIh/hvcQkT0MAQNG4IczKMxXcgVEELC9FeUEZM7qpFJoxxFvbH5wFspxkQmlRL7ghJLFq6Xhsn4OnTk1MJqVvcQpeL6ZXWvvdzDHAZljL+X5+H2pXbk4XWcLjb1Ju2Seh2gqE0w7jwyhM7JcUdJ8vT5Ga7hy6rQO9swryoAT7fUHpp2497kip/s7SMpaoYqU0rtY82BHTKDHmcSWYoqtpO7bDuzsoKVg47a4BneOaEgCjGgZQBJk6wsV5sjbsyp09tXSRyLEcn5KKQ7rxH1RpEzGzL1OdzzZLcrUKSHtYE2+awbEC53s8hYCxljvVrBTTxdxVfEhvnermoVWjAfGt8vcfDCkKIUGNXZZ+QEHkPBUINozvpgExC3ZLaxvWEWqR2vjgmoLTPDkbA5/1tYE7zRxqC1kGq3vi2H8LfTUWa/Ro1sUsWWVkKgsoQ8gDmZaNWTSenn7l2ZHUvLVQ36FXN2K+coD/QYaLkH2nkGQJMN3kHyP6rdp5uZW60Apv3mPKlpDhTrQn951Sn2I7i4UdnKVaGwrUUpRNHS0wUQzMmFktOBYPUJe29zpf4J5YwnSf5Kb67o48HbpTJSQEhDoddEi/MBTe2cMdZoIZBpcfDHZDwEOcO0Czj+vpHt+TMlN6FLl2aM/lHtGPuROyszbRXIzXCrgMHapTaS02dsWnkEegIx4lWUydHxAOVMGhPGrXgZ1rFT2tTDkikU96Rbuhd/aDcAYlThNVjRYbT+PFo25Eg6DUUIUztxgriiQMgg3YAWxjQ4rw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(396003)(346002)(136003)(376002)(39860400002)(451199015)(38100700002)(66946007)(66556008)(66476007)(76116006)(71200400001)(4326008)(64756008)(8676002)(66446008)(6506007)(7696005)(86362001)(8936002)(110136005)(9686003)(478600001)(54906003)(55016003)(26005)(2906002)(5660300002)(41300700001)(38070700005)(122000001)(186003)(33656002)(52536014)(316002)(83380400001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6091 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f8a507a5-f852-49c6-7027-08daa2e6614f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cZojO2yWRqyfCXih3kz2FaPvT1UVlGyg75Z5LYA64bjGes+FRibzpgnHwHT2RRkIGADLPtfeMfK0WcAhnlUW/+0vfend/ivDr/02+hAaVw4m0NoPqaApjNzZRNL4OCuw28FZeoR4fOYNRex/dcZRyyQIIp0To+uiGftKDraiplXsAUHPZHTZSR8Gyv8Xq98CNIe3wRJdEcYzqzWM/lHazYl9zd49uIROLLXR2xQigBtZFiOVmGbrMv2DuWRFlHa3SSV5pq8lgzB1ijYf5EW0ohob26HI08lDgjoh07czKvwITrmKEL8hnggHLkSJuTDZhVQ2WTvJEjVE2Bih1aaGWSMVT83VGoRS3ex45j3BVzKO4ko7I3gZAaWl5q6/ChNDJv8wVnWqkAqrdfEnfmx6VB1uk8Wp5iOdp/wE7cIp1cTuxhuFHm7WEzTMekGIrXUomGlt8uxu4WrOrQLzmMG9/3G2A6AbYTC1y2QAqZJFNnYXNzoYpNDSwqqR0oHrep8NrlPSVlWLMoVZX9ZszAsp94s6bVvPGwaGv3bb/D3WHGsQejkxYBuiWYZ4AsWdlr91KxW9kxEcuJwNFBA9BhltIGHPM58rK4VToZYaHfD6PH4OdiyIzTHeGWRMD2/5rtZBmU/oWmupNaaWj0Jkb3jPQ9mviX1ZH7/SBKpQzjQqy4rVcExsQDVuNEnqyeBu3LKY5lQHdUmKpoFQCQboB5gb9NiOoASmIp77uhf8b6HNyL4jmtUHiTwXhcffbiSIl1wRSY08r2/zxH6tnHa7UtIgsQ== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(396003)(346002)(376002)(39860400002)(136003)(451199015)(36840700001)(46966006)(40470700004)(356005)(82310400005)(478600001)(54906003)(316002)(81166007)(110136005)(82740400003)(70206006)(70586007)(86362001)(40460700003)(8676002)(83380400001)(36860700001)(33656002)(40480700001)(4326008)(5660300002)(55016003)(52536014)(26005)(2906002)(6506007)(47076005)(8936002)(41300700001)(9686003)(7696005)(336012)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 13:19:27.0676 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e4af3a2-5a11-4a9d-ebe4-08daa2e66668 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9061 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 > Subject: [PATCH] mem: fix API doc about allocation on secondary processes >=20 > Since 10 years, memzone allocation is allowed on secondary processes. Now > it's time to update the documentation accordingly. >=20 > At the same time, fix mempool, mbuf and ring documentation which rely on > memzones internally. >=20 > Bugzilla ID: 1074 > Fixes: 916e4f4f4e45 ("memory: fix for multi process support") >=20 > Signed-off-by: Olivier Matz LGTM Reviewed-by: Honnappa Nagarahalli > --- > lib/eal/include/rte_memzone.h | 3 --- > lib/mbuf/rte_mbuf.h | 3 --- > lib/mempool/rte_mempool.h | 1 - > lib/ring/rte_ring.h | 1 - > lib/ring/rte_ring_elem.h | 1 - > 5 files changed, 9 deletions(-) >=20 > diff --git a/lib/eal/include/rte_memzone.h b/lib/eal/include/rte_memzone.= h > index 5db1210831..bb4223a056 100644 > --- a/lib/eal/include/rte_memzone.h > +++ b/lib/eal/include/rte_memzone.h > @@ -118,7 +118,6 @@ struct rte_memzone { > * on error. > * On error case, rte_errno will be set appropriately: > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > * - ENOMEM - no appropriate memory area found in which to create > memzone > @@ -184,7 +183,6 @@ const struct rte_memzone > *rte_memzone_reserve(const char *name, > * on error. > * On error case, rte_errno will be set appropriately: > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > * - ENOMEM - no appropriate memory area found in which to create > memzone > @@ -256,7 +254,6 @@ const struct rte_memzone > *rte_memzone_reserve_aligned(const char *name, > * on error. > * On error case, rte_errno will be set appropriately: > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > * - ENOMEM - no appropriate memory area found in which to create > memzone > diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index > 9811e8c760..b6e23d98ce 100644 > --- a/lib/mbuf/rte_mbuf.h > +++ b/lib/mbuf/rte_mbuf.h > @@ -664,7 +664,6 @@ void rte_pktmbuf_pool_init(struct rte_mempool > *mp, void *opaque_arg); > * The pointer to the new allocated mempool, on success. NULL on error > * with rte_errno set appropriately. Possible rte_errno values include= : > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - EINVAL - cache size provided is too large, or priv_size is not a= ligned. > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > @@ -706,7 +705,6 @@ rte_pktmbuf_pool_create(const char *name, > unsigned n, > * The pointer to the new allocated mempool, on success. NULL on error > * with rte_errno set appropriately. Possible rte_errno values include= : > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - EINVAL - cache size provided is too large, or priv_size is not a= ligned. > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > @@ -760,7 +758,6 @@ struct rte_pktmbuf_extmem { > * The pointer to the new allocated mempool, on success. NULL on error > * with rte_errno set appropriately. Possible rte_errno values include= : > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - EINVAL - cache size provided is too large, or priv_size is not a= ligned. > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h > index a3c4ee351d..4c4af2a8ed 100644 > --- a/lib/mempool/rte_mempool.h > +++ b/lib/mempool/rte_mempool.h > @@ -1023,7 +1023,6 @@ typedef void (rte_mempool_ctor_t)(struct > rte_mempool *, void *); > * The pointer to the new allocated mempool, on success. NULL on error > * with rte_errno set appropriately. Possible rte_errno values include= : > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - EINVAL - cache size provided is too large or an unknown flag was > passed > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > diff --git a/lib/ring/rte_ring.h b/lib/ring/rte_ring.h index > 980e92e594..7c48e35d27 100644 > --- a/lib/ring/rte_ring.h > +++ b/lib/ring/rte_ring.h > @@ -180,7 +180,6 @@ int rte_ring_init(struct rte_ring *r, const char *nam= e, > unsigned int count, > * On success, the pointer to the new allocated ring. NULL on error wi= th > * rte_errno set appropriately. Possible errno values include: > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - EINVAL - count provided is not a power of 2 > * - ENOSPC - the maximum number of memzones has already been > allocated > * - EEXIST - a memzone with the same name already exists > diff --git a/lib/ring/rte_ring_elem.h b/lib/ring/rte_ring_elem.h index > fb1edc9aad..7f7d4951d3 100644 > --- a/lib/ring/rte_ring_elem.h > +++ b/lib/ring/rte_ring_elem.h > @@ -96,7 +96,6 @@ ssize_t rte_ring_get_memsize_elem(unsigned int esize, > unsigned int count); > * On success, the pointer to the new allocated ring. NULL on error wi= th > * rte_errno set appropriately. Possible errno values include: > * - E_RTE_NO_CONFIG - function could not get pointer to rte_config > structure > - * - E_RTE_SECONDARY - function was called from a secondary process > instance > * - EINVAL - esize is not a multiple of 4 or count provided is not a > * power of 2. > * - ENOSPC - the maximum number of memzones has already been > allocated > -- > 2.30.2