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
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
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
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
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
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
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
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
>
>
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
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
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
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
12 matches
Mail list logo