From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix stack frame size compile error Date: Thu, 22 Sep 2016 17:44:52 +0200 Message-ID: <2592566.C9CFSSo88e@xps13> References: <20160922144854.1318-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id C2CEE58C3 for ; Thu, 22 Sep 2016 17:44:55 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id l132so335169509wmf.0 for ; Thu, 22 Sep 2016 08:44:55 -0700 (PDT) In-Reply-To: <20160922144854.1318-1-ferruh.yigit@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-09-22 15:48, Ferruh Yigit: > Compile error: > .../lib/librte_eal/linuxapp/kni/kni_net.c: > In function =E2=80=98kni_net_rx_lo_fifo=E2=80=99: > .../lib/librte_eal/linuxapp/kni/kni_net.c:331:1: > error: the frame size of 1056 bytes is larger than 1024 bytes > [-Werror=3Dframe-larger-than=3D] >=20 > This compile error seen with some compiler / kernel combinations. >=20 > Moved some local variables to the kni_dev struct. >=20 > Fixes: 8451269e6d7b ("kni: remove continuous memory restriction") >=20 > Signed-off-by: Ferruh Yigit Applied, thanks