From: Piotr Kwapulinski Date: Tue, 28 May 2019 17:59:18 +0000 (-0700) Subject: i40e: Add log entry while creating or deleting TC0 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d47186e7ef9193eb95ce59290227eaf62e7c4f6d;p=openwrt%2Fstaging%2Fblogic.git 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: Piotr Kwapulinski Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 7c43ec533385..eee4dbf40fec 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -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) {