net/i40e: fix TM level capability getting
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Tue, 17 Oct 2017 05:50:35 +0000 (13:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:00 +0000 (02:33 +0200)
commit0d0f144831b24d5b54a75631de9f6c5b9074b4ce
tree9ff404d55c67a8717ff99b505c1cc181c97d6df7
parent1be6985827ff4f189e827f19de5e26d4f5ca8a73
net/i40e: fix TM level capability getting

Only queue nodes should be taken as leaf nodes, all
the other nodes are non-leaf nodes.
Correct it when getting the TM level capability.

Fixes: 0fb1ef1e7930 ("net/i40e: support getting TM level capability")
Cc: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
drivers/net/i40e/i40e_tm.c