Re: [ovs-discuss] metadata_mask value

2016-02-06 Thread Justin Pettit
> On Feb 5, 2016, at 6:11 AM, David Gabriel wrote: > > Dears > > I am writing a controller application and I want to set the metadata filed. > But I am wondering which value shall I set the metadata_mask ? If you need to set a mask (depending on the interface you may not), it should be all o

Re: [ovs-discuss] metadata_mask value

2016-02-05 Thread Joe Stringer
On 5 February 2016 at 06:11, David Gabriel wrote: > Dears > > I am writing a controller application and I want to set the metadata filed. > But I am wondering which value shall I set the metadata_mask ? For each bit in the metadata field that you want to modify, you should set that bit in the mas

Re: [ovs-discuss] metadata_mask value

2016-02-05 Thread Ben Pfaff
On Fri, Feb 05, 2016 at 06:11:57AM -0800, David Gabriel wrote: > I am writing a controller application and I want to set the metadata filed. > But I am wondering which value shall I set the metadata_mask ? If you want to set all the bits, use UINT64_MAX for the mask. __

[ovs-discuss] metadata_mask value

2016-02-05 Thread David Gabriel
Dears I am writing a controller application and I want to set the metadata filed. But I am wondering which value shall I set the metadata_mask ? Need help... Thanks in advance. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mail