linux_dsm_epyc7002/drivers/net/ethernet/intel
Alexander Duyck b23c0cc5e8 igb: Make arrays on stack static const to avoid reallocation
While addressing the pin problem I noticed that all of the pin register
values where having to be pushed onto the stack each time the function was
called.  To avoid that I am making them static const so that they should
only need to be allocated once and we can avoid all the instructions to get
them onto the stack..

size before:
   text	   data	    bss	    dec	    hex	filename
 161477	  10512	      8	 171997	  29fdd	drivers/net/ethernet/intel/igb/igb.ko

size after:
   text	   data	    bss	    dec	    hex	filename
 161205	  10512	      8	 171725	  29ecd	drivers/net/ethernet/intel/igb/igb.ko

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-03-06 02:47:09 -08:00
..
e1000 net: e1000: support txtd update delay via xmit_more 2015-01-22 18:10:23 -08:00
e1000e e1000e: remove calls to ioremap/unmap for NVM addr 2015-03-06 02:47:08 -08:00
fm10k fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
i40e i40e: Fix mismatching type for ioremap_len 2015-03-05 22:11:38 -05:00
i40evf i40e/i40evf: Version bump 2015-03-05 08:17:28 -08:00
igb igb: Make arrays on stack static const to avoid reallocation 2015-03-06 02:47:09 -08:00
igbvf igbvf: cleanup msleep() and min/max() usage 2015-02-23 17:11:54 -08:00
ixgb net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
ixgbe ethernet: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
ixgbevf ixgbevf: combine all of the tasks into a single service task 2015-02-05 19:58:45 -08:00
e100.c e100: fix typo in MDI/MDI-X eeprom check in e100_phy_init 2014-12-31 11:55:40 -08:00
Kconfig i40e: Fix dependencies in the i40e driver on configfs 2015-03-03 16:52:41 -05:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00