net/ixgbe: fix TM node parameter checking
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Tue, 17 Oct 2017 05:50:36 +0000 (13:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:00 +0000 (02:33 +0200)
commit6bff19690d46a51cb8b5d38d0e0307bc73480673
tree35deec428bdb34c06a5930835fb2a55046fe1e9d
parent0d0f144831b24d5b54a75631de9f6c5b9074b4ce
net/ixgbe: fix TM node parameter checking

Only queue nodes should be taken as leaf nodes, all
the other nodes are non-leaf nodes.
Correct it when checking the parameters of the TM nodes.

Fixes: e0ff4d304ccf ("net/ixgbe: support adding TM node")
Cc: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
drivers/net/ixgbe/ixgbe_tm.c