From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51])
 by dpdk.org (Postfix) with ESMTP id 343F38DA3
 for <dev@dpdk.org>; Thu, 19 Nov 2015 10:22:12 +0100 (CET)
Received: by wmvv187 with SMTP id v187so15387272wmv.1
 for <dev@dpdk.org>; Thu, 19 Nov 2015 01:22:12 -0800 (PST)
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:organization:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding
 :content-type; bh=6qgQDNs1ISJvC5f5V1IOz8hVymWZyzwGAj2VPkObSKw=;
 b=DvBPG1lEzOk+EeSxrC3S2GEp6mJemO6J1W4McAXEQM2XXicjyADODKVAl7b2mhSmLT
 fCLSXc6rPOm+doE+z+scJuAwgf8WAqUQdpRtrx0XXJPJ+Uf8Rq2QzbciXiTiHQ+LkFbB
 slfezDWlFHxjyGfb+HwmNu5eqC1CuwATuu7T9i1g9sMGPjPeU6TpPrCuJ99s1FIXrCEU
 5cDyh1lQne+BMZsKPKG0E58NwnZ1Qs/eJOa+aicb3aMmmpcX+IbuNjfY7b+KqVN7cIgg
 8bMwi6pZrIhZrNW2803w088jgo4/JHFp9gYfCc0WnhFLdPFmm5iP1Z9dt1pyWqi8ORk+
 HV+w==
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:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=6qgQDNs1ISJvC5f5V1IOz8hVymWZyzwGAj2VPkObSKw=;
 b=bqc+hHoTDBL3f/jltMSNm9g+UwowgD5px8zcNvY3rEYK4sCe8ZZiBIxN3YA62fiij9
 CkkgzY8ELhM1ecSdUdIn3cp+YuaWuctjY1tFWti9/uJzerlX1+DlS+rd96Be8UDy10TF
 v1tNh0hFUAmCZSRzdvZjWvxmOSl8yO3C6BX1DaB+COjSc1IrKNaf9yDFDw5qpNEbNhFL
 1nBTjAVritr4eeTVJH9GC1o6M2Ytplgf++Yj+RwWTC4OWW8dy7aROMasbbvna/eIlW7/
 HPx6yfoEL4l9XmxjdfK7uZ6jjk/mYIHiTNA/W0KkyXLVGRhCkkUN1oqmQZeXwsg3vjv9
 HatA==
X-Gm-Message-State: ALoCoQk7wdfEMLXXavwyKieL4kX7CA0wlxSoBR7+S++hSHSQymI+KUHliMU0AMJfqJ+7nIJueSjM
X-Received: by 10.28.97.197 with SMTP id v188mr9745600wmb.63.1447924931949;
 Thu, 19 Nov 2015 01:22:11 -0800 (PST)
Received: from xps13.localnet ([192.54.209.32])
 by smtp.gmail.com with ESMTPSA id c194sm7355621wmd.13.2015.11.19.01.22.11
 (version=TLSv1/SSLv3 cipher=OTHER);
 Thu, 19 Nov 2015 01:22:11 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Zhang, Helin" <helin.zhang@intel.com>
Date: Thu, 19 Nov 2015 10:20:58 +0100
Message-ID: <4856133.orSenHM9vl@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D8973C859205@IRSMSX108.ger.corp.intel.com>
References: <1447050372-30419-1-git-send-email-helin.zhang@intel.com>
 <E115CCD9D858EF4F90C690B0DCB4D8973C859205@IRSMSX108.ger.corp.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] kni: fix compile issue on different
	kernel	versions
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Nov 2015 09:22:12 -0000

> > It fixes the compile issue on kernel version 2.6.32 or old ones.
> > 
> > Error logs:
> > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: unknown field id
> > specified in initializer
> > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: excess elements in struct
> > initializer
> > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: (near initialization for
> > kni_net_ops)
> > lib/librte_eal/linuxapp/kni/kni_misc.c:122: error: unknown field size
> > specified in initializer
> > lib/librte_eal/linuxapp/kni/kni_misc.c:122: error: excess elements in struct
> > initializer
> > lib/librte_eal/linuxapp/kni/kni_misc.c:122: error: (near initialization for
> > kni_net_ops)
> > 
> > Fixes: 72a7a2b2469e ("kni: allow per-net instances")
> > 
> > Signed-off-by: Helin Zhang <helin.zhang@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks