summaryrefslogtreecommitdiffstats
path: root/drivers/visorbus
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-05-08 19:37:07 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-09 18:04:37 +0200
commitd985888faae6588c8ce9e45ad1e4a3ab5f0376b4 (patch)
treeaea09cd89f6cf39af298dc83b9bf75dc8f3735b0 /drivers/visorbus
parent0d8300325660f81787892a1c58dc1f9428a67143 (diff)
downloadlinux-d985888faae6588c8ce9e45ad1e4a3ab5f0376b4.tar.bz2
nfp: bpf: support setting the RX queue index
BPF has access to all internal FW datapath structures. Including the structure containing RX queue selection. With little coordination with the datapath we can let the offloaded BPF select the RX queue. We just need a way to tell the datapath that queue selection has already been done and it shouldn't overwrite it. Define a bit to tell datapath BPF already selected a queue (QSEL_SET), if the selected queue is not enabled (>= number of enabled queues) datapath will perform normal RSS. BPF queue selection on the NIC can be used to replace standard datapath RSS with fully programmable BPF/XDP RSS. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/visorbus')
0 files changed, 0 insertions, 0 deletions