]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf0666f1f22b5748e7caf87481a0869689f9f513d
tree25934b4095507ba43f62cf67f2ecb3cec98f2490
parent7e4c4330a3bc7f34f82b5bc370821e1e16d425fb
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