]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ixgbevf: Update ixgbevf_alloc_rx_buffers to handle clearing of status bits
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 8 Nov 2014 01:39:15 +0000 (01:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Nov 2014 22:21:30 +0000 (14:21 -0800)
commitbafa578fdfb2e9861dcaf7d9863e1265aff226c9
treea195ab53f08bbe34109610616bc663b0d8732cb3
parentdaaf427c6ab392bedcd018e326b2ffa1e1110cd6
ixgbevf: Update ixgbevf_alloc_rx_buffers to handle clearing of status bits

Instead of clearing the status bits in the cleanup it makes more sense to
just clear the status bits on allocation.  This way we can leave the Rx
descriptor rings as a read only memory block until we actually have buffers
to give back to the hardware.

CC: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c