]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Let the Rx buffer allocation clear status bits instead of cleanup
authorJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:55:03 +0000 (22:55 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:55:03 +0000 (22:55 +0800)
commit244b2ef2058979e86e2a86def7d0c3484f404a56
tree4e7f3d8feb0cdc3083315303caf3dc117e290b58
parent165c90f7eb64142db460199476baa915eba05742
ixgbe: Let the Rx buffer allocation clear status bits instead of cleanup

This change makes it so that we always clear the status/error bits in the
Rx descriptor in the allocation path instead of the cleanup path.  The
advantage to this is that we spend less time modifying data.  As such we
can modify the data once and then let it go cold in the cache instead of
writing it, reading it, and then writing it again.

(cherry picked from commit f990b79bc80ca7a23b8a6c33241c439072d0b85b)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c