linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
Colin Ian King 99d895729f net: hns: make arrays static, makes object smaller
Don't populate the arrays port_map and sl_map on the stack but
instead make them static. Makes the object code smaller by 64 bytes.

Before:
   text	   data	    bss	    dec	    hex	filename
  49575	   6872	     64	  56511	   dcbf	hisilicon/hns/hns_dsaf_main.o

After:
   text	   data	    bss	    dec	    hex	filename
  49350	   7032	     64	  56446	   dc7e	hisilicon/hns/hns_dsaf_main.o

(gcc version 9.2.1, amd64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-07 09:59:56 -04:00
..
hns net: hns: make arrays static, makes object smaller 2019-10-07 09:59:56 -04:00
hns3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
hip04_eth.c net: hisilicon: Fix dma_map_single failed on arm64 2019-08-06 14:14:01 -07:00
hisi_femac.c net: Remove dev_err() usage after platform_get_irq() 2019-07-30 14:37:35 -07:00
hix5hd2_gmac.c net: hisilicon: Fix signedness bug in hix5hd2_dev_probe() 2019-09-27 10:01:36 +02:00
hns_mdio.c net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write() 2019-10-02 14:20:22 -07:00
Kconfig net: hisilicon: Add support for HI13X1 to hip04_eth 2019-07-09 14:29:26 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00