Re: [PATCH] net: broadcom: bnx2x: make a couple of const arrays static

2017-07-13 Thread David Miller
From: Colin King Date: Tue, 11 Jul 2017 11:52:23 +0100 > From: Colin Ian King > > Don't populate various tables on the stack but make them static const. > Makes the object code smaller by nearly 200 bytes: > > Before: >text data bss dec hex filename > 113468 1

RE: [PATCH] net: broadcom: bnx2x: make a couple of const arrays static

2017-07-12 Thread Mintz, Yuval
> Don't populate various tables on the stack but make them static const. > Makes the object code smaller by nearly 200 bytes: > > Before: >text data bss dec hex filename > 113468 11200 0 124668 1e6fc bnx2x_ethtool.o > > After: >text data

[PATCH] net: broadcom: bnx2x: make a couple of const arrays static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate various tables on the stack but make them static const. Makes the object code smaller by nearly 200 bytes: Before: textdata bss dec hex filename 113468 11200 0 124668 1e6fc bnx2x_ethtool.o After: textdata bss dec