[dpdk-dev] [PATCH v2] kni: fix compilation issue on kernel 3.19

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Mar 22 23:23:04 CET 2015


> From: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> 
> 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 <pablo.de.lara.guarch at intel.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied, thanks


More information about the dev mailing list