]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Use priv stats in completion rx flow
authorFeras Daoud <ferasda@mellanox.com>
Sun, 2 Sep 2018 19:12:10 +0000 (22:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 23:22:42 +0000 (16:22 -0700)
commit081468d32a79d7e23f4caca5209ec1ed5cdb53e5
tree8076ac9c8b24a536f4c4b62b320f464a5e87d933
parentca8c1cfd0e24644220396dfd7a8da4d80760558e
net/mlx5e: IPoIB, Use priv stats in completion rx flow

Since the RQs are shared between all pkey interfaces, the stats
should be taken from where the per-ring stats are stored instead
of the parent RQ.

Fixes: 09650613aac5 ("net/mlx5e: IPoIB, Add PKEY child interface nic profile")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c