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