diff options
| author | Parav Pandit <parav@nvidia.com> | 2021-02-17 09:23:29 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-10 22:01:57 +0300 |
| commit | 8b90d897823b28a51811931f3bdc79f8df79407e (patch) | |
| tree | 914fc4e29e9ed0804ab451221f1fc8bffbee9039 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 8256c69b2d9c35e94d0e424184c0d27b59bdee12 (diff) | |
| download | linux-8b90d897823b28a51811931f3bdc79f8df79407e.tar.xz | |
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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
