diff options
author | Petr Machata <[email protected]> | 2023-11-20 19:25:29 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-21 14:53:09 -0800 |
commit | 2b7bccd1f167aa056206cc2551514b35c9fd30ab (patch) | |
tree | a5088a9ba50d7b7d2f133773da6f8aeded68ff98 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | b51c876c2297f8b32ca579712e3ab1490114d1ee (diff) |
mlxsw: spectrum_fid: Extract SFMR packing into a helper
Both mlxsw_sp_fid_op() and mlxsw_sp_fid_edit_op() pack the core of SFMR the
same way. Extract the common code into a helper and call that. Extract out
of that a wrapper that just calls mlxsw_reg_sfmr_pack(), because it will
be useful for the dummy family later on.
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/31f32b4d767183f6cb197148d0792feab2efadba.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