net/i40e: support committing TM hierarchy
[dpdk.git] / drivers / net / i40e / i40e_ethdev.c
index 0091511..97a73e1 100644 (file)
@@ -2033,6 +2033,11 @@ i40e_dev_start(struct rte_eth_dev *dev)
 
        i40e_filter_restore(pf);
 
+       if (!pf->tm_conf.committed)
+               PMD_DRV_LOG(WARNING,
+                           "please call hierarchy_commit() "
+                           "before starting the port");
+
        return I40E_SUCCESS;
 
 err_up: