diff options
author | 2021-02-17 08:23:29 +0200 | |
---|---|---|
committer | 2021-03-10 11:01:57 -0800 | |
commit | 8b90d897823b28a51811931f3bdc79f8df79407e (patch) | |
tree | 914fc4e29e9ed0804ab451221f1fc8bffbee9039 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | RDMA/mlx5: Fix timestamp default mode (diff) | |
download | wireguard-linux-8b90d897823b28a51811931f3bdc79f8df79407e.tar.xz wireguard-linux-8b90d897823b28a51811931f3bdc79f8df79407e.zip |
net/mlx5e: E-switch, Fix rate calculation division
do_div() returns reminder, while cited patch wanted to use
quotient.
Fix it by using quotient.
Fixes: 0e22bfb7c046 ("net/mlx5e: E-switch, Fix rate calculation for overflow")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions