diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-17 19:13:32 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-18 22:54:26 +0100 |
commit | ca027a1c45e30d89c5cc6dcacbdcea74e1ff65fc (patch) | |
tree | efd0d8d3cb68686132ce8adea69fddd8916e7477 /lib/netdev-notifier-error-inject.c | |
parent | 7fedbb7c5a7c4bda418bc1056c06c81db36e4299 (diff) | |
download | linux-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