diff options
author | Elad Raz <eladr@mellanox.com> | 2016-10-28 22:35:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-30 23:50:17 +0300 |
commit | d808c7e490350c51a883dec65c4f47e9c5cad79f (patch) | |
tree | 575d766f408bdcb748225820439de475c571f9d5 /drivers/net/ethernet/mellanox/mlxsw/switchx2.c | |
parent | c68b71cb2fa98e2fa1e177278b349cf2653d8d83 (diff) | |
download | linux-d808c7e490350c51a883dec65c4f47e9c5cad79f.tar.xz |
mlxsw: core: Add "eth" prefix to mlxsw_core_port_set
Since we are about to introduce IB port APIs, we will add prefixes to
existing APIs.
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/switchx2.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchx2.c b/drivers/net/ethernet/mellanox/mlxsw/switchx2.c index a905589263d9..d110e3f8bbc5 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/switchx2.c +++ b/drivers/net/ethernet/mellanox/mlxsw/switchx2.c @@ -1098,8 +1098,8 @@ static int __mlxsw_sx_port_create(struct mlxsw_sx *mlxsw_sx, u8 local_port, goto err_register_netdev; } - mlxsw_core_port_set(mlxsw_sx->core, mlxsw_sx_port->local_port, - mlxsw_sx_port, dev, false, 0); + mlxsw_core_port_eth_set(mlxsw_sx->core, mlxsw_sx_port->local_port, + mlxsw_sx_port, dev, false, 0); mlxsw_sx->ports[local_port] = mlxsw_sx_port; return 0; |