commit | ca027a1c45e30d89c5cc6dcacbdcea74e1ff65fc | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jan 17 19:13:32 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jan 18 22:54:26 2018 +0100 |
tree | efd0d8d3cb68686132ce8adea69fddd8916e7477 | |
parent | 7fedbb7c5a7c4bda418bc1056c06c81db36e4299 [diff] |
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>