diff options
author | Petr Machata <petrm@nvidia.com> | 2023-10-19 12:27:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-20 11:47:49 +0100 |
commit | b2e9b1fe8c2e096782c10db868889c64ef8f8a53 (patch) | |
tree | e728e981494a6cbf3d726d28baa495e3d822a7e8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8eabd10cdce4fc30e4357eab1fd102530fb09275 (diff) |
mlxsw: core, pci: Add plumbing related to LAG mode
lag_mode describes where the responsibility for LAG table placement lies:
SW or FW. The bus module determines whether LAG is supported, can configure
it if it is, and knows what (if any) configuration has been applied.
Therefore add a bus callback to determine the configured LAG mode. Also add
to core an API to query it.
The LAG mode is for now kept at the default value of 0 for FW-managed. The
code to actually toggle it will be added later.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions