From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: Horatiu Vultur <horatiu.vultur@microchip.com>
Cc: "davem@davemloft.net" <davem@davemloft.net>,
"kuba@kernel.org" <kuba@kernel.org>,
Claudiu Manoil <claudiu.manoil@nxp.com>,
"alexandre.belloni@bootlin.com" <alexandre.belloni@bootlin.com>,
"UNGLinuxDriver@microchip.com" <UNGLinuxDriver@microchip.com>,
"andrew@lunn.ch" <andrew@lunn.ch>,
"vivien.didelot@gmail.com" <vivien.didelot@gmail.com>,
"f.fainelli@gmail.com" <f.fainelli@gmail.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next] net: mscc: Fix MRP switchdev driver
Date: Thu, 18 Feb 2021 13:17:59 +0000 [thread overview]
Message-ID: <20210218131758.g4vsvmowggxdklfj@skbuf> (raw)
In-Reply-To: <20210218114726.648927-1-horatiu.vultur@microchip.com>
Hi Horatiu,
On Thu, Feb 18, 2021 at 12:47:26PM +0100, Horatiu Vultur wrote:
> This patch fixes the ocelot MRP switchdev driver such that also DSA
> driver can use these functions. Before the driver presumed that the
> net_device uses a 'struct ocelot_port_private' as priv which was wrong.
>
> The only reason for using ocelot_port_private was to access the
> net_device, but this can be passed as an argument because we already
> have this information. Therefore update the functions to have also the
> net_device parameter.
>
> Fixes: a026c50b599fa ("net: dsa: felix: Add support for MRP")
> Fixes: d8ea7ff3995ea ("net: mscc: ocelot: Add support for MRP")
> Reported-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
>
> ---
Do you mind if we drop this patch for now (the net-next pull request was
already sent) and I will ensure that the MRP assist for Felix DSA works
properly when I find the time to compile your mrp/cfp user space
packages and give them a try?
There are more issues to be fixed than your patch addresses. For
example, MRP will only work with the NPI-based tagging protocol,
somebody needs to reject MRP objects when ocelot-8021q is in use.
I think it's better for someone who has access to a DSA setup to ensure
that the driver is in a reasonable state.
Sorry for not reviewing the MRP patches in time.
next prev parent reply other threads:[~2021-02-18 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 11:47 [PATCH net-next] net: mscc: Fix MRP switchdev driver Horatiu Vultur
2021-02-18 13:17 ` Vladimir Oltean [this message]
2021-02-18 19:38 ` Horatiu Vultur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210218131758.g4vsvmowggxdklfj@skbuf \
--to=vladimir.oltean@nxp.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew@lunn.ch \
--cc=claudiu.manoil@nxp.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=horatiu.vultur@microchip.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox