]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Use unified register/load function for uplink and VF vports
authorBodong Wang <bodong@mellanox.com>
Wed, 13 Feb 2019 06:55:34 +0000 (22:55 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 14 Feb 2019 20:14:41 +0000 (12:14 -0800)
commit23a9f08c6eacd72d257e654f2b898a0cd3c6b037
tree25934b4095507ba43f62cf67f2ecb3cec98f2490
parentb5c1f702f41db2289d6a67bcbd1646b936bc9861
IB/mlx5: Use unified register/load function for uplink and VF vports

IB driver maintains different registration and load function calls
for uplink and VF vports. This is not necessary as they only differ
with each other on their profiles.

This patch doesn't change any functionality.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/ib_rep.c
drivers/infiniband/hw/mlx5/ib_rep.h
drivers/infiniband/hw/mlx5/main.c