summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-10-23 21:58:11 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-24 11:38:37 +0300
commitd3488480635f453410fd27cea3fc370cedc7e28a (patch)
tree0cff71e73b2b9affc46425378aa80a88c21b0a3a /scripts
parent9a90c83c09874a2fd03905ef0f73512c9de18799 (diff)
downloadlinux-d3488480635f453410fd27cea3fc370cedc7e28a.tar.xz
nfp: bpf: allow stack accesses via modified stack registers
As long as the verifier tells us the stack offset exactly we can render the LMEM reads quite easily. Simply make sure that the offset is constant for a given instruction and add it to the instruction's offset. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions