On Dec 1, 2011, at 11:01 AM, Justin Pettit wrote:

> On Nov 30, 2011, at 8:38 AM, Ben Pfaff wrote:
> 
>> On Wed, Nov 30, 2011 at 04:14:31PM +0000, Mike Bursell wrote:
>>> 1.2.2 openvswitch only supports IPv4 rate limiting, though IPv6
>>> traffic is correctly handled.
>> 
>> Justin, you originally implemented policing.  Why does policing apply
>> itself only to IPv4?  That is, why does it not select all traffic on the
>> interface regardless of protocol?  Does it make sense to apply Mike's
>> patch to add IPv6 support, or would it make better sense to change the
>> code to select all packets.
> 
> I vaguely remember doing it on just the interface not working, but it was so 
> long ago that I've forgotten the details.  A quick search on the web shows 
> people configuring it in the same way.  Based on some discussions we've been 
> having on the Linux netdev mailing list, I wanted to clean up the way we 
> configure policing anyway.  I'll look into this while I'm doing that.

Just a quick follow-up.  We figured out a way to do it with the "basic" filter 
that allows us to specify the policer just on the interface and doesn't require 
limiting it to a particular protocol.  While doing that I'm also reworking the 
code to directly make the netlink calls as opposed to shelling out to the "tc" 
program, which Jamal pointed out was kind of sloppy on the netdev mailingn 
list.  I should have that patch out by tomorrow evening with both of those 
cleanups.

--Justin


_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to