By design, all the queues are leaf nodes and others are non-leaf nodes, and the shaper profile can be null. Currently the i40e and ixgbe implementation doesn't follow this design. This patch set fixes this issue.
v2: - fixed the wrong parent node on i40e. Wenzhuo Lu (7): net/i40e: fix TM node parameter checking net/i40e: fix TM level capability getting net/ixgbe: fix TM node parameter checking net/ixgbe: fix TM level capability getting net/i40e: fix not supporting NULL TM profile net/ixgbe: fix not supporting NULL TM profile net/i40e: fix wrong parent when adding TM node drivers/net/i40e/i40e_tm.c | 102 ++++++++++++++++++++++++++----------------- drivers/net/ixgbe/ixgbe_tm.c | 91 ++++++++++++++++++++++---------------- 2 files changed, 117 insertions(+), 76 deletions(-) -- 1.9.3