[dpdk-dev] [PATCH v2 0/4] kni: fix build with kernel 4.1

2015-06-26 Thread Miguel Bernal Marin
Due to API changes in netdevice.h in 4.1 kernel release, KNI modules would not build. This patch set adds the properly checks to fix compilation. Changes in v2: - Fixed vHost module build errors. Miguel Bernal Marin (4): kni: fix igb_ndo_bridge_getlink to buid with 4.1 kni: fix header_ops

[dpdk-dev] [PATCH v2 1/4] kni: fix igb_ndo_bridge_getlink to build with 4.1

2015-06-26 Thread Miguel Bernal Marin
ndo_bridge_getlink has changed in kernel release 4.1. It adds new parameter which brakes compilation. This patch add the properly checks to fix it. Fixes: 46c264d5 ("bridge/nl: remove wrong use of NLM_F_MULTI") Signed-off-by: Miguel Bernal Marin --- lib/librte_eal/linuxapp/kni/e

[dpdk-dev] [PATCH v2 2/4] kni: fix header_ops to build with 4.1

2015-06-26 Thread Miguel Bernal Marin
rebuild member was removed from headers_ops in kernel release 4.1. Therefore kni module compilation breaks. This patch add the properly checks to fix it. Fixes: d476059e77d1 ("net: Kill dev_rebuild_header") Signed-off-by: Miguel Bernal Marin --- lib/librte_eal/linuxapp/kni/kni

[dpdk-dev] [PATCH v2 3/4] kni: fix function parameter from proto_ops pointers

2015-06-26 Thread Miguel Bernal Marin
Parameters from sendmsg and recvmsg has been changed in 4.1 kernel. The function pointers belong to proto_ops structure were updated removing the struct kiocb parameter. Fixes: 1b784140474e ("net: Remove iocb argument from sendmsg and recvmsg") Signed-off-by: Miguel Bernal Marin

[dpdk-dev] [PATCH v2 4/4] kni: fix missing validation when vhost HDR is enabled

2015-06-26 Thread Miguel Bernal Marin
n't bother copying iovecs in handle_rx(), kill memcpy_toiovecend()") Signed-off-by: Miguel Bernal Marin --- lib/librte_eal/linuxapp/kni/kni_vhost.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c b/lib/librte_eal/li

[dpdk-dev] [PATCH v4 0/7] Add instalation rules for dpdk files.

2015-10-14 Thread Miguel Bernal Marin
e for installing headers >mk: Add rule for installing app files >mk: Add rule for installing libraries >mk: Add rule for installing modules >mk: Add rule for installing documentation >mk: Add rule for installing sdk files >mk: Add rule for installing runtime files > > mk/rte.sdkinstall.mk | 115 > ++- > mk/rte.sdkroot.mk| 6 ++- > 2 files changed, 118 insertions(+), 3 deletions(-) > -- Regards, Miguel Bernal MarinOpen Source Technology Center https://clearlinux.org Intel Corporation

[dpdk-dev] Headers files with BSD license in kernel

2015-06-09 Thread Miguel Bernal Marin
Hi, I'm working on Clear Linux project, and when I was integrating DPDK kernel modules to our kernel I found there are two headers with BSD License rte_pci_dev_feature_defs.h rte_pci_dev_features.h those are included in igb_uio module. Are those licenses correct? Thanks, Miguel

[dpdk-dev] Headers files with BSD license in kernel

2015-06-09 Thread Miguel Bernal Marin
Including maintainers in CC On Tue, Jun 09, 2015 at 12:40:57PM -0500, Miguel Bernal Marin wrote: > Hi, > > I'm working on Clear Linux project, and when I was integrating DPDK > kernel modules to our kernel I found there are two headers with > BSD License > >

[dpdk-dev] [PATCH 0/2] kni: fix build with kernel 4.1

2015-06-25 Thread Miguel Bernal Marin
Due to API changes in netdevice.h in 4.1 kernel release, KNI modules would not build. This patch set adds the properly checks to fix compilation. Miguel Bernal Marin (2): kni: fix igb_ndo_bridge_getlink in 4.1 kni: fix header_ops in 4.1 lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c

[dpdk-dev] [PATCH 2/2] kni: fix header_ops to build with 4.1

2015-06-25 Thread Miguel Bernal Marin
rebuild member was removed from headers_ops in kernel release 4.1. Therefore kni module compilation breaks. This patch add the properly checks to fix it. Fixes: d476059e77d1 ("net: Kill dev_rebuild_header") Signed-off-by: Miguel Bernal Marin --- lib/librte_eal/linuxapp/kni/kni

[dpdk-dev] [PATCH 1/2] kni: fix igb_ndo_bridge_getlink to build with 4.1

2015-06-25 Thread Miguel Bernal Marin
ndo_bridge_getlink has changed in kernel release 4.1. It adds new parameter which brakes compilation. This patch add the properly checks to fix it. Fixes: 46c264d5 ("bridge/nl: remove wrong use of NLM_F_MULTI") Signed-off-by: Miguel Bernal Marin --- lib/librte_eal/linuxapp/kni/e

[dpdk-dev] [PATCH 0/2] kni: fix build with kernel 4.1

2015-06-26 Thread Miguel Bernal Marin
On 06/25/2015 04:56 PM, De Lara Guarch, Pablo wrote: > Hi Miguel, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Miguel Bernal >> Marin >> Sent: Thursday, June 25, 2015 8:10 PM >> To: dev at dpdk.org >> Subj