]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[ar531x] [if_are] Fix if_are behaviour under high load traffic
authoradrian <adrian@FreeBSD.org>
Sat, 6 May 2017 06:06:11 +0000 (06:06 +0000)
committeradrian <adrian@FreeBSD.org>
Sat, 6 May 2017 06:06:11 +0000 (06:06 +0000)
commit32e554aed211a6fddf11069496852daf7561ab27
tree7563156d500ca8a9a3d0be176166ea4942ec8624
parent013fbe10b510474dbfab455c85375f544b1dc221
[ar531x] [if_are] Fix if_are behaviour under high load traffic

* use ifqmaxlen
* handle (inefficiently for now) meeting padding and alignment requirements for
  transmit mbufs.
* change how TX ring handling is done

Submitted by: Hiroki Mori <yamori813@yahoo.co.jp>
Differential Revision: https://reviews.freebsd.org/D10557
sys/mips/atheros/ar531x/if_are.c
sys/mips/atheros/ar531x/if_arereg.h