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 86865A0547; Tue, 19 Oct 2021 18:16:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E32940683; Tue, 19 Oct 2021 18:16:41 +0200 (CEST) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mails.dpdk.org (Postfix) with ESMTP id 09F1A4003E for ; Tue, 19 Oct 2021 18:16:40 +0200 (CEST) Received: by mail-wm1-f49.google.com with SMTP id g39so8638845wmp.3 for ; Tue, 19 Oct 2021 09:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BcEmBq4hsZ1I2B2u/cSdOgjmgyt9qqPMs0gQWtEXgz8=; b=N5ZvTYoXin8+0TUA9RlWgknGFQj+fkcpiti6cu0IqnwST0AHgtmrA8f6wbnV3lRnV3 j2ce6ClGG+TTPbaHTw/K9LQa0k9nmHeMhVl5QhVHCTv+YsutHNI7ubs6LmSqDambdrP2 A5i5v4Gqf7C+R/0cik2STQt4Fb/HUDD30zWFA5KW4zbInVPZmXlzQJcsedGYRQlLZCFI RdZi49WiLaLS8+M7kFlSjL8e429UBuK57eRhuQaKFvxJr1zief+NmsGBRng5sFzhg1vx TBPTjagBFu7G5VEXUMIlfCP7XWp1/4wSGjTNRLEqELRCCFSZA7IQRn7DyeqoHX1P5YOq YsVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BcEmBq4hsZ1I2B2u/cSdOgjmgyt9qqPMs0gQWtEXgz8=; b=feMior/BedqXoRjcjc5SxBfJOh+7wVPsYOuQwsAKXsBhgjOfZFJ9iXRLen6l2mhCGv prXB6gdbW8FdJaV9LXgD0+Y5eTqbHrigXab1aWXxnbM+AWEjv421m/n5vNvTplEQnJ42 a3sBldnWbBWzy5MtCZcohheKhkItiut9Szy/mfgeJrj9xa861xa6lo0MymJwEdzcqxLp SN+X9Zm3vm/YD6fEUwkKjL71lZlzWVtXbH4mRDgBRL9yFkYfWly1QwGKguAHCZR26gB3 C3OifCUvFne6McoUXnQQvVlQgsZx9toeXrUBWR6lRuu6SA1KMzIsttBeWYxvIpfJo+r+ c+IA== X-Gm-Message-State: AOAM533j1RICR2oYYXcyyfYWeCSFXzFtTobagm+Qn8ffa3Ib+OYO2RUz dcbMRFgJ+EUo+wyCVfw8Tbotsg== X-Google-Smtp-Source: ABdhPJweoWQ/jy0kbaj89rR3/9dzgBgybdfx9znUs6ktXWpc2+Pj6nkmKMA7XkIPrzUaLnUlUDmWag== X-Received: by 2002:a05:600c:218d:: with SMTP id e13mr7264040wme.130.1634660199841; Tue, 19 Oct 2021 09:16:39 -0700 (PDT) Received: from 6wind.com ([2a01:e0a:5ac:6460:c065:401d:87eb:9b25]) by smtp.gmail.com with ESMTPSA id n66sm2656424wmn.2.2021.10.19.09.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 09:16:39 -0700 (PDT) Date: Tue, 19 Oct 2021 18:16:38 +0200 From: Olivier Matz To: Andrew Rybchenko Cc: David Marchand , Ray Kinsella , "Artem V. Andreev" , Ashwin Sekhar T K , Pavan Nikhilesh , Hemant Agrawal , Sachin Saxena , Harman Kalra , Jerin Jacob , Nithin Dabilpuram , dev@dpdk.org Message-ID: References: <20211018144907.1145028-1-andrew.rybchenko@oktetlabs.ru> <20211019100845.1632332-1-andrew.rybchenko@oktetlabs.ru> <20211019100845.1632332-6-andrew.rybchenko@oktetlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211019100845.1632332-6-andrew.rybchenko@oktetlabs.ru> Subject: Re: [dpdk-dev] [PATCH v2 5/6] mempool: add namespace to driver register macro 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" On Tue, Oct 19, 2021 at 01:08:44PM +0300, Andrew Rybchenko wrote: > Add RTE_ prefix to macro used to register mempool driver. > The old one is still available but deprecated. > > Signed-off-by: Andrew Rybchenko (...) > rte_mempool_register_ops(&ops); \ > } > > +/** Deprecated. Use RTE_MEMPOOL_REGISTER_OPS() instead. */ > +#define MEMPOOL_REGISTER_OPS(ops) \ > + RTE_DEPRECATED(RTE_MEMPOOL_REGISTER_OPS(ops)) > + > /** > * An object callback function for mempool. > * Same comment than 4/6 define MEMPOOL_REGISTER_OPS(ops) \ RTE_DEPRECATED(MEMPOOL_REGISTER_OPS) RTE_MEMPOOL_REGISTER_OPS(ops)