[ovs-dev] ovs-tcpdump error
Bodireddy, Bhanuprakash
bhanuprakash.bodireddy at intel.com
Thu Sep 21 13:26:40 UTC 2017
Hi,
ovs-tcpdump throws the below error when trying to capture packets on one of the vhostuserports.
$ ovs-tcpdump -i dpdkvhostuser0
ERROR: Please create an interface called `midpdkvhostuser0`
See your OS guide for how to do this.
Ex: ip link add midpdkvhostuser0 type veth peer name midpdkvhostuser02
$ ip link add midpdkvhostuser0 type veth peer name midpdkvhostuser02
Error: argument "midpdkvhostuser0" is wrong: "name" too long
To get around this issue, I have to pass '-mirror-to' option as below.
$ ovs-tcpdump -i dpdkvhostuser0 -XX --mirror-to vh0
Is this due to the length of the port name? Would be nice to fix this issue.
Bhanuprakash.
More information about the dev
mailing list