igb: move PEROUT and EXTTS isr logic to separate functions
authorRuud Bos <kernel.hbk@gmail.com>
Thu, 28 Oct 2021 14:34:57 +0000 (16:34 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Dec 2021 18:01:03 +0000 (10:01 -0800)
commitcf99c1dd7b7729091043374b90807c7a5f9fd9b1
tree487ff87b02036e47e06b9ce36f927586c9639f51
parent8ab55aba31eeb0b9b734c0c0526be1915d076305
igb: move PEROUT and EXTTS isr logic to separate functions

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: Ruud Bos <kernel.hbk@gmail.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c