mlxsw: cmd: Add CONFIG_PROFILE.{set_, }lag_mode
authorPetr Machata <petrm@nvidia.com>
Thu, 19 Oct 2023 10:27:13 +0000 (12:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2023 10:47:49 +0000 (11:47 +0100)
commiteb26a59232770fc6137759965437ea55d067134b
tree3e36331783c4625257b6ea757c457a290736fd17
parentbe9ed47d3fab36cf20c6efef5d1060e7652a7bf0
mlxsw: cmd: Add CONFIG_PROFILE.{set_, }lag_mode

Add CONFIG_PROFILE.lag_mode, which serves for moving responsibility for
placement of the LAG table from FW to SW. Whether lag_mode should be
configured is determined by CONFIG_PROFILE.set_lag_mode, which also add.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/cmd.h