From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CECD02BEA for ; Mon, 17 Oct 2016 20:49:32 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP; 17 Oct 2016 11:49:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,358,1473145200"; d="scan'208";a="20580269" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga005.jf.intel.com with ESMTP; 17 Oct 2016 11:49:31 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX151.ger.corp.intel.com (163.33.192.59) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 19:49:30 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by irsmsx155.ger.corp.intel.com ([169.254.14.133]) with mapi id 14.03.0248.002; Mon, 17 Oct 2016 19:49:30 +0100 From: "De Lara Guarch, Pablo" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "Yigit, Ferruh" Thread-Topic: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9 Thread-Index: AQHSKGCO8Gc5LcHmSEq645WAdxdFT6Cs/YPw Date: Mon, 17 Oct 2016 18:49:29 +0000 Message-ID: References: <20161017102314.9704-1-ferruh.yigit@intel.com> In-Reply-To: <20161017102314.9704-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzdhM2JiOTQtODRlYi00MDgwLTk5NDItMTc2MzZkNjY2OWEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlwvOTdHWVNRQmgrd2I4aVwveGlUM3UwRW5vbTlCMEhnblhFYUpPaGQ2eTQyYz0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9 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: Mon, 17 Oct 2016 18:49:33 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Monday, October 17, 2016 3:23 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh > Subject: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9 >=20 > 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=3Dincompatible-pointer-types] > .ndo_set_vf_vlan =3D igb_ndo_set_vf_vlan, > ^~~~~~~~~~~~~~~~~~~ >=20 > Linux kernel 4.9 updates API for ndo_set_vf_vlan: > Linux: 79aab093a0b5 ("net: Update API for VF vlan protocol 802.1ad > support") >=20 > Use new API for Linux kernels >=3D 4.9 >=20 > Signed-off-by: Ferruh Yigit Tested-by: Pablo de Lara