On Wed, 20 Jun 2012 09:44:24 +0900
Simon Horman <[email protected]> wrote:

> On Tue, Jun 19, 2012 at 10:24:48PM +0900, FUJITA Tomonori wrote:
>> OFPMatch is slightly different from NXMatch so I implemented it
>> slightly differently.
> 
> I am interested to know which differences you are thinking about.
> 
> On the Open vSwtich side I believe that the only implementation differences
> are:
> * Different header constants
> * Different width of in_port

An nx_match is a sequence of zero or more "nxm_entry"s, which are
type-length-value (TLV) entries.

An OpenFlow match is composed of a flow match header and a sequence of
zero or more flow match fields.

As a result,

The nx_match code creates one NXMatch objecst per one nxm_entry.

My oxm code creates one OFPMatch object and put zero or more match
fields.


> In general the policy for other differences, in particular different
> wildcard rules, is to adopt the most general rule for both OXM and NXM.
> 
> Personally I might have chosen to implement stricter enforcement of OXM and
> NXM parsing. However, it does simplify the code and I believe that is why
> Ben Pfaff prefers the approach taken by Open vSwtich. And I'm not entirely
> convinced that stricter parsing would be a win in practice.

What the strict enforcement means?


>> I've not implemented all matches. I'll do if the code looks ok.
> 
> The comment above aside, the code looks good.
> 
> Reviewed-by: Simon Horman <[email protected]>
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to