rocker: fix pci_rocker_init error path

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
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.

Submitted to qemu-devel:
http://patchwork.ozlabs.org/patch/352476/

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: allow to define port netdevs in qemu fashion

This patch allows user to define netdevs the way he is used to do in on
qemu cmdline. Following example will show how:

-netdev tap,id=mynet0,script=no,downscript=no
-netdev tap,id=mynet1,script=no,downscript=no
-device rocker,len-ports=2,ports[0]=mynet0,ports[1]=mynet1

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>