Thread (196 messages) 196 messages, 20 authors, 2016-06-24

Re: [PATCH 0/4] virtio support for container

From: Tan, Jianfeng <hidden>
Date: 2016-01-26 06:09:19

Hi Michael,

On 1/26/2016 2:02 PM, Qiu, Michael wrote:
On 1/11/2016 2:43 AM, Tan, Jianfeng wrote:
...
quoted
f. Used with vhost-net
$: modprobe vhost
$: modprobe vhost-net
$: docker run -i -t --privileged \
	-v /dev/vhost-net:/dev/vhost-net \
	-v /dev/net/tun:/dev/net/tun \
	-v /dev/hugepages:/dev/hugepages \
	dpdk-app-l2fwd l2fwd -c 0x4 -n 4 -m 1024 --no-pci \
	--vdev=eth_cvio0,path=/dev/vhost-net -- -p 0x1
We'd better add a ifname, like
--vdev=eth_cvio0,path=/dev/vhost-net,ifname=tap0, so that user could add
the tap to the bridge first.
That's an awesome suggestion.

Thanks,
Jianfeng
Thanks,
Michael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help