[dpdk-dev] [PATCH v2] kni:fix build failure as "ndo_change_mtu_rh74" not found in RHEL8

Ferruh Yigit ferruh.yigit at intel.com
Wed Dec 19 14:47:03 CET 2018


On 12/19/2018 7:07 AM, Xiao Liang wrote:
> 'ndo_change_mtu_rh74' was changed to 'ndo_change_mtu' in RHEL8.
> 
> Build error log:
> /home/dpdk-18.11/kernel/linux/kni/compat.h:107:24: error: ‘const struct
> net_device_ops’ has no member named ‘ndo_change_mtu_rh74’; did you mean
> ‘ndo_change_mtu’?
>  #define ndo_change_mtu ndo_change_mtu_rh74
> 
>                         ^~~~~~~~~~~~~~~~~~~
> Signed-off-by: Xiao Liang <xiliang at redhat.com>

Suggested title: 'kni: fix build on RHEL 8'

And a request to backport:
Cc: stable at dpdk.org

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>



More information about the dev mailing list