summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-03-22 03:24:02 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-22 03:24:02 +0300
commit03e1de503046b10864e3fb24e452d6974470b6f9 (patch)
treeabad80262c1741dbd8e794020b24b9586f46578b /include/linux
parentde6b08fd82087778c579dc3f3c28bb1c878a993a (diff)
parentabe80fdc6ee664b2f8515f91b45e852b65dbb1a1 (diff)
downloadlinux-03e1de503046b10864e3fb24e452d6974470b6f9.tar.xz
Merge branch 'stmmac-mq-part3'
Joao Pinto says: ==================== net: stmmac: adding multiple buffers and routing As agreed with David Miller, this patch-set is the third and last to enable multiple queues in stmmac. This third one focuses on: a) Enable multiple buffering to the driver and queue independent data b) Configuration of RX and TX queues' priority c) Configuration of RX queues' routing ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stmmac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index be47b859e954..cd98ee232ad1 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -127,6 +127,9 @@ struct stmmac_axi {
struct stmmac_rxq_cfg {
u8 mode_to_use;
u8 chan;
+ u8 pkt_route;
+ bool use_prio;
+ u32 prio;
};
struct stmmac_txq_cfg {
@@ -137,6 +140,8 @@ struct stmmac_txq_cfg {
u32 idle_slope;
u32 high_credit;
u32 low_credit;
+ bool use_prio;
+ u32 prio;
};
struct plat_stmmacenet_data {