Skip to content
Commit 8029ced6 authored by Nitesh B Venkatesh's avatar Nitesh B Venkatesh Committed by Greg Kroah-Hartman
Browse files

iavf: Prevent changing static ITR values if adaptive moderation is on

[ Upstream commit e792779e ]

Resolve being able to change static values on VF when adaptive interrupt
moderation is enabled.

This problem is fixed by checking the interrupt settings is not
a combination of change of static value while adaptive interrupt
moderation is turned on.

Without this fix, the user would be able to change static values
on VF with adaptive moderation enabled.

Fixes: 65e87c03

 ("i40evf: support queue-specific settings for interrupt moderation")
Signed-off-by: default avatarNitesh B Venkatesh <nitesh.b.venkatesh@intel.com>
Tested-by: default avatarGeorge Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4374e414
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