From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix build with kernel 4.9 Date: Tue, 25 Oct 2016 16:22:48 +0200 Message-ID: <3764910.iLHixi6uQx@xps13> References: <20161017102314.9704-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "De Lara Guarch, Pablo" To: "Yigit, Ferruh" Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 7529A2935 for ; Tue, 25 Oct 2016 16:23:20 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id d128so30307878wmf.1 for ; Tue, 25 Oct 2016 07:23:20 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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 > Tested-by: Pablo de Lara Applied, thanks