From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=qb4+rKP/pqJ+Vk8/Mxs55YDf/Gnz1K5LeC2JfbGfBCI=; b=1SqAWf7mJzVey7e0cZ0j65gUlSOCpaXHDlSNuZcEEfHzEn2YyQqS8MpyOdC0x4df2T 6KKdX/YD2eiUem7k+jEvyhkeBRAaKNLg7n3fypXsWSV6ThQ4Eekj/qZblsSttofhaNYO y18fuL8uqTpk51texQDXbnCUxbCEG2+mlWLZVxmtIOc0x4Mm6xY5RKWHzRuPa9zfepy8 EUXfCK+irt9dhSvJj0D41tNurrY+xulc10z3P4AK5X40eIDUqAn1PBk//VM2tTyOM4YE gSCbeMuqOCVU0IsgKd2nZoNRwEsXHZ7qq+wLV6v6YNfL4p9AHcD5An83ApbZi2BFrq+u g0dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=qb4+rKP/pqJ+Vk8/Mxs55YDf/Gnz1K5LeC2JfbGfBCI=; b=AsQzKvbWn5s/wUpmO5aeV8uUmX/AWkSNpLBtYd6Vkjwa3iZ6zs+4AO4X66500OHZLr gFNNKbSMCO6FUqS2Bw+ZlpGlha4p8yrE6ODVPTunG6xBPaBFOiKFW04TnveE5eZC+aXD yDc7mX45JrJiNdeeSE9h0N2I23N0Q90KmWwwZBwUkk3Dzr1CFxdnOXEArV9nJva2gHT5 vBaS68j9PWSLquNmGdkImzeO63N+G3aWNxhJ3ppm+2un+4hFtVhmQ2tsxtfPms/u3C2/ 4LkzRRIg2edUdZ5GPaSB0E4Q+vRaAxCP5J/MipBAYm5zc5PcmM5jD4MGwHMlSDgo5tEb 2AbQ== X-Gm-Message-State: ABUngvffn5sA650b4b2JLfFwb0LJZH03sK5trpDF8h3aMTt8lncQxnLtLTmaLi9+zaMA9LRv X-Received: by 10.28.7.198 with SMTP id 189mr3710873wmh.65.1477405400181; Tue, 25 Oct 2016 07:23:20 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id h133sm3955751wmg.23.2016.10.25.07.22.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 07:22:49 -0700 (PDT) From: Thomas Monjalon To: "Yigit, Ferruh" Cc: dev@dpdk.org, "De Lara Guarch, Pablo" Date: Tue, 25 Oct 2016 16:22:48 +0200 Message-ID: <3764910.iLHixi6uQx@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <20161017102314.9704-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Tue, 25 Oct 2016 14:23:20 -0000 > > 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