aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef10.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-09-12 00:00:15 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-11 17:13:24 -0700
commit4a681bf3456fe0c53851646ffe2229145f2b6159 (patch)
tree458a4f7559d6ea83de5bb451db2467264fd06b49 /drivers/net/ethernet/sfc/ef10.c
parentMerge branch 'sfc-misc-cleanups' (diff)
downloadlinux-dev-4a681bf3456fe0c53851646ffe2229145f2b6159.tar.xz
linux-dev-4a681bf3456fe0c53851646ffe2229145f2b6159.zip
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>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10.c')
0 files changed, 0 insertions, 0 deletions