net: stmmac: pci: Enable TBS on GMAC5 IPK PCI entry
Enable TBS support on GMAC5 PCI entry for all Queues except Queue 0. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
58ae928140
commit
7eadf57290
@@ -401,6 +401,8 @@ static int snps_gmac5_default_data(struct pci_dev *pdev,
|
||||
plat->tx_queues_cfg[i].use_prio = false;
|
||||
plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB;
|
||||
plat->tx_queues_cfg[i].weight = 25;
|
||||
if (i > 0)
|
||||
plat->tx_queues_cfg[i].tbs_en = 1;
|
||||
}
|
||||
|
||||
plat->rx_sched_algorithm = MTL_RX_ALGORITHM_SP;
|
||||
|
||||
Reference in New Issue
Block a user