Hi,

Thank you for your reply.

> BRCM OFDPA can support it although it has limited usage.
> BigSwitch also has it on oftest code.
> 
> I know standard don't specify it has mask on in_port.
> But I think it doesn't obey standard. Standard just define a framework.
> If Openflow agent can support it, I think can use it.

OK, I see.

BTW...
serialize_old() and set_in_port() method are for the old API of OFPMatch.
These are dropped in OF1.4+.
Could you try the new API of OFPMatch as follow?
I think the new API supports the masked in_port match field.
e.g.)
  # OFPMatch(field_name=(value, mask))
  match = parser.OFPMatch(in_port=(0x01, 0x03))

Thanks,
Iwase


On 2015年09月07日 14:50, Macauley Cheng wrote:
> BRCM OFDPA can support it although it has limited usage.
> BigSwitch also has it on oftest code.
> 
> I know standard don't specify it has mask on in_port.
> But I think it doesn't obey standard. Standard just define a framework.
> If Openflow agent can support it, I think can use it.
> 
> 
> -----Original Message-----
> From: Yusuke Iwase [mailto:[email protected]] 
> Sent: Monday, September 07, 2015 1:40 PM
> To: macauley_cheng 鄭振昌
> Cc: [email protected]
> Subject: Re: [Ryu-devel] I add in_port has mask field.
> 
> Hi,
> 
> Thank you for your patch,
> but I think the in_port match field is defined as "No Masked" field in 
> OpenFlow Spec 1.3.4.
> On my environment, OVS returns OFPErrorMsg with the following error type and 
> code.
>  type: OFPET_BAD_MATCH(4)
>  code: OFPBMC_BAD_MASK(8)
> 
> Does your switch supports "masked" in_port field?
> 
> Thanks,
> Iwase
> 
> 
> On 2015年09月07日 12:56, Macauley Cheng wrote:
>> Attach is my added. It pass “run-test.sh”.
>>
>> I don’t know how to contribute the code, so I put here.
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to