commit | b14157eeed4eff2b293e0ca7738f6a3dbfff51cc | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Oct 23 11:58:13 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 24 17:38:37 2017 +0900 |
tree | 058eb11cfc701cf182a17b1259de1868934cf419 | |
parent | 2df03a50f14ab6d888c212aa332536933ded040a [diff] |
nfp: bpf: support stack accesses via non-constant pointers If stack pointer has a different value on different paths but the alignment to words (4B) remains the same, we can set a new LMEM access pointer to the calculated value and access whichever word it's pointing to. 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>