From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] kni: fix compilation issue on kernel 3.19 Date: Sun, 22 Mar 2015 23:23:04 +0100 Message-ID: <13995381.n056FK0HbU@xps13> References: <1427047336-7271-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Pablo de Lara Return-path: In-Reply-To: <1427047336-7271-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > From: De Lara Guarch, Pablo > > Due to API changes in functions ndo_dflt_bridge_getlink > (commit 2c3c031c) and ndo_fdb_add (commit f6f6424b) > in kernel 3.19, DPDK would not build. > > This patch solves the problem, by checking the kernel version > and adding the necessary new parameters. > > Mind that function igb_ndo_fdb_add does not need the extra parameter > if USE_CONST_DEV_UC_CHAR is not set, since that macro is only defined > when kernel is greater or equal than 3.7 > > changes in v2: > > - Added commits id of the API changes done in the kernel > - Added missing blank line > - Added extra details in the commit message > > Signed-off-by: Pablo de Lara Acked-by: Thomas Monjalon Applied, thanks