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

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Jul 1 15:14:11 CEST 2015


Hi

> -----Original Message-----
> From: Miguel Bernal Marin [mailto:miguel.bernal.marin at linux.intel.com]
> Sent: Friday, June 26, 2015 11:15 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo
> Subject: [PATCH v2 0/4] kni: fix build with kernel 4.1
> 
> 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 to build with 4.1
>   kni: fix function parameter from proto_ops pointers
>   kni: fix missing validation when vhost HDR is enabled
> 
>  lib/librte_eal/linuxapp/kni/compat.h               |  4 ++++
>  lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 10 ++++++++++
>  lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h  |  5 +++++
>  lib/librte_eal/linuxapp/kni/kni_net.c              |  4 ++++
>  lib/librte_eal/linuxapp/kni/kni_vhost.c            | 17 ++++++++++++++++-
>  5 files changed, 39 insertions(+), 1 deletion(-)
> 
> --
> 2.4.4

Thanks!

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list