diff options
author | Jakub Kicinski | 2017-12-01 06:32:56 +0100 |
---|---|---|
committer | Daniel Borkmann | 2017-12-01 20:59:20 +0100 |
commit | 5468a8b929e6276e139405d525c963a56890b5e0 (patch) | |
tree | 0d9456ecbfb636428198cc88a55b4b7780c7abe7 /drivers/net/ethernet/netronome/nfp/nfp_asm.h | |
parent | nfp: bpf: correct the encoding for No-Dest immed (diff) | |
download | kernel-qcow2-linux-5468a8b929e6276e139405d525c963a56890b5e0.tar.gz kernel-qcow2-linux-5468a8b929e6276e139405d525c963a56890b5e0.tar.xz kernel-qcow2-linux-5468a8b929e6276e139405d525c963a56890b5e0.zip |
nfp: bpf: encode indirect commands
Add support for emitting commands with field overwrites.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_asm.h')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/nfp_asm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_asm.h b/drivers/net/ethernet/netronome/nfp/nfp_asm.h index 74d0c11ab2f9..6ff842a15e5d 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_asm.h +++ b/drivers/net/ethernet/netronome/nfp/nfp_asm.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Netronome Systems, Inc. + * Copyright (C) 2016-2017 Netronome Systems, Inc. * * This software is dual licensed under the GNU General License Version 2, * June 1991 as shown in the file COPYING in the top-level directory of this @@ -209,6 +209,7 @@ enum alu_dst_ab { #define OP_CMD_CNT 0x0000e000000ULL #define OP_CMD_SIG 0x000f0000000ULL #define OP_CMD_TGT_CMD 0x07f00000000ULL +#define OP_CMD_INDIR 0x20000000000ULL #define OP_CMD_MODE 0x1c0000000000ULL struct cmd_tgt_act { |