]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core_env: Query and store port module's type during initialization
authorDanielle Ratson <danieller@nvidia.com>
Wed, 26 Jan 2022 10:30:34 +0000 (12:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 11:15:42 +0000 (11:15 +0000)
commitd7876403e22b39f87607b91d0525663546a2fe75
tree3eecc352c083fd992e8b2f74932fdc197bad28a7
parent871ff3615997c3fec7c4f4d4b90a452766faa217
mlxsw: core_env: Query and store port module's type during initialization

Query and store port module's type during initialization so that it
could be later used to determine if certain configurations are allowed
based on the type.

Signed-off-by: Danielle Ratson <danieller@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