patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
To: stable@dpdk.org
Subject: [dpdk-stable] Fwd: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9
Date: Tue, 18 Oct 2016 07:42:02 +0200	[thread overview]
Message-ID: <CAATJJ0+gYtSKr=P9zAVVW0wo-a-tadLbJfJ2S1BT6Psh1tzg1g@mail.gmail.com> (raw)
In-Reply-To: <20161017102314.9704-1-ferruh.yigit@intel.com>

Hi,
would you consider that as a stable patch as well?

It is not strictly a feature, but not strictly a fix either.
Never the less I would expect it to be worth to be included in the stable
release - so FYI to stable list.


---------- Forwarded message ----------
From: Ferruh Yigit <ferruh.yigit@intel.com>
Date: Mon, Oct 17, 2016 at 12:23 PM
Subject: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9
To: dev@dpdk.org
Cc: Ferruh Yigit <ferruh.yigit@intel.com>


compile error:
  CC [M]  .../lib/librte_eal/linuxapp/kni/igb_main.o
.../lib/librte_eal/linuxapp/kni/igb_main.c:2317:21:
error: initialization from incompatible pointer type
        [-Werror=incompatible-pointer-types]
  .ndo_set_vf_vlan = igb_ndo_set_vf_vlan,
                     ^~~~~~~~~~~~~~~~~~~

Linux kernel 4.9 updates API for ndo_set_vf_vlan:
Linux: 79aab093a0b5 ("net: Update API for VF vlan protocol 802.1ad support")

Use new API for Linux kernels >= 4.9

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
[...]

       reply	other threads:[~2016-10-18  5:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20161017102314.9704-1-ferruh.yigit@intel.com>
2016-10-18  5:42 ` Christian Ehrhardt [this message]
2016-10-18 13:15   ` Yuanhan Liu

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='CAATJJ0+gYtSKr=P9zAVVW0wo-a-tadLbJfJ2S1BT6Psh1tzg1g@mail.gmail.com' \
    --to=christian.ehrhardt@canonical.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).