]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
igb: Split igb_update_dca into separate Tx and Rx functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 25 Sep 2012 00:31:27 +0000 (00:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Oct 2012 11:42:13 +0000 (04:42 -0700)
commit6a05004a8a65f187fa5493821d3115397209ae76
treef575d670280b2b3eb140d05a4917b02fdd504150
parent0c2cc02e571aee1f2193a004508d4d604eff6a8f
igb: Split igb_update_dca into separate Tx and Rx functions

This change makes it so that igb_update_dca is broken into two halves, one
for Rx and one for Tx.  The advantage to this is primarily readability.

In addition I am enabling relaxed ordering for reads from hardware since
this is supported on all of the igb parts.

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>
drivers/net/ethernet/intel/igb/e1000_82575.h
drivers/net/ethernet/intel/igb/igb_main.c