net/i40e: fix not supporting NULL TM profile
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Tue, 17 Oct 2017 05:50:38 +0000 (13:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:00 +0000 (02:33 +0200)
commit70039fe684bf4c547e7ce12510afd8d80fb0bbbe
treeae8d2e6ebb65664ba275b9419ac718bf36604ef9
parent7039bcacb9abb6faa2f16c63fdbf52ca4f1a707e
net/i40e: fix not supporting NULL TM profile

It's by design that APP can add a TM node without shaper
profile. But i40e doesn't support it currently.

Fixes: 03a249b62bbd ("net/i40e: support adding TM node")
Fixes: cac29c3c00a4 ("net/i40e: support committing TM hierarchy")
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