[PATCH v6 09/26] net/spnic: support MAC and link event handling
Yanling Song
songyl at ramaxel.com
Fri Jan 21 10:36:27 CET 2022
On Wed, 19 Jan 2022 17:26:47 +0000
Ferruh Yigit <ferruh.yigit at intel.com> wrote:
> On 12/30/2021 6:08 AM, Yanling Song wrote:
> > This commit adds interfaces to add/remove MAC addresses
> > and registers related ops to struct eth_dev_ops. Furthermore,
> > this commit adds callback to handle link events.
> >
>
> The patch also adds the VF dev_ops.
>
> It would be more clear to support PF first and add mbox support and
> VF later. But VF support is crept into the code from early patches, I
> assume that is because the driver is already complete and spliting it
> is hard at this stage..
>
Yes. it is.
> Similarly the primary/secondary support seems spread through the
> patches, hard to separate the feature.
>
>
> Above are sign of the patches are not split logically which makes
> harder to review them and detect any issues, and future fixes
> references won't be clear.
>
> If you can clarify the split more, that would be great but I can see
> it is hard with an existing driver.
>
Sorry for the inconvenient. Will split the patches clearly in the next
version.
> > Signed-off-by: Yanling Song <songyl at ramaxel.com>
>
More information about the dev
mailing list