OSDN Git Service

net: move queue number into NICPeers
authorJiri Pirko <jiri@resnulli.us>
Mon, 26 May 2014 10:04:08 +0000 (12:04 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 27 Jun 2014 09:19:31 +0000 (11:19 +0200)
commit575a1c0e42287f8342a7e93e03c53edeb152399d
treedeaace3f44b7fefa5fdf19d0a69d6f77db87a40c
parent3fb69aa1d127585fe9626c3d777a8ce2fc01a36d
net: move queue number into NICPeers

It indicates the number of elements in ncs field and makes sense to have
int inside NICPeers. Also in parse_netdev we do not need to access
container and work with NICPeers only.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/core/qdev-properties-system.c
hw/net/virtio-net.c
include/net/net.h
net/net.c