summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-01-10 12:26:01 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-10 13:49:35 +0100
commit2314fe9ed0a1760ceab96b81e6b7181963c93254 (patch)
tree235da08eb7d649a9b1dc72ff46bc885a6b743a7c /drivers/media/dvb-frontends
parent488feeaf6d2f9189bdb65f31094a8cff5fcd6c58 (diff)
downloadlinux-2314fe9ed0a1760ceab96b81e6b7181963c93254.tar.bz2
nfp: bpf: relocate jump targets just before the load
Don't translate the program assuming it will be loaded at a given address. This will be required for sharing programs between ports of the same NIC, tail calls and subprograms. It will also make the jump targets easier to understand when dumping the program to user space. Translate the program as if it was going to be loaded at address zero. When load happens add the load offset in and set addresses of special branches. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/media/dvb-frontends')
0 files changed, 0 insertions, 0 deletions