From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id AE2425586 for ; Mon, 11 Jul 2016 16:41:16 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id i5so20274438wmg.0 for ; Mon, 11 Jul 2016 07:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Li9Q94f3zXrhKPE2nuwDQKbdfZSwlnl/E3wF+3c1Crc=; b=weMfoyFYralo57Jbg9DiUhD6C7DoM+IPcHucplpGjHcXWqbxB7UQPOaxUcLOPbfPVb RsLb1uIqYBLNLHJUywZWe6Oapd5GmVSuFprX3zvGnvpAbOdmPFHV9hMfKTedWSiwKf23 5CtVduvxTSzLXSDXcuCFDsJEYHn5yUUbWaZScONjkY5fnddrymmslQiZNh/aLMINoADs b8jH53MFq3f4Z1j0G2WoARCv7k9Poip3jTZzR0pidAE9W2Vp/pC+IVZNOL2eSQ7lap5q zsHXUh0aDn5Hb6Ij9W6/RWot4Oc/zmvvEbiG06in09F4Bse+eErEPwdFL3uun2dougYx 7gXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Li9Q94f3zXrhKPE2nuwDQKbdfZSwlnl/E3wF+3c1Crc=; b=FJNpytDXkE7N0P36Vmk/nxfCgDH+/5SdQubjsZDubMEgv9OJAUWVGrCZ2h5m97XjGb kJIdTZp2y/PJR32N9JhODKq2K1qkocA8SX11yAI/3+Rn4fCYdkUG4YxZkmxTNWIQ6RN6 iKoFI0dnKAWp6bL44QX5OGWuVuwYgOO7C6DunEnHc4PR9TWAVpsNRdan3BIelvxPqrt7 r4Q6DhfRguwEw+409x+ludmKgaHSO9J/LpebL1BbwGn379KaRJYuCQmB4uTjsxycHlWn Q03uEU8hTM+IGZXNTBEUaH9DxuWu97pTcsjF4BASRfLswCK1YuP6tJA4ZFdw6LXAkXJR uKNA== X-Gm-Message-State: ALyK8tIVHGQPCXU20hk7nKGOmm23b+jy+RYasIG9a6QqvJRf247efUbNAPLmIYWtev531TQC X-Received: by 10.28.166.2 with SMTP id p2mr15569914wme.58.1468248076455; Mon, 11 Jul 2016 07:41:16 -0700 (PDT) Received: from gloops.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id h7sm158371wji.47.2016.07.11.07.41.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 07:41:15 -0700 (PDT) From: David Marchand To: dev@dpdk.org Cc: bruce.richardson@intel.com, thomas.monjalon@6wind.com, nhorman@tuxdriver.com, pmatilai@redhat.com, christian.ehrhardt@canonical.com, stephen@networkplumber.com, Jan Medala , Jakub Palider , Netanel Belgazal , Evgeny Schemeilin Date: Mon, 11 Jul 2016 16:40:45 +0200 Message-Id: <1468248045-3495-11-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468248045-3495-1-git-send-email-david.marchand@6wind.com> References: <1461156236-25349-1-git-send-email-david.marchand@6wind.com> <1468248045-3495-1-git-send-email-david.marchand@6wind.com> Subject: [dpdk-dev] [PATCH v4 10/10] net/ena: remove unneeded PCI macro X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2016 14:41:17 -0000 I suppose this is a remnant of rte_pci_dev_ids.h, just remove this. Signed-off-by: David Marchand --- drivers/net/ena/ena_ethdev.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index f1b5e64..ac0803d 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -169,10 +169,9 @@ static const struct ena_stats ena_stats_ena_com_strings[] = { #define PCI_DEVICE_ID_ENA_LLQ_VF 0xEC21 static struct rte_pci_id pci_id_ena_map[] = { -#define RTE_PCI_DEV_ID_DECL_ENA(vend, dev) {RTE_PCI_DEVICE(vend, dev)}, - RTE_PCI_DEV_ID_DECL_ENA(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_VF) - RTE_PCI_DEV_ID_DECL_ENA(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_LLQ_VF) - {.device_id = 0}, + { RTE_PCI_DEVICE(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_VF) }, + { RTE_PCI_DEVICE(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_LLQ_VF) }, + { .device_id = 0 }, }; static int ena_device_init(struct ena_com_dev *ena_dev, -- 1.9.1