diff options
| author | Petr Machata <[email protected]> | 2023-10-19 10:27:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-10-20 10:47:49 +0000 |
| commit | b2e9b1fe8c2e096782c10db868889c64ef8f8a53 (patch) | |
| tree | e728e981494a6cbf3d726d28baa495e3d822a7e8 /net/unix/unix_bpf.c | |
| parent | mlxsw: cmd: Add QUERY_FW.lag_mode_support (diff) | |
| download | kernel-b2e9b1fe8c2e096782c10db868889c64ef8f8a53.tar.gz kernel-b2e9b1fe8c2e096782c10db868889c64ef8f8a53.zip | |
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 <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
