Thread (19 messages) 19 messages, 7 authors, 2013-05-29

Re: [PATCH net-next 1/4] igb: refactor and simplify time sync interrupt handling

From: Jeff Kirsher <hidden>
Date: 2013-05-28 00:44:20

On Mon, 2013-05-27 at 11:21 +0200, Richard Cochran wrote:
The code that handles the time sync interrupt is repeated in three
different places. This patch refactors the identical code blocks into
a single helper function. Also, reading the TSICR register already
acknowledges the time sync interrupts, and so there is no need to
write that register at all.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
 drivers/net/ethernet/intel/igb/igb_main.c |   47
+++++++++++------------------
 1 file changed, 17 insertions(+), 30 deletions(-) 
Thanks Richard, I will add this to my queue.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help