summaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-01-17 19:13:32 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-18 22:54:26 +0100
commitca027a1c45e30d89c5cc6dcacbdcea74e1ff65fc (patch)
treeefd0d8d3cb68686132ce8adea69fddd8916e7477 /lib/netdev-notifier-error-inject.c
parent7fedbb7c5a7c4bda418bc1056c06c81db36e4299 (diff)
downloadlinux-ca027a1c45e30d89c5cc6dcacbdcea74e1ff65fc.tar.bz2
nfp: bpf: add short busy wait for FW replies
Scheduling out and in for every FW message can slow us down unnecessarily. Our experiments show that even under heavy load the FW responds to 99.9% messages within 200 us. Add a short busy wait before entering the wait queue. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions