summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome/nfp/nfp_asm.h
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-10-08 21:04:13 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-09 09:51:03 -0700
commit18e53b6cb9ac157f4b2c7db698d4adc064df2fa0 (patch)
treed1dc2944f2e2ef69e8a4bf91c7e0d980f6cc9f75 /drivers/net/ethernet/netronome/nfp/nfp_asm.h
parent995e101ffa71eff6ae5f5d5bf1ca8ec757b4ed21 (diff)
nfp: bpf: move to datapath ABI version 2
Datapath ABI version 2 stores the packet information in LMEM instead of NNRs. We also have strict restrictions on which GPRs we can use. Only GPRs 0-23 are reserved for BPF. Adjust the static register locations and "ABI" registers. Note that packet length is packed with other info so we have to extract it into one of the scratch registers, OTOH since LMEM can be used in restricted operands we don't have to extract packet pointer. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_asm.h')
0 files changed, 0 insertions, 0 deletions