From: Alexander Duyck Date: Fri, 26 Aug 2011 07:43:54 +0000 (+0000) Subject: igb: Refactor clean_rx_irq to reduce overhead and improve performance X-Git-Tag: v3.2-rc1~129^2~253^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16eb8815c2355b50bff218513367778e6303e9f9;p=pandora-kernel.git igb: Refactor clean_rx_irq to reduce overhead and improve performance This change is meant to be a general cleanup and performance improvement for clean_rx_irq. The previous patch should have updated the allocation so that the rings can be treated as read-only within the clean_rx_irq function. In addition I am re-ordering the operations such that several goals are accomplished including reducing the overhead for packet accounting, reducing the number of items on the stack, and improving overall performance. Signed-off-by: Alexander Duyck Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed