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

2015-05-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, May 04, 2015 10:46 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19 > > Due to commit c0371da6 in kerne

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

2015-05-04 Thread Pablo de Lara
Due to commit c0371da6 in kernel 3.19, which removed msg_iov and msg_iovlen from struct msghdr, DPDK would not build. This patch makes use of struct iov_iter, which has references to those two variables. Reported-by: Thomas Monjalon Signed-off-by: Pablo de Lara --- lib/librte_eal/linuxapp/kni/

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

2015-03-22 Thread De Lara Guarch, Pablo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, March 20, 2015 9:23 PM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 3.19 > > H

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

2015-03-20 Thread Thomas Monjalon
Hi Pablo, 2015-03-12 17:24, Pablo de Lara: > Due to API changes in functions ndo_dflt_bridge_getlink > and igb_ndo_fdb_add in kernel 3.19, DPDK would not build. Please provide the Linux commit id for this change. > This patch solves the problem, by checking the kernel version > and adding the ne

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

2015-03-12 Thread Pablo de Lara
Due to API changes in functions ndo_dflt_bridge_getlink and igb_ndo_fdb_add in kernel 3.19, DPDK would not build. This patch solves the problem, by checking the kernel version and adding the necessary new parameters Signed-off-by: Pablo de Lara --- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_ma