Discussion:
[ovs-discuss] Ports config modification
carrot
2014-10-12 13:16:42 UTC
Permalink
Hi,

I want to add a new number to the enum ofputil_port_config, but I find
it is *difficult to understand how this enumerator control the
forwarding function of OVS.*
For example, if I want to drop all the packets going through the
specific port. In userspace part, this condition will be denoted as
OFPUTIL_PC_NO_RECV. *My question is which part of the code in kernel
part of OVS?*
There seems *no similar variable in struct vport* which is the
representation of a physic ports in OVS kernel part.

Thanks,
Bo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141012/77b5a5d2/attachment-0001.html>
Ben Pfaff
2014-10-13 15:17:02 UTC
Permalink
I want to add a new number to the enum ofputil_port_config, but I find it is
*difficult to understand how this enumerator control the forwarding function
of OVS.*
For example, if I want to drop all the packets going through the specific
port. In userspace part, this condition will be denoted as
OFPUTIL_PC_NO_RECV. *My question is which part of the code in kernel part of
OVS?*
There is none. When this is set, userspace simply drops all packets
received, without any special kernel support.

Loading...