Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: stmmac: Use AVB mode by default

Prior to the recent multi-queue changes the driver would configure the
queues to use the AVB mode, but the mode then got switched to DCB. The
hardware still works fine in DCB mode, but my testing capabilities are
limited, so it's safer to revert to the prior setting anyway.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-By: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Thierry Reding and committed by
David S. Miller
2d72d501 33e85b8d

+2 -2
+2 -2
include/linux/stmmac.h
··· 56 56 #define MTL_RX_ALGORITHM_WSP 0x5 57 57 58 58 /* RX/TX Queue Mode */ 59 - #define MTL_QUEUE_DCB 0x0 60 - #define MTL_QUEUE_AVB 0x1 59 + #define MTL_QUEUE_AVB 0x0 60 + #define MTL_QUEUE_DCB 0x1 61 61 62 62 /* The MDC clock could be set higher than the IEEE 802.3 63 63 * specified frequency limit 0f 2.5 MHz, by programming a clock divider