Re: [PATCH v2] mlxsw: spectrum_qdisc: Fix 64-bit division error in mlxsw_sp_qdisc_tbf_rate_kbps

From: Jiri Pirko
Date: Fri Jan 31 2020 - 09:27:56 EST


Fri, Jan 31, 2020 at 02:51:23AM CET, natechancellor@xxxxxxxxx wrote:
>When building arm32 allmodconfig:
>
>ERROR: "__aeabi_uldivmod"
>[drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko] undefined!
>
>rate_bytes_ps has type u64, we need to use a 64-bit division helper to
>avoid a build error.
>
>Fixes: a44f58c41bfb ("mlxsw: spectrum_qdisc: Support offloading of TBF Qdisc")
>Signed-off-by: Nathan Chancellor <natechancellor@xxxxxxxxx>

Acked-by: Jiri Pirko <jiri@xxxxxxxxxxxx>