diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2020-01-31 04:51:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-01-31 19:52:41 +0300 |
commit | 91a7d4bf3ee3794d4090cedd17b8e865645f5f79 (patch) | |
tree | 2a4545dcaeb0d6b5c266ff3956d71da2876d2cba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b5ce31b5e11b768b7d685b2bab7db09ad5549493 (diff) | |
download | linux-91a7d4bf3ee3794d4090cedd17b8e865645f5f79.tar.xz |
mlxsw: spectrum_qdisc: Fix 64-bit division error in mlxsw_sp_qdisc_tbf_rate_kbps
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@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions