i40e/i40evf: carefully fill tx ring
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 6 Feb 2014 05:51:13 +0000 (05:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Mar 2014 02:42:05 +0000 (18:42 -0800)
commitbe56052154c7129e6aab0e944f3d1ab331ff0cea
treeb22a526f7d0c97d9329ff8b19b069841e27806d0
parentff80301efad4818938470326b9879bb960f5e66c
i40e/i40evf: carefully fill tx ring

We need to make sure that we stay away from the cache line
where the DD bit (done) may be getting written back for
the transmit ring since the hardware may be writing the
whole cache line for a partial update.

Change-ID: Id0b6dfc01f654def6a2a021af185803be1915d7e
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c