linux_dsm_epyc7002/drivers/net/ethernet/intel/igb
Alexander Duyck 1d9daf45b4 igb: Update igb Tx flags to improve code efficiency
This change is meant to improve the efficiency of the Tx flags in igb by
aligning them with the values that will later be written into either the
cmd_type or olinfo.  By doing this we are able to reduce most of these
functions to either just a simple shift followed by an or in the case of
cmd_type, or an and followed by an or in the case of olinfo.

In order to avoid type conversion errors I also adjusted the locations
where we were switching between CPU and little endian.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-13 14:18:14 -05:00
..
e1000_82575.c igb: Clear Go Link Disconnect for 82580 and later devices 2012-11-13 14:18:14 -05:00
e1000_82575.h igb: Split igb_update_dca into separate Tx and Rx functions 2012-10-19 04:42:13 -07:00
e1000_defines.h igb: Update firmware version info for ethtool output. 2012-10-29 23:49:29 -07:00
e1000_hw.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.c igb: Add function to read i211's invm version 2012-11-01 02:35:52 -07:00
e1000_i210.h igb: Add function to read i211's invm version 2012-11-01 02:35:52 -07:00
e1000_mac.c igb: Enable auto-crossover during forced operation on 82580 and above. 2012-10-29 23:49:11 -07:00
e1000_mac.h igb: Add function to read i211's invm version 2012-11-01 02:35:52 -07:00
e1000_mbx.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_nvm.c igb: Add function to read i211's invm version 2012-11-01 02:35:52 -07:00
e1000_nvm.h igb: Update firmware version info for ethtool output. 2012-10-29 23:49:29 -07:00
e1000_phy.c igb: Enable auto-crossover during forced operation on 82580 and above. 2012-10-29 23:49:11 -07:00
e1000_phy.h igb: Clear Go Link Disconnect for 82580 and later devices 2012-11-13 14:18:14 -05:00
e1000_regs.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
igb_ethtool.c igb: Support for modifying UDP RSS flow hashing 2012-11-13 14:18:14 -05:00
igb_main.c igb: Update igb Tx flags to improve code efficiency 2012-11-13 14:18:14 -05:00
igb_ptp.c igb: Fix sparse warning in igb_ptp_rx_pktstamp 2012-10-29 23:49:34 -07:00
igb.h igb: Update igb Tx flags to improve code efficiency 2012-11-13 14:18:14 -05:00
Makefile ptp: Enable clock drivers along with associated net/PHY drivers 2012-11-01 11:35:18 -04:00