IB/mlx5: Fix wrong naming of port_rcv_data counter
authorTalat Batheesh <talatb@mellanox.com>
Wed, 22 Jun 2016 14:27:27 +0000 (17:27 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:03:57 +0000 (10:03 -0400)
commit00bf534fce23048aa0e6fd8dbceedf097ee65508
tree3d1303dfd14fb1361966ff75bb2144220c7cd7ca
parentc9b254955b9f8814966f5dabd34c39d0e0a2b437
IB/mlx5: Fix wrong naming of port_rcv_data counter

port_xmit_data is written instead of port_rcv_data.

Fixes: 3efd9a11212d ('IB/mlx5: Modify MAD reading counters method to use counter registers')
Signed-off-by: Talat Batheesh <talatb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mad.c