Thread (3 messages) 3 messages, 2 authors, 2016-12-22

Re: [PATCH v3] stmmac: enable rx queues

From: David Miller <davem@davemloft.net>
Date: 2016-12-21 18:26:50
Also in: lkml

From: Joao Pinto <redacted>
Date: Tue, 20 Dec 2016 17:09:28 +0000
When the hardware is synthesized with multiple queues, all queues are
disabled for default. This patch adds the rx queues configuration.
This patch was successfully tested in a Synopsys QoS Reference design.

Signed-off-by: Joao Pinto <redacted>
---
changes v2 -> v3 (Seraphin Bonnaffe):
- GMAC_RX_QUEUE_CLEAR macro simplified
changes v1 -> v2 (Niklas Cassel and Seraphin Bonnaffe):
- Instead of using number of DMA channels, lets use number of queues
- Create 2 flavors of RX queue enable Macros: AV and DCB (AV by default)
- Make sure that the RX queue related bits are cleared before setting
- Check if rx_queue_enable is available before executing
This change seems more appropriate for net-next, please resubmit when
that tree opens up again.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help