]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: streamline Rx buffer allocation and cleanup
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:43:43 +0000 (07:43 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 08:24:12 +0000 (16:24 +0800)
commitecfce3478c7f84de298ae4da0116072593fd80b4
tree500db1906d84b3aca48591a802dbdfeba603a935
parent391b4773d98fdcb460dbae37968df3229cf42294
igb: streamline Rx buffer allocation and cleanup

This change is meant to streamline the Rx buffer allocation and cleanup.
This is accomplished by reducing the number of writes by only having the Rx
descriptor ring written by software during allocation, and it will only be
read during cleanup.

(cherry picked from commit c023cd8898dbee857c8e82b357b4e68dc2d9561d)
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.h
drivers/net/igb/igb_main.c