From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 5262710A7 for ; Thu, 15 Dec 2016 11:25:13 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP; 15 Dec 2016 02:25:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,351,1477983600"; d="scan'208";a="42875206" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.29]) ([10.237.220.29]) by fmsmga006.fm.intel.com with ESMTP; 15 Dec 2016 02:25:11 -0800 To: Stephen Hemminger , dev@dpdk.org References: <20161214154049.698de2e8@xeon-e3> From: Ferruh Yigit Message-ID: Date: Thu, 15 Dec 2016 10:25:10 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161214154049.698de2e8@xeon-e3> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] KNI broken again with 4.9 kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2016 10:25:13 -0000 Hi Stephen, I can't reproduce the error, I think it is not broken, that issue should be already fixed with commit [1]. On 12/14/2016 11:40 PM, Stephen Hemminger wrote: > /build/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, > ^~~~~~~~~~~~~~~~~~~ Thanks for the report, not everyone is working with latest kernel, so these reports are useful. > > I am sure Ferruh Yigit will fix it. I think I already did J, please check the commit [1], it is merged in v16.11, can you please double check the DPDK version. [1] commit 6445198f802d993c73f4b246353b2ceb2dfafc32 Refs: v16.11-rc1-2-g6445198 Author: Ferruh Yigit AuthorDate: Mon Oct 17 11:23:14 2016 +0100 Commit: Thomas Monjalon CommitDate: Tue Oct 25 16:20:43 2016 +0200 kni: fix build with kernel 4.9 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 <...> I will reply questions with a different subject...