commit | 64e9a9b8a0eef9cbd9f86f0e79fc4eeea24abe76 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Dec 03 07:31:51 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 03 13:42:17 2012 -0500 |
tree | eab1d3f85c5d09d5efaa86a532b31048db10f198 | |
parent | 3e14bd390ebe41e8b83855fd85fb64478c7c5ee2 [diff] |
vhost-net: initialize zcopy packet counters These packet counters are used to drive the zercopy selection heuristic so nothing too bad happens if they are off a bit - and they are also reset once in a while. But it's cleaner to clear them when backend is set so that we start in a known state. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>