Commit 5cd7afd6 authored by Ruud Bos's avatar Ruud Bos Committed by Sasha Levin
Browse files

igb: move PEROUT and EXTTS isr logic to separate functions



[ Upstream commit cf99c1dd ]

Remove code duplication in the tsync interrupt handler function by moving
this logic to separate functions. This keeps the interrupt handler readable
and allows the new functions to be extended for adapter types other than
i210.

Signed-off-by: default avatarRuud Bos <kernel.hbk@gmail.com>
Tested-by: default avatarGurucharan G <gurucharanx.g@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: ee14cc9e ("igb: Fix missing time sync events")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d70f1c85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment