From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id BED908E70 for ; Wed, 2 Dec 2015 23:16:13 +0100 (CET) Received: by pacdm15 with SMTP id dm15so52400279pac.3 for ; Wed, 02 Dec 2015 14:16:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=8euMG0P3aMFW9blrGqb9l0iTjSk8g9/GQQDo5UeNVxI=; b=ADW4n5tKCSk82nIKX2GktSCC+z57LNpKIHjyCnJS1FIVjSDY0NZXW2Iq0SppiVEfss 76el4JNI7jbcqsmifb8KVtmqlQyykzW6iuXRE808uOzL2w/TxvbjbvNkgQzOdWPP48vX btoiVzr8YPR6M2leR0etnFqqJRStXgfc6VRRwJHNU1vJYI2mOL2G/E7rRcZOuqlc5eFU uVafkoMyCiHI0esRrkteissgExgFerPnDCxZCsK/NNBkd7qRQnGSspWBlTE/aoOfEhXQ X2WcKmNwRFDlKpZpiOHc5/WiAve2XiNJyEdm968EhG/hl9t6d83q2S7RCmuqvsr5TSfI kEhg== 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; bh=8euMG0P3aMFW9blrGqb9l0iTjSk8g9/GQQDo5UeNVxI=; b=Yibt29LziIA9LCx1+3t4fYNS8kY3xiaVNnnREHrOKKnUUJ/uhg8vMDplLIs9I2GcyV T3K7fdEvf4gIxSD77bPuYRXJsVAutEbBQJkvbvYVzUbZSFUA5/+ODRmhbAldS0zgP/89 4AGzdbruSpL7LMjyAm4AZM9bDmWLV33kDWwAwFqJzDkzZTR32W/1DFBzBuvocnxk0kYX IizIp75hobzb+gOH3P6wNT0isvM/qjO/6awDXWjMwVnCN1MDS+0BoNYiAssBcKB66ngI PR5MqZ02QT06Nnos2xj9D7sg5wo9hmUwIXeSs2oiJZ8rXckzmqctthCRywbvjHH4Vl7t JUhA== X-Gm-Message-State: ALoCoQljvORgpM0IjwttzgvQs4BNSgWb62/sJyOu1i5gfJYBZl5RSSsQd7Q/vsjPwioC/4xEqALO X-Received: by 10.98.66.206 with SMTP id h75mr8207834pfd.51.1449094573068; Wed, 02 Dec 2015 14:16:13 -0800 (PST) Received: from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id dy4sm6312068pab.36.2015.12.02.14.16.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 14:16:12 -0800 (PST) From: Stephen Hemminger To: rahul.lakkireddy@chelsio.com Date: Wed, 2 Dec 2015 14:16:18 -0800 Message-Id: <1449094578-1562-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH] cxgbe: explictly mark this as pci_driver 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: Wed, 02 Dec 2015 22:16:14 -0000 The upcoming Hyper-V driver converts the pci_drv element in struct eth_driver to a union. When vmbus is added the pci_drv needs to be explicit. Easier to fix the issue ahead of time. This is backwards compatiable with previous code. Signed-off-by: Stephen Hemminger --- drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index ec5d22b..97ef152 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxgbe_ethdev.c @@ -847,7 +847,7 @@ out_free_adapter: } static struct eth_driver rte_cxgbe_pmd = { - { + .pci_drv = { .name = "rte_cxgbe_pmd", .id_table = cxgb4_pci_tbl, .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC, -- 2.1.4