[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:26:17 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

There is already a patch for it:
https://patches.dpdk.org/patch/48343/

But that one doesn't cover igb, so I suggest to go with this one.

> 
>                         ^~~~~~~~~~~~~~~~~~~
> Signed-off-by: Xiao Liang <xiliang at redhat.com>

<...>


More information about the dev mailing list