diff options
author | Jakub Kicinski <[email protected]> | 2017-10-08 21:04:13 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-10-09 09:51:03 -0700 |
commit | 18e53b6cb9ac157f4b2c7db698d4adc064df2fa0 (patch) | |
tree | d1dc2944f2e2ef69e8a4bf91c7e0d980f6cc9f75 /net/switchdev/switchdev.c | |
parent | 995e101ffa71eff6ae5f5d5bf1ca8ec757b4ed21 (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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions