提交 81bd5ded 编写于 作者: J Jakub Kicinski 提交者: David S. Miller

nfp: bpf: disable all ctrl vNIC capabilities

BPF firmware currently exposes IRQ moderation capability.
The driver will make use of it by default, inserting 50 usec
delay to every control message exchange.  This cuts the number
of messages per second we can exchange by almost half.

None of the other capabilities make much sense for BPF control
vNIC, either.  Disable them all.
Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: NDirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 78a0a65f
...@@ -389,7 +389,7 @@ const struct nfp_app_type app_bpf = { ...@@ -389,7 +389,7 @@ const struct nfp_app_type app_bpf = {
.id = NFP_APP_BPF_NIC, .id = NFP_APP_BPF_NIC,
.name = "ebpf", .name = "ebpf",
.ctrl_cap_mask = ~0U, .ctrl_cap_mask = 0,
.init = nfp_bpf_init, .init = nfp_bpf_init,
.clean = nfp_bpf_clean, .clean = nfp_bpf_clean,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册