nfp: bpf: round up the size of the stack
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 10 Jan 2018 12:25:56 +0000 (12:25 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 10 Jan 2018 12:49:35 +0000 (13:49 +0100)
commitc4f7730be580f8c39decc058246a83ddf7d7b3cb
tree844ab4f418b487138892e5ba29b7651a0d9a6d89
parent8c6a6d98044dca7e54bcc108da1d8e47b409ec6a
nfp: bpf: round up the size of the stack

Kernel enforces the alignment of the bottom of the stack, NFP
deals with positive offsets better so we should align the top
of the stack.  Round the stack size to NFP word size (4B).

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/ethernet/netronome/nfp/bpf/offload.c