net/octeontx2: introduce traffic manager
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Wed, 29 May 2019 17:19:53 +0000 (22:49 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Jul 2019 23:52:01 +0000 (01:52 +0200)
commite7b4cc8c47152f13271984ab1800edb820328d83
tree0ff1a38992840f4c762a5553f0c417d44393e535
parent711baf1c2ac62e1fbca717aeab216fe6d3992d21
net/octeontx2: introduce traffic manager

Introduce traffic manager infra and default hierarchy
creation.

Upon ethdev configure, a default hierarchy is
created with one-to-one mapped tm nodes. This topology
will be overridden when user explicitly creates and commits
a new hierarchy using rte_tm interface.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Krzysztof Kanas <kkanas@marvell.com>
drivers/net/octeontx2/Makefile
drivers/net/octeontx2/meson.build
drivers/net/octeontx2/otx2_ethdev.c
drivers/net/octeontx2/otx2_ethdev.h
drivers/net/octeontx2/otx2_tm.c [new file with mode: 0644]
drivers/net/octeontx2/otx2_tm.h [new file with mode: 0644]