From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: KNI broken again with 4.9 kernel Date: Wed, 14 Dec 2016 15:40:49 -0800 Message-ID: <20161214154049.698de2e8@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by dpdk.org (Postfix) with ESMTP id B16D3370 for ; Thu, 15 Dec 2016 00:41:00 +0100 (CET) Received: by mail-pg0-f45.google.com with SMTP id 3so13009471pgd.0 for ; Wed, 14 Dec 2016 15:41:00 -0800 (PST) Received: from xeon-e3 (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id i124sm90334008pgd.15.2016.12.14.15.40.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Dec 2016 15:40:59 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" /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, ^~~~~~~~~~~~~~~~~~~ I am sure Ferruh Yigit will fix it. Which raises a couple of questions: 1. Why is DPDK still keeping KNI support for Intel specific ethtool functionality. This always breaks, is code bloat, and means a 3rd copy of base code (Linux, DPDK PMD, + KNI) 2. Why is KNI not upstream? If not acceptable due to security or supportablity then why does it still exist? 3. If not upstream, then maintainer should track upstream kernel changes and fix DPDK before kernel is released. The ABI is normally set early in the rc cycle weeks before release.