diff options
author | Petr Machata <[email protected]> | 2023-11-20 19:25:24 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-21 14:53:08 -0800 |
commit | 446bc1e9dec63b419751b8bdecba06fee631672e (patch) | |
tree | 653e4de2051f72bccbe7bc9d8c7b3f1be12ab188 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 642d6a2033d85797e0f8807d0e48bb007d5e73ca (diff) |
mlxsw: reg: Extract flood-mode specific part of mlxsw_reg_sfmr_pack()
In CFF mode, it is necessary to set a different set of SFMR fields. Leave
in mlxsw_reg_sfmr_pack() only the common bits, and move the parts relevant
to controlled flood mode directly to the call site.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Amit Cohen <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/6f29639ebc3ca0722272e6c644ca910096469413.1700503644.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions