Re: [PATCH net-next 09/10] net: microchip: sparx5: initialize PSFP

From: Simon Horman
Date: Sat Feb 04 2023 - 07:46:33 EST


On Thu, Feb 02, 2023 at 11:43:54AM +0100, Daniel Machon wrote:
> Initialize the SDLB's, stream gates and stream filters.
>
> Signed-off-by: Daniel Machon <daniel.machon@xxxxxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>

> ---
> .../ethernet/microchip/sparx5/sparx5_main.h | 3 +++
> .../ethernet/microchip/sparx5/sparx5_psfp.c | 18 ++++++++++++++++++
> .../net/ethernet/microchip/sparx5/sparx5_qos.c | 2 ++
> 3 files changed, 23 insertions(+)
>
> diff --git a/drivers/net/ethernet/microchip/sparx5/sparx5_main.h b/drivers/net/ethernet/microchip/sparx5/sparx5_main.h
> index cffed893fb7b..72e7928912eb 100644
> --- a/drivers/net/ethernet/microchip/sparx5/sparx5_main.h
> +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_main.h
> @@ -456,6 +456,7 @@ int sparx5_sdlb_group_del(struct sparx5 *sparx5, u32 group, u32 idx);
>
> void sparx5_sdlb_group_init(struct sparx5 *sparx5, u64 max_rate, u32 min_burst,
> u32 frame_size, u32 idx);
> +

nit: This hunk appears to belong in patch 4/9
No need to respin because of this, afaic.

> /* sparx5_police.c */
> enum {
> /* More policer types will be added later */

...