Re: [ovs-dev] [PATCH] openvswitch.h: Introduce new fields for mega flow.

2013-05-03 Thread Jesse Gross
On Thu, May 2, 2013 at 9:34 PM, Ben Pfaff wrote: > On Thu, May 02, 2013 at 08:20:52PM -0700, Jesse Gross wrote: >> On Thu, May 2, 2013 at 1:30 PM, Andy Zhou wrote: >> > diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h >> > index e890fd8..6048e9b 100644 >> > --- a/include/lin

Re: [ovs-dev] [PATCH] openvswitch.h: Introduce new fields for mega flow.

2013-05-02 Thread Ben Pfaff
On Thu, May 02, 2013 at 08:20:52PM -0700, Jesse Gross wrote: > On Thu, May 2, 2013 at 1:30 PM, Andy Zhou wrote: > > diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h > > index e890fd8..6048e9b 100644 > > --- a/include/linux/openvswitch.h > > +++ b/include/linux/openvswitch.h >

Re: [ovs-dev] [PATCH] openvswitch.h: Introduce new fields for mega flow.

2013-05-02 Thread Jesse Gross
On Thu, May 2, 2013 at 1:30 PM, Andy Zhou wrote: > diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h > index e890fd8..6048e9b 100644 > --- a/include/linux/openvswitch.h > +++ b/include/linux/openvswitch.h > @@ -287,6 +313,8 @@ enum ovs_key_attr { > OVS_KEY_ATTR_IPV4_TU

Re: [ovs-dev] [PATCH] openvswitch.h: Introduce new fields for mega flow.

2013-05-02 Thread Andy Zhou
OVS_KEY_ATTR_MEGA may not be strictly required in the end, but it makes the of ovs-dpctl changes easier. I will try to remove it in the next few commits. On Thu, May 2, 2013 at 1:35 PM, Ben Pfaff wrote: > On Thu, May 02, 2013 at 01:30:05PM -0700, Andy Zhou wrote: > > +/** > > + * enum ovs_mask

Re: [ovs-dev] [PATCH] openvswitch.h: Introduce new fields for mega flow.

2013-05-02 Thread Ben Pfaff
On Thu, May 02, 2013 at 01:30:05PM -0700, Andy Zhou wrote: > +/** > + * enum ovs_mask_attr - attributes for %OVS_KEY_ATTR_MASK. > + * @OVS_MASK_ATTR_TYPE: The %OVS_KEY_ATTR_* whose value is matched with a > mask. > + * Attributes that nested attributes may not be masked; specify masks on the s/th

[ovs-dev] [PATCH] openvswitch.h: Introduce new fields for mega flow.

2013-05-02 Thread Andy Zhou
This patch introduces new fields in openvswitch.h for mega flow. It is prerequisite for both kernel and user space mega flow changes. Signed-off-by: Andy Zhou --- include/linux/openvswitch.h | 33 + 1 file changed, 33 insertions(+) diff --git a/include/linux/op