[ovs-dev] [PATCH] Add VLAN splinters unit test.

Alex Wang alexw at nicira.com
Tue Jun 25 19:09:24 UTC 2013

> 3. The packets with vlan header are missed in kernel and examined in
> "ofproto/ofproto-dpif.c". The "vsp_vlandev_to_realdev()" and
> "vsp_realdev_to_vlandev()" are used to convert between "vlandev port" and
> "realdev port". And the performance cost is in that there is no datapath
> flow installed.
> Does it sound correct?
> Kind Regards,
> Alex Wang,

I think I was wrong here. I experimented using scapy by sending
dst="")/"payload"" and I saw the datapath flow installed with
correct datapath port number.

But I'm still not very sure what is the performance cost? Is that in that
the using device driver can be faster than matching datapath flow?

Besides sorry for this delayed review, the code makes sense and looks good
to me, there is only one redundant line below

On Tue, Jun 11, 2013 at 1:25 PM, Ben Pfaff <blp at nicira.com> wrote:

> +ovs-appctl dpif/show
> +ovs-appctl dpif/show | sed -n '
> +s/\./_/g
> +s/^[[  ]]*\([[^        ]][[^   ]]*\) [[0-9]]*\/\([[0-9]]*\).*/\1=\2/p
> +' > port-numbers
> +cat port-numbers
> +. ./port-numbers

The "+ovs-appctl dpif/show" is redundant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130625/055ce63b/attachment-0003.html>

More information about the dev mailing list