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
@@ -469,6 +469,10 @@ struct stmmac_ops {
|
||||
int (*rx_ipc)(struct mac_device_info *hw);
|
||||
/* Enable RX Queues */
|
||||
void (*rx_queue_enable)(struct mac_device_info *hw, u8 mode, u32 queue);
|
||||
/* RX Queues Priority */
|
||||
void (*rx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
|
||||
/* TX Queues Priority */
|
||||
void (*tx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
|
||||
/* Program RX Algorithms */
|
||||
void (*prog_mtl_rx_algorithms)(struct mac_device_info *hw, u32 rx_alg);
|
||||
/* Program TX Algorithms */
|
||||
|
Reference in New Issue
Block a user