[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y2u8LijNoA1BuXLw@lunn.ch>
Date: Wed, 9 Nov 2022 15:41:50 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Angelo Dureghello <angelo.dureghello@...esys.com>
Cc: vivien.didelot@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: dsa: mv88e6xxx: enable set_policy
On Wed, Nov 09, 2022 at 12:35:21PM +0100, Angelo Dureghello wrote:
> Enabling set_policy capability for mv88e6321.
>
> Signed-off-by: Angelo Dureghello <angelo.dureghello@...esys.com>
> ---
> drivers/net/dsa/mv88e6xxx/chip.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c
> index 2479be3a1e35..78648c80dbc3 100644
> --- a/drivers/net/dsa/mv88e6xxx/chip.c
> +++ b/drivers/net/dsa/mv88e6xxx/chip.c
> @@ -5075,6 +5075,7 @@ static const struct mv88e6xxx_ops mv88e6321_ops = {
> .port_sync_link = mv88e6xxx_port_sync_link,
> .port_set_speed_duplex = mv88e6185_port_set_speed_duplex,
> .port_tag_remap = mv88e6095_port_tag_remap,
> + .port_set_policy = mv88e6352_port_set_policy,
> .port_set_frame_mode = mv88e6351_port_set_frame_mode,
> .port_set_ucast_flood = mv88e6352_port_set_ucast_flood,
> .port_set_mcast_flood = mv88e6352_port_set_mcast_flood,
The mv88e6321 is part of the MV88E6XXX_FAMILY_6320. If this is valid
for the mv88e6321, it should also be valid for mv88e6320. Please add
it there as well.
Thanks
Andrew
Powered by blists - more mailing lists