git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b9d1d
)
net/ixgbe: fix TM hierarchy commit check
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Wed, 26 Jul 2017 14:54:13 +0000
(22:54 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 31 Jul 2017 17:16:23 +0000
(19:16 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_ethdev.c
b/drivers/net/ixgbe/ixgbe_ethdev.c
index
194058f
..
e436dca
100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/
drivers/net/ixgbe/ixgbe_ethdev.c
@@
-2693,7
+2693,7
@@
skip_link_setup:
ixgbe_l2_tunnel_conf(dev);
ixgbe_filter_restore(dev);
- if (!tm_conf->committed)
+ if (
tm_conf->root &&
!tm_conf->committed)
PMD_DRV_LOG(WARNING,
"please call hierarchy_commit() "
"before starting the port");