From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A86A9C5C4 for ; Tue, 5 May 2015 13:28:41 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 05 May 2015 04:28:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,372,1427785200"; d="scan'208";a="489541493" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by FMSMGA003.fm.intel.com with ESMTP; 05 May 2015 04:28:39 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.246]) by IRSMSX151.ger.corp.intel.com ([169.254.4.46]) with mapi id 14.03.0224.002; Tue, 5 May 2015 12:28:38 +0100 From: "De Lara Guarch, Pablo" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19 Thread-Index: AQHQhrPI+U5VE+VwcUG17y36WgXbo51tP29A Date: Tue, 5 May 2015 11:28:38 +0000 Message-ID: References: <1430775963-29444-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1430775963-29444-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19 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, 05 May 2015 11:28:42 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, May 04, 2015 10:46 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19 >=20 > Due to commit c0371da6 in kernel 3.19, which removed msg_iov > and msg_iovlen from struct msghdr, DPDK would not build. >=20 > This patch makes use of struct iov_iter, which has references > to those two variables. >=20 > Reported-by: Thomas Monjalon > Signed-off-by: Pablo de Lara Self-NACK. Kernel 4.0 has other changes that require other fixes, incompati= ble with this patch. Will send a v2 compatible with both kernels 3.19 and 4.0