net/mlx5: Separate query_port_proto_oper for IB and EN
authorNoa Osherovich <noaos@mellanox.com>
Thu, 2 Jun 2016 07:47:53 +0000 (10:47 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 18 Aug 2016 15:49:52 +0000 (18:49 +0300)
commitd5beb7f2aff4a60237fd97a98d49a78c9045b8f2
tree7b321d490a99f7829c6327ad08f48fd3969e8a5b
parent8cca30a7f914fe363fa9700715619ca5c8cb38cc
net/mlx5: Separate query_port_proto_oper for IB and EN

Replaced mlx5_query_port_proto_oper with separate functions per link
type. The functions should take different arguments so no point in
trying to unite them.

Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/port.h