i40e: Add log entry while creating or deleting TC0
authorPiotr Kwapulinski <piotr.kwapulinski@intel.com>
Tue, 28 May 2019 17:59:18 +0000 (10:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Jun 2019 16:18:54 +0000 (09:18 -0700)
Generate log entry when TC0 is created or deleted.
Log entry is generated during main VSI setup.
Before there was no log info about adding or deleting TC0.

Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 7c43ec5..eee4dbf 100644 (file)
@@ -6960,6 +6960,10 @@ config_tc:
                            vsi->seid);
                need_reset = true;
                goto exit;
+       } else {
+               dev_info(&vsi->back->pdev->dev,
+                        "Setup channel (id:%u) utilizing num_queues %d\n",
+                        vsi->seid, vsi->tc_config.tc_info[0].qcount);
        }
 
        if (pf->flags & I40E_FLAG_TC_MQPRIO) {