]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit19052a3b7710c469b478d470deecdebc0e93cb99
tree8076ac9c8b24a536f4c4b62b320f464a5e87d933
parentb75ba3822c617e40ab2ca0fc4ed40a29db9b7787
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: 4c6c615e3f30 ("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