net/ixgbe: fix TM hierarchy commit check
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 26 Jul 2017 14:54:13 +0000 (22:54 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 31 Jul 2017 17:16:23 +0000 (19:16 +0200)
commitad3782f7fe28b99420e85db48af5b5e14f49a543
treeb0dacd4b9242c6f202bcdede5c004cfe0f8ee41f
parente7b9d1d2806c6bb8f30922c3cd6736b3076b7ec2
net/ixgbe: fix TM hierarchy commit check

If there's no Traffic Management node added,
not necessary to check if TM is committed.

Fixes: 5713ade69776 ("net/ixgbe: support committing TM hierarchy")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c