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 1E93FA0547; Mon, 21 Jun 2021 10:08:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0DD84116E; Mon, 21 Jun 2021 10:08:16 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id CFB9C40040 for ; Mon, 21 Jun 2021 10:08:14 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 43CC15C00A1; Mon, 21 Jun 2021 04:08:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 21 Jun 2021 04:08:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= qzEJx1Fc/JJLsXkMjcZWGgA7b+L/3REYJNAZb3Ia9xE=; b=KJkCbqbt29ehdTam OMnTg1qITi45qBaBrXMQ/8i6FuCpcTlc66k6zv0l1U3mdEx5Rxy7wiNWUg6GPS2r CbW3pVVj8bW8zjGdMi8YSSuovoRPVpuRH7oSKFAMOgrn89GDww9BKBG5CtyvZyJq mvYwduhsTcFN3qKSNyg7/7rqEBr0BZei24PAVjpzEr6cAb2hmmGGAPOXWORYubmu PFFlNjviByp6ff/nYO3ZDeievoqwyQFdHpMtx0zTNmkgeeAqpc6m2GY4wB3Cq2oG hXOKoZDVJR8z5I3xVM65FqMeJ3piAwpBV9Zo+5IJ+iJH/Xw48uUPJLazpQEAQODF J6bJzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=qzEJx1Fc/JJLsXkMjcZWGgA7b+L/3REYJNAZb3Ia9 xE=; b=aOsCi8G/7IuPKCBuxjk2WpbHsNU7Wz2SNmZhQGsYw1PKc86o5D6duOMQH /KXlctbytTe2nTqhXN1x8H021rsHhEfvgoiSL8NtZgagBeWNCw/jCGLilmS/QUkv Oughhn5Xh1/NT/Gteol3PLC0kEKW0ElXDvxi+RrBa4e1iF5HMZClnkIoZtq47Q2Z mVLI2jEvmBW8c8+a2zHc7d75KIfeJbyubOMPYwRztjos6xX7vpXA5p4f0nCiBCBc E5RLzotwtYPbGYGwlVZu7zsWrupb2xxlBpQwz9KHif6NIz0E3BOPtF0inJaHY/u9 5MwlUK5tMweD9e0D8hdH2WpVJohTQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeflecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfo ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrg htthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueeiiedv ffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Jun 2021 04:08:10 -0400 (EDT) From: Thomas Monjalon To: Xueming Li Cc: dev@dpdk.org, Matan Azrad , Viacheslav Ovsiienko , Andrew Rybchenko , Chas Williams , "Min Hu (Connor)" , Beilei Xing , Jingjing Wu , david.marchand@redhat.com Date: Mon, 21 Jun 2021 10:08:07 +0200 Message-ID: <8877995.FsHLWOrdmG@thomas> In-Reply-To: <20210613125846.19852-1-xuemingl@nvidia.com> References: <20210510134732.2174-1-xuemingl@nvidia.com> <20210613125846.19852-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 1/2] devargs: add common key definition 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" 13/06/2021 14:58, Xueming Li: > --- a/lib/eal/include/rte_devargs.h > +++ b/lib/eal/include/rte_devargs.h > @@ -25,6 +25,10 @@ extern "C" { > #include > #include > > +#define RTE_DEVARGS_KEY_BUS "bus" > +#define RTE_DEVARGS_KEY_CLASS "class" > +#define RTE_DEVARGS_KEY_DRIVER "driver" These macros must be documented as part of the API. It must be said how it is used.