diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2017-12-01 08:32:57 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-01 22:59:20 +0300 |
commit | 5e4d6d20939f8e77b7734c0cea6886dff60c99de (patch) | |
tree | e864b42d210e32505c3c46c9df84f2cecec2e16d /drivers/net/ethernet/netronome/nfp/nfp_asm.c | |
parent | 5468a8b929e6276e139405d525c963a56890b5e0 (diff) | |
download | linux-5e4d6d20939f8e77b7734c0cea6886dff60c99de.tar.xz |
nfp: bpf: factor out is_mbpf_load & is_mbpf_store
It is usual that we need to check if one BPF insn is for loading/storeing
data from/to memory.
Therefore, it makes sense to factor out related code to become common
helper functions.
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_asm.c')
0 files changed, 0 insertions, 0 deletions