> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Wander Lairson Costa > Sent: Wednesday, December 4, 2024 12:42 PM > To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Andrew Lunn <[email protected]>; > David S. Miller <[email protected]>; Eric Dumazet > <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni > <[email protected]>; Sebastian Andrzej Siewior <[email protected]>; Clark > Williams <[email protected]>; Steven Rostedt <[email protected]>; Auke > Kok <[email protected]>; Jeff Garzik <[email protected]>; moderated > list:INTEL ETHERNET DRIVERS <[email protected]>; open > list:NETWORKING DRIVERS <[email protected]>; open list <linux- > [email protected]>; open list:Real-time Linux > (PREEMPT_RT):Keyword:PREEMPT_RT <[email protected]> > Cc: Wander Lairson Costa <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-net 3/4] igb: split igb_msg_task() > > From the perspective of PREEMPT_RT, igb_msg_task() invokes functions that are > a mix of IRQ-safe and non-IRQ-safe operations. > > To address this, we separate igb_msg_task() into distinct IRQ-safe and > preemptible-safe components. This is a preparatory step for upcoming commits, > where the igb_msix_other interrupt handler will be split into IRQ and threaded > handlers, each invoking the appropriate part of the newly divided > igb_msg_task(). > > Signed-off-by: Wander Lairson Costa <[email protected]> > --- > drivers/net/ethernet/intel/igb/igb_main.c | 88 +++++++++++++++++++++-- > 1 file changed, 81 insertions(+), 7 deletions(-) > > diff --git a/drivers/net/ethernet/intel/igb/igb_main.c > b/drivers/net/ethernet/intel/igb/igb_main.c > index 9b4235ec226df..5828831fd29c2 100644 > --- a/drivers/net/ethernet/intel/igb/igb_main.c > +++ b/drivers/net/ethernet/intel/igb/igb_main.c > @@ -149,6 +149,8 @@ static int igb_vlan_rx_kill_vid(struct net_device *,
Tested-by: Rafal Romanowski <[email protected]>
