diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2022-11-23 17:59:13 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-01-10 09:08:35 +0300 |
commit | b5e23931c45a2f99f60a2f2b98a9e4d5a62a5b13 (patch) | |
tree | 1282912a6d8160b0157a8bf230e6b3eaaade8d13 /tools/spi | |
parent | 31c70bfe58ef09fe36327ddcced9143a16e9e83d (diff) | |
download | linux-b5e23931c45a2f99f60a2f2b98a9e4d5a62a5b13.tar.xz |
net/mlx5e: IPoIB, Fix child PKEY interface stats on rx path
The current code always does the accounting using the
stats from the parent interface (linked in the rq). This
doesn't work when there are child interfaces configured.
Fix this behavior by always using the stats from the child
interface priv. This will also work for parent only
interfaces: the child (netdev) and parent netdev (rq->netdev)
will point to the same thing.
Fixes: be98737a4faa ("net/mlx5e: Use dynamic per-channel allocations in stats")
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions