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

Tom Rini trini at konsulko.com
Mon Nov 28 16:58:23 CET 2022


On Thu, Oct 27, 2022 at 05:49:33PM -0700, Tim Harvey 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.
> 
> Suggested-by: Vladimir Oltean <vladimir.oltean at nxp.com>
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>
> Reviewed-by: Fabio Estevam <festevam at denx.de>

This causes:
FAILED test/py/tests/test_ut.py::test_ut[ut_dm_dm_test_dsa] - AssertionError: assert False

In sandbox, and I don't know if the test or the code is wrong.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221128/3966a3e9/attachment.sig>


More information about the U-Boot mailing list