[PATCH v6 4/8] net: dsa: allow rcv() and xmit() to be optional

Vladimir Oltean vladimir.oltean at nxp.com
Wed Oct 12 21:06:43 CEST 2022


Hi Simon,

On Mon, Oct 10, 2022 at 04:25:29PM -0600, Simon Glass wrote:
> Hi Tim,
> 
> On Mon, 10 Oct 2022 at 10:40, Tim Harvey <tharvey at gateworks.com> wrote:
> >
> > Allow rcv() and xmit() dsa driver ops to be optional in case a driver
> > does not care to mangle a packet as in U-Boot only one network port is
> > enabled at a time and thus no packet mangling is necessary.
> 
> Should the tests be updated for this?

Patch 3/8 serves as a runtime validation for this change. I don't
believe that adding something more to test/dm/dsa.c is warranted, and I
don't see exactly what can be added, either.


More information about the U-Boot mailing list