]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_dcb: Rename mlxsw_sp_port_headroom_set()
authorAmit Cohen <amitc@mellanox.com>
Mon, 29 Jun 2020 20:46:12 +0000 (23:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:45:02 +0000 (17:45 -0700)
commit40cbfe52ae433684ac68cd67e724be7ba50ff0a0
tree5906d43ed89436a9cc274b380605829c0b7520dd
parente874a6e7c755c27a8c368f0788b8366e52bf67d8
mlxsw: spectrum_dcb: Rename mlxsw_sp_port_headroom_set()

mlxsw_sp_port_headroom_set() is defined twice - in spectrum.c and in
spectrum_dcb.c, with different arguments and different implementation
but the name is same.

Rename mlxsw_sp_port_headroom_set() to mlxsw_sp_port_headroom_ets_set()
in order to allow using the second function in several files, and not
only as static function in spectrum.c.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c