igc: Add condition for qbv_config_change_errors counter

[ Upstream commit ed89b74d2d ]

Add condition to increase the qbv counter during taprio qbv
configuration only.

There might be a case when TC already been setup then user configure
the ETF/CBS qdisc and this counter will increase if no condition above.

Fixes: ae4fe46983 ("igc: Add qbv_config_change_errors counter")
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Muhammad Husaini Zulkifli 2023-05-15 14:03:36 +08:00 • committed by Greg Kroah-Hartman
commit 2e8ae808f3
3 changed files with 4 additions and 0 deletions