patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH 1/2] kni: fix build with kernel 4.8
Date: Mon, 21 Nov 2016 14:07:53 +0800	[thread overview]
Message-ID: <20161121060753.GP5048@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <20161118122326.24442-1-ferruh.yigit@intel.com>

On Fri, Nov 18, 2016 at 12:23:25PM +0000, Ferruh Yigit wrote:
> [ backported from upstream commit 7f5565592c5ab2f3541951d2b4e65188d01d5d00 ]
> 
> Linux kernel v4.8 removes macro DEFINE_PCI_DEVICE_TABLE
> 
> Linux: 7e9321599011 ("treewide: remove references to the now unnecessary
> DEFINE_PCI_DEVICE_TABLE")
> 
> Replaced macro with its value in kni ethtool drivers.

Series applied to dpdk stable branch 16.07.

Thanks.

	--yliu


> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c     | 2 +-
>  lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
> index 96acec5..efd39c6 100644
> --- a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
> +++ b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
> @@ -76,7 +76,7 @@ static const char igb_driver_string[] =
>  static const char igb_copyright[] =
>  				"Copyright (c) 2007-2013 Intel Corporation.";
>  
> -static DEFINE_PCI_DEVICE_TABLE(igb_pci_tbl) = {
> +const struct pci_device_id igb_pci_tbl[] = {
>  	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I354_BACKPLANE_1GBPS) },
>  	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I354_SGMII) },
>  	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I354_BACKPLANE_2_5GBPS) },
> diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c b/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c
> index 92fc9fc..238028d 100644
> --- a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c
> +++ b/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c
> @@ -86,7 +86,7 @@ const char ixgbe_driver_version[] = DRV_VERSION;
>   * { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
>   *   Class, Class Mask, private data (not used) }
>   */
> -DEFINE_PCI_DEVICE_TABLE(ixgbe_pci_tbl) = {
> +const struct pci_device_id ixgbe_pci_tbl[] = {
>  	{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598)},
>  	{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT)},
>  	{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_SINGLE_PORT)},
> -- 
> 2.9.3

  parent reply	other threads:[~2016-11-21  6:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06  7:22 [dpdk-stable] request backporting some patches to 16.07.2 Yuanhan Liu
2016-11-15 13:58 ` Yuanhan Liu
2016-11-16 10:48   ` Maciej Czekaj
2016-11-16 11:57     ` Yuanhan Liu
2016-11-18 12:23   ` [dpdk-stable] [PATCH 1/2] kni: fix build with kernel 4.8 Ferruh Yigit
2016-11-18 12:23     ` [dpdk-stable] [PATCH 2/2] kni: fix build with kernel 4.9 Ferruh Yigit
2016-11-21  6:07     ` Yuanhan Liu [this message]
2016-11-16 16:51 ` [dpdk-stable] request backporting some patches to 16.07.2 Harish Patil
2016-11-16 22:01   ` John Daley (johndale)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161121060753.GP5048@yliu-dev.sh.intel.com \
    --to=yuanhan.liu@linux.intel.com \
    --cc=ferruh.yigit@intel.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).