From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id ED7A4C8BA for ; Sat, 27 Jun 2015 00:14:49 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 26 Jun 2015 15:14:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,687,1427785200"; d="scan'208";a="595535252" Received: from mbernalm-mobl3.amr.corp.intel.com (HELO mbernalm-mobl3.zpn.intel.com) ([10.219.18.109]) by orsmga003.jf.intel.com with ESMTP; 26 Jun 2015 15:14:48 -0700 From: Miguel Bernal Marin To: dev@dpdk.org Date: Fri, 26 Jun 2015 17:14:34 -0500 Message-Id: <1435356878-10304-1-git-send-email-miguel.bernal.marin@linux.intel.com> X-Mailer: git-send-email 2.4.4 In-Reply-To: <1435259380-26251-1-git-send-email-miguel.bernal.marin@linux.intel.com> References: <1435259380-26251-1-git-send-email-miguel.bernal.marin@linux.intel.com> Subject: [dpdk-dev] [PATCH v2 0/4] kni: fix build with kernel 4.1 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: Fri, 26 Jun 2015 22:14:50 -0000 Due to API changes in netdevice.h in 4.1 kernel release, KNI modules would not build. This patch set adds the properly checks to fix compilation. Changes in v2: - Fixed vHost module build errors. Miguel Bernal Marin (4): kni: fix igb_ndo_bridge_getlink to buid with 4.1 kni: fix header_ops to build with 4.1 kni: fix function parameter from proto_ops pointers kni: fix missing validation when vhost HDR is enabled lib/librte_eal/linuxapp/kni/compat.h | 4 ++++ lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 10 ++++++++++ lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 5 +++++ lib/librte_eal/linuxapp/kni/kni_net.c | 4 ++++ lib/librte_eal/linuxapp/kni/kni_vhost.c | 17 ++++++++++++++++- 5 files changed, 39 insertions(+), 1 deletion(-) -- 2.4.4