diff options
author | 2017-03-17 16:11:06 +0000 | |
---|---|---|
committer | 2017-03-21 17:24:01 -0700 | |
commit | a8f5102af2a7740a4b3200a27beddf27f23f921a (patch) | |
tree | d4ea2723adb6b53dfe467c65227853a2371e9b1a /include/linux/stmmac.h | |
parent | net: stmmac: enable multiple buffers (diff) | |
download | linux-a8f5102af2a7740a4b3200a27beddf27f23f921a.tar.gz linux-a8f5102af2a7740a4b3200a27beddf27f23f921a.tar.bz2 linux-a8f5102af2a7740a4b3200a27beddf27f23f921a.zip |
net: stmmac: TX and RX queue priority configuration
This patch adds the configuration of RX and TX queues' priority.
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index be47b859e954..b7d5e7ae9591 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -127,6 +127,8 @@ struct stmmac_axi { struct stmmac_rxq_cfg { u8 mode_to_use; u8 chan; + bool use_prio; + u32 prio; }; struct stmmac_txq_cfg { @@ -137,6 +139,8 @@ struct stmmac_txq_cfg { u32 idle_slope; u32 high_credit; u32 low_credit; + bool use_prio; + u32 prio; }; struct plat_stmmacenet_data { |