]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Let the Rx buffer allocation clear status bits instead of cleanup
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 31 Jan 2012 02:59:34 +0000 (02:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Feb 2012 23:49:14 +0000 (15:49 -0800)
commit3f182db1b18bc2a326d8d827a1eedf31217eb89f
tree96376aebd1253a17bec049178893c1f82c579fc3
parent5666be9ec7db860a93fa7f5462369f8c0c6e213e
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.

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c