aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/super.h
diff options
context:
space:
mode:
authorDragos Tatulea2022-11-23 16:59:13 +0200
committerGreg Kroah-Hartman2023-01-18 11:58:30 +0100
commit0fa15a13670d91ed15c6d0b552404db3fc79642b (patch)
tree8766bbd9a46820b002efca250cd63aa7a4e2cc3b /fs/gfs2/super.h
parent5844a46f09f768da866d6b0ffbf1a9073266bf24 (diff)
net/mlx5e: IPoIB, Fix child PKEY interface stats on rx path
[ Upstream commit b5e23931c45a2f99f60a2f2b98a9e4d5a62a5b13 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/gfs2/super.h')
0 files changed, 0 insertions, 0 deletions