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>
This commit is contained in:

committed by
David S. Miller

parent
aff3d9eff8
commit
a8f5102af2
@@ -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 {
|
||||
|
Reference in New Issue
Block a user