Skip to content
Commit 4eada1da authored by Lingyu Liu's avatar Lingyu Liu Committed by Greg Kroah-Hartman
Browse files

ice: Reset FDIR counter in FDIR init stage

[ Upstream commit 83c911dc ]

Reset the FDIR counters when FDIR inits. Without this patch,
when VF initializes or resets, all the FDIR counters are not
cleaned, which may cause unexpected behaviors for future FDIR
rule create (e.g., rule conflict).

Fixes: 1f7ea1cd

 ("ice: Enable FDIR Configure for AVF")
Signed-off-by: default avatarJunfeng Guo <junfeng.guo@intel.com>
Signed-off-by: default avatarLingyu Liu <lingyu.liu@intel.com>
Tested-by: default avatarRafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 391d28c0
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