diff options
author | Parav Pandit <[email protected]> | 2021-02-17 08:23:29 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-03-10 11:01:57 -0800 |
commit | 8b90d897823b28a51811931f3bdc79f8df79407e (patch) | |
tree | 914fc4e29e9ed0804ab451221f1fc8bffbee9039 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 8256c69b2d9c35e94d0e424184c0d27b59bdee12 (diff) |
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 <[email protected]>
Signed-off-by: Maor Dickman <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions