commit | e9275f5e2df1b2098a8cc405d87b88b9affd73e6 | [log] [tgz] |
---|---|---|
author | Zoltan Kiss <zoltan.kiss@citrix.com> | Thu Mar 06 21:48:31 2014 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 07 15:57:21 2014 -0500 |
tree | 05898b0d8dab616b2936783964cae4f77b06af84 | |
parent | 093507885ae5dc0288af07fbb922d2f85b3a88a6 [diff] |
xen-netback: Aggregate TX unmap operations Unmapping causes TLB flushing, therefore we should make it in the largest possible batches. However we shouldn't starve the guest for too long. So if the guest has space for at least two big packets and we don't have at least a quarter ring to unmap, delay it for at most 1 milisec. Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>