]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: Refactor clean_rx_irq to reduce overhead and improve performance
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:43:54 +0000 (07:43 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 08:24:26 +0000 (16:24 +0800)
commit40435b759cfd86f0339a642cede34a3984ce5877
tree4ceb02baa4d6b02eea06fe9427e5b033f2034dcf
parent7bae5bf7871199e0dd8766c319088d682d2d0aea
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.

(cherry picked from commit 16eb8815c2355b50bff218513367778e6303e9f9)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb_main.c