Re: [PATCH net-next 2/3] net: stmmac: TX and RX queue priority configuration
From: Joao Pinto <hidden>
Date: 2017-03-17 11:16:45
Às 4:55 PM de 3/16/2017, Florian Fainelli escreveu:
On 03/16/2017 03:56 AM, Joao Pinto wrote:quoted
This patch adds the configuration of RX and TX queues' priority. Signed-off-by: Joao Pinto <redacted> --- Documentation/devicetree/bindings/net/stmmac.txt | 5 +++ drivers/net/ethernet/stmicro/stmmac/common.h | 4 ++ drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 13 ++++++ drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 37 +++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 48 ++++++++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 4 ++ .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 16 ++++++++ include/linux/stmmac.h | 4 ++ 8 files changed, 131 insertions(+)diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt index a7b0e41..b9a9ae9 100644 --- a/Documentation/devicetree/bindings/net/stmmac.txt +++ b/Documentation/devicetree/bindings/net/stmmac.txt@@ -83,6 +83,7 @@ Optional properties: - snps,dcb-algorithm: Queue to be enabled as DCB - snps,avb-algorithm: Queue to be enabled as AVB - snps,map-to-dma-channel: Channel to map + - snps,priority: RX queue priorityYou need to be more verbose about how this property is constructed and what are the acceptable values: type, size, range.
Ok, I will do that. Thanks.