]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: sparx5: ops out functions for getting certain array values
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 4 Oct 2024 13:19:36 +0000 (15:19 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Oct 2024 10:07:01 +0000 (12:07 +0200)
commitbeb36b507170c1337fa25c1c3a44f533b7374cc7
treec8c73946f2c1577a4d46fb1d0997fe8b7d0cffc7
parent20f8bc8755a718fd8358e29ae1e6601a1026e2da
net: sparx5: ops out functions for getting certain array values

Add getters for getting values in arrays: sdlb_groups and
sparx5_hsch_max_group_rate and ops out the getters, as these arrays will
differ on lan969x.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/microchip/sparx5/sparx5_police.c
drivers/net/ethernet/microchip/sparx5/sparx5_psfp.c
drivers/net/ethernet/microchip/sparx5/sparx5_qos.c
drivers/net/ethernet/microchip/sparx5/sparx5_qos.h
drivers/net/ethernet/microchip/sparx5/sparx5_sdlb.c