From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] kni: fix build on Centos 7.4 when Ethtool enabled Date: Tue, 22 May 2018 19:50:35 +0100 Message-ID: References: <20180522181008.6327-1-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Dan Gora Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 109892BB0 for ; Tue, 22 May 2018 20:50:39 +0200 (CEST) In-Reply-To: <20180522181008.6327-1-dg@adax.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/22/2018 7:10 PM, Dan Gora wrote: > Fix compilation errors on Centos 7.4 when CONFIG_RTE_KNI_KMOD_ETHTOOL > is set to 'y'. > > Centos 7.4 needs HAVE_NDO_BRIDGE_GETLINK_FILTER_MASK_VLAN_FILL: > > igb_main.c: In function ‘igb_ndo_bridge_getlink’: > igb_main.c:2289:2: error: too few arguments to function > ‘ndo_dflt_bridge_getlink’ > return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode, 0, 0, nlflags); > ^ > > Centos 7.4 needs HAVE_VF_VLAN_PROTO and needs to redefine > ndo_set_vf_vlan to .extended.ndo_set_vf_vlan: > > igb_main.c:2318:2: error: unknown field ‘ndo_set_vf_vlan’ specified > in initializer > .ndo_set_vf_vlan = igb_ndo_set_vf_vlan, > ^ > > Signed-off-by: Dan Gora Acked-by: Ferruh Yigit