Commit d47186e7 authored by Piotr Kwapulinski's avatar Piotr Kwapulinski Committed by Jeff Kirsher

i40e: Add log entry while creating or deleting TC0

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: default avatarPiotr Kwapulinski <piotr.kwapulinski@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 4d607043
...@@ -6960,6 +6960,10 @@ static int i40e_setup_tc(struct net_device *netdev, void *type_data) ...@@ -6960,6 +6960,10 @@ static int i40e_setup_tc(struct net_device *netdev, void *type_data)
vsi->seid); vsi->seid);
need_reset = true; need_reset = true;
goto exit; 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) { if (pf->flags & I40E_FLAG_TC_MQPRIO) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment