net/octeontx2: enable Tx through traffic manager
authorKrzysztof Kanas <kkanas@marvell.com>
Sun, 26 May 2019 17:34:42 +0000 (23:04 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Jul 2019 23:52:01 +0000 (01:52 +0200)
commit0b16e2abd69d49f2ab4ab0cbaf7cebaa6eb8c943
treebf158507e664495396a4524658997ba82d04d0b0
parent2f6d5220fbea6db4ff635e923e16c0cf40223d5f
net/octeontx2: enable Tx through traffic manager

This patch enables pkt transmit through traffic manager
hierarchy by clearing software XOFF on the nodes and linking
tx queues to corresponding leaf nodes.
It also adds support to start and stop tx queue using
traffic manager.

Signed-off-by: Krzysztof Kanas <kkanas@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
drivers/net/octeontx2/otx2_ethdev.c
drivers/net/octeontx2/otx2_tm.c
drivers/net/octeontx2/otx2_tm.h