]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Move port module events enablement to a separate function
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 13 Apr 2022 15:17:27 +0000 (18:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 10:06:12 +0000 (11:06 +0100)
commit0e4bffb3617b97416df630ab5fb842d6fa362349
treebadc53eceafe850a1bf0d25532bdf779ed252e57
parentac4f6f6859ca7b1be7100d43a0e5f003875cd4ea
mlxsw: core: Move port module events enablement to a separate function

Use a separate function for enablement of port module events such
plug/unplug and temperature threshold crossing. The motivation is to
reuse the function for line cards.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_env.c