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 C2DAAA0548; Wed, 1 Jun 2022 16:11:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FDC340689; Wed, 1 Jun 2022 16:11:45 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 177534003F for ; Wed, 1 Jun 2022 16:11:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654092703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hLWC2bdpdHQmDe113nj4CZRAkY4TIsjJqwb83dpFous=; b=hzA+jDbFiEh0UhnUC4wkPiFLTMi8Ie280y1RVVGWQiswi8pGQEBdvqVI6kwvPyJEAZKrIs 7MaaLd2JgSgFuYje4mbI7APMFXWh9XkKIWY5sHxv8P6P+JVZ0caXFT0dg/RzBIDlcbPYaj n/nAkc3ubxi9B7acFzglIBUE85kOBxA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-445-bDI8PkBaOR6d7BzeDNzMqg-1; Wed, 01 Jun 2022 10:11:42 -0400 X-MC-Unique: bDI8PkBaOR6d7BzeDNzMqg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 56A0880B712; Wed, 1 Jun 2022 14:11:34 +0000 (UTC) Received: from [10.39.208.26] (unknown [10.39.208.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1BD062026985; Wed, 1 Jun 2022 14:11:31 +0000 (UTC) Message-ID: Date: Wed, 1 Jun 2022 16:11:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v7 3/6] baseband/acc100: remove RTE prefix for internal macro To: Nicolas Chautru , dev@dpdk.org, gakhil@marvell.com, trix@redhat.com Cc: thomas@monjalon.net, ray.kinsella@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, hernan.vargas@intel.com, david.marchand@redhat.com References: <1653350912-53876-1-git-send-email-nicolas.chautru@intel.com> <1654036307-182860-1-git-send-email-nicolas.chautru@intel.com> <1654036307-182860-4-git-send-email-nicolas.chautru@intel.com> From: Maxime Coquelin In-Reply-To: <1654036307-182860-4-git-send-email-nicolas.chautru@intel.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 6/1/22 00:31, Nicolas Chautru wrote: > Cosmetic update to remove RTE_ prefix for a define > kept internal. > > Signed-off-by: Nicolas Chautru > --- > drivers/baseband/acc100/rte_acc100_pmd.c | 4 ++-- > drivers/baseband/acc100/rte_acc100_pmd.h | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc100/rte_acc100_pmd.c > index 32c8bc2..210028b 100644 > --- a/drivers/baseband/acc100/rte_acc100_pmd.c > +++ b/drivers/baseband/acc100/rte_acc100_pmd.c > @@ -1133,7 +1133,7 @@ > /* ACC100 PCI PF address map */ > static struct rte_pci_id pci_id_acc100_pf_map[] = { > { > - RTE_PCI_DEVICE(RTE_ACC100_VENDOR_ID, RTE_ACC100_PF_DEVICE_ID) > + RTE_PCI_DEVICE(ACC100_VENDOR_ID, ACC100_PF_DEVICE_ID) > }, > {.device_id = 0}, > }; > @@ -1141,7 +1141,7 @@ > /* ACC100 PCI VF address map */ > static struct rte_pci_id pci_id_acc100_vf_map[] = { > { > - RTE_PCI_DEVICE(RTE_ACC100_VENDOR_ID, RTE_ACC100_VF_DEVICE_ID) > + RTE_PCI_DEVICE(ACC100_VENDOR_ID, ACC100_VF_DEVICE_ID) > }, > {.device_id = 0}, > }; > diff --git a/drivers/baseband/acc100/rte_acc100_pmd.h b/drivers/baseband/acc100/rte_acc100_pmd.h > index 071b37c..b3956e9 100644 > --- a/drivers/baseband/acc100/rte_acc100_pmd.h > +++ b/drivers/baseband/acc100/rte_acc100_pmd.h > @@ -27,9 +27,9 @@ > #define ACC100VF_DRIVER_NAME intel_acc100_vf > > /* ACC100 PCI vendor & device IDs */ > -#define RTE_ACC100_VENDOR_ID (0x8086) > -#define RTE_ACC100_PF_DEVICE_ID (0x0d5c) > -#define RTE_ACC100_VF_DEVICE_ID (0x0d5d) > +#define ACC100_VENDOR_ID (0x8086) > +#define ACC100_PF_DEVICE_ID (0x0d5c) > +#define ACC100_VF_DEVICE_ID (0x0d5d) > > /* Values used in filling in descriptors */ > #define ACC100_DMA_DESC_TYPE 2 Reviewed-by: Maxime Coquelin Thanks, Maxime