Tell MiRA about the actual number of retries instead of pretending that
authorstsp <stsp@openbsd.org>
Wed, 26 Apr 2017 07:53:17 +0000 (07:53 +0000)
committerstsp <stsp@openbsd.org>
Wed, 26 Apr 2017 07:53:17 +0000 (07:53 +0000)
commit0cff17d9126d1a90364d9b28b1d7ef78034b037a
tree35eeb1b82ffda52d6649619cb78cfd70a9e8ded6
parentc36cf6a8d661045c81bcd7e723e794ad5a5cac8b
Tell MiRA about the actual number of retries instead of pretending that
a frame which was retried N times was retried just once.
This punishes retry-heavy data rates even more and should reduce latency.
It does not seem to have a noticable effect on net throughput in my testing.
If this change causes throughput problems for anyone, let me know.
ok tb@ mlarkin@
sys/dev/ic/ar5008.c
sys/dev/pci/if_iwm.c
sys/dev/pci/if_iwn.c