diff options
author | Joao Pinto <Joao.Pinto@synopsys.com> | 2017-03-17 19:11:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-22 03:24:01 +0300 |
commit | a8f5102af2a7740a4b3200a27beddf27f23f921a (patch) | |
tree | d4ea2723adb6b53dfe467c65227853a2371e9b1a /include/linux | |
parent | aff3d9eff84399e433c4aca65a9bb236581bc082 (diff) | |
download | linux-a8f5102af2a7740a4b3200a27beddf27f23f921a.tar.xz |
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')
-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 { |