Re: [PATCH] nfp: bpf: make array exp_mask static, makes object smaller

2019-10-08 Thread Jakub Kicinski
On Mon, 7 Oct 2019 12:52:39 +0100, Colin King wrote: > From: Colin Ian King > > Don't populate the array exp_mask on the stack but instead make it > static. Makes the object code smaller by 224 bytes. > > Before: >text data bss dec hex filename > 77832 2290

Re: [PATCH] nfp: bpf: make array exp_mask static, makes object smaller

2019-10-07 Thread Jakub Kicinski
On Mon, 7 Oct 2019 12:52:39 +0100, Colin King wrote: > From: Colin Ian King > > Don't populate the array exp_mask on the stack but instead make it > static. Makes the object code smaller by 224 bytes. > > Before: >text data bss dec hex filename > 77832 2290

[PATCH] nfp: bpf: make array exp_mask static, makes object smaller

2019-10-07 Thread Colin King
From: Colin Ian King Don't populate the array exp_mask on the stack but instead make it static. Makes the object code smaller by 224 bytes. Before: textdata bss dec hex filename 778322290 0 80122 138fa ethernet/netronome/nfp/bpf/jit.o After: textdata