mirror_ubuntu-kernels/drivers/net/ethernet/marvell
Rikard Falkeborn 4a681bf345 octeontx2-af: Constify npc_kpu_profile_{action,cam}
These are never modified, so constify them to allow the compiler to
place them in read-only memory. This moves about 25kB to read-only
memory as seen by the output of the size command.

Before:
   text    data     bss     dec     hex filename
 296203   65464    1248  362915   589a3 drivers/net/ethernet/marvell/octeontx2/af/octeontx2_af.ko

After:
   text    data     bss     dec     hex filename
 321003   40664    1248  362915   589a3 drivers/net/ethernet/marvell/octeontx2/af/octeontx2_af.ko

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-11 17:13:24 -07:00
..
mvpp2 net: mvpp2: ptp: Fix unused variables 2020-09-10 15:15:47 -07:00
octeontx2 octeontx2-af: Constify npc_kpu_profile_{action,cam} 2020-09-11 17:13:24 -07:00
Kconfig net: mvpp2: ptp: add TAI support 2020-09-09 14:22:42 -07:00
Makefile octeontx2-af: Add Marvell OcteonTX2 RVU AF driver 2018-10-10 10:06:01 -07:00
mv643xx_eth.c net: tso: cache transport header length 2020-06-18 20:46:23 -07:00
mvmdio.c net: mvmdio: avoid error message for optional IRQ 2020-03-17 20:54:37 -07:00
mvneta_bm.c net: mvneta: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:52:33 -07:00
mvneta_bm.h net: mvneta: make stub functions static inline 2019-10-25 16:21:48 -07:00
mvneta.c net: mventa: drop mvneta_stats from mvneta_swbm_rx_frame signature 2020-09-10 13:09:33 -07:00
pxa168_eth.c net: pxa168_eth: remove redundant null check before clk_disable_unprepare() 2020-09-09 14:16:33 -07:00
skge.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
skge.h PCI: Add constant PCI_STATUS_ERROR_BITS 2020-03-04 14:21:00 -08:00
sky2.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sky2.h PCI: Add constant PCI_STATUS_ERROR_BITS 2020-03-04 14:21:00 -08:00