Re: [ovs-dev] kernel module testing

2015-07-18 Thread Pritesh Kothari (pritkoth)
ter # where gerrithub is remote set with something like: # git remote add gerrithub https://review.gerrithub.io/cisco-openstack/neutron This way the repos are always in sync and the reviews will automatically show the rebase button when such a push occurs to the repo. Regards, Pritesh [1]:

Re: [ovs-dev] kernel module testing

2015-07-14 Thread Pritesh Kothari (pritkoth)
> On Jul 13, 2015, at 9:40 PM, Ben Pfaff wrote: > > On Tue, Jul 14, 2015 at 12:34:14AM +, Pritesh Kothari (pritkoth) wrote: >> How about automating this using travis and gerrit, so no commit gets in >> unless it passes sanity tests? This also simplifies review process

Re: [ovs-dev] kernel module testing

2015-07-13 Thread Pritesh Kothari (pritkoth)
Hi Ben, How about automating this using travis and gerrit, so no commit gets in unless it passes sanity tests? This also simplifies review process as well. Regards, Pritesh > On Jul 13, 2015, at 5:14 PM, Ben Pfaff wrote: > > Lately I've starting hearing about commits breaki

Re: [ovs-dev] OVS with NSH (format of the packet towards VM from OVS)

2015-06-14 Thread Pritesh Kothari (pritkoth)
ype of configurations, nsh-aware and nsh-unaware VM’s, it depends on how you configure it. Regards, Pritesh ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] NSH

2015-05-20 Thread Pritesh Kothari (pritkoth)
yep, still working on it, mean while an older patch-set if needed: https://github.com/priteshk/ovs/branches/active Regards, Pritesh ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] INSTALL.md: Document how to add custom compiler flags.

2015-04-05 Thread Pritesh Kothari (pritkoth)
LGTM Acked-by: Pritesh Kothari > On Apr 2, 2015, at 9:52 AM, Ben Pfaff wrote: > > CC: Mark B Kavanagh > Signed-off-by: Ben Pfaff > --- > INSTALL.md | 8 > 1 file changed, 8 insertions(+) > > diff --git a/INSTALL.md b/INSTALL.md > index 273093b..cde

Re: [ovs-dev] [PATCH 5/9] odp-util: Shift VXLAN VNI when printing/parsing.

2015-03-31 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari > On Mar 30, 2015, at 3:14 PM, Jesse Gross wrote: > > Currently when printing a userspace tunnel action for VXLAN, the > VNI is treated as a 32 bit field rather than 24 bit. Even if this > is the representation that we use internally, we should still s

Re: [ovs-dev] [PATCH 2/9] tunneling: Add check for GRE protocol is Ethernet.

2015-03-31 Thread Pritesh Kothari (pritkoth)
tested, LGTM, Thanks, appreciated. Acked-by: Pritesh Kothari > On Mar 30, 2015, at 9:38 PM, Jesse Gross wrote: > > It's probably a good idea although it requires a different type of > test compared with what we already have since the GRE protocol doesn't > appear i

Re: [ovs-dev] [PATCH 4/9] tunneling: Use flow flag for GRE checksum calculation.

2015-03-30 Thread Pritesh Kothari (pritkoth)
LGTM Acked-by: Pritesh Kothari will get to rest of series as time permits. > On Mar 30, 2015, at 3:14 PM, Jesse Gross wrote: > > The indication to calculate the GRE checksum is currently the port > config rather than the tunnel flow. Currently there is a one to one > mapping

Re: [ovs-dev] [PATCH 3/9] tunneling: Fix location of GRE checksums.

2015-03-30 Thread Pritesh Kothari (pritkoth)
LGTM Acked-by: Pritesh Kothari > On Mar 30, 2015, at 3:14 PM, Jesse Gross wrote: > > The GRE checksum is a 16 bit field stored in a 32 bit option (the > rest is reserved). The current code treats the checksum as a 32-bit > field and places it in the right place for little end

Re: [ovs-dev] [PATCH 2/9] tunneling: Add check for GRE protocol is Ethernet.

2015-03-30 Thread Pritesh Kothari (pritkoth)
should a test case be added to catch this ? Regards, Pritesh > On Mar 30, 2015, at 3:14 PM, Jesse Gross wrote: > > +if (greh->protocol != htons(ETH_TYPE_TEB)) { > +return -EINVAL; > +} > + ___ dev mailing lis

Re: [ovs-dev] [PATCH 1/9] tunneling: Include IP TTL in flow metadata.

2015-03-30 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari > On Mar 30, 2015, at 3:14 PM, Jesse Gross wrote: > > The IP TTL is currently omitted in the extracted tunnel information > that is stored in the flow for userspace tunneling. This includes it > so that the same logic used by the kernel also applies.

Re: [ovs-dev] [PATCH] tunnels: Enable UDP checksum computation for Geneve and VXLAN.

2015-03-24 Thread Pritesh Kothari (pritkoth)
LGTM Acked-by: Pritesh Kothari mailto:pritesh.koth...@cisco.com>> Regards, Pritesh On Mar 24, 2015, at 12:38 PM, Jesse Gross mailto:je...@nicira.com>> wrote: The kernel module can already support outer UDP checksums for Geneve and VXLAN using the standard checksum flag in tun

Re: [ovs-dev] [PATCH] ipv6: Add support for setting ipv6 flow label.

2015-01-13 Thread Pritesh Kothari (pritkoth)
> On Jan 13, 2015, at 2:14 PM, Ben Pfaff wrote: > > On Mon, Jan 12, 2015 at 05:46:49PM -0800, Pritesh Kothari wrote: >> IPv6 Flow Label is currently read only. This patch adds support >> to allow actions like actions=set_field:0x12345->ipv6_label. >> >

[ovs-dev] [PATCH] ipv6: Add support for setting ipv6 flow label.

2015-01-12 Thread Pritesh Kothari
IPv6 Flow Label is currently read only. This patch adds support to allow actions like actions=set_field:0x12345->ipv6_label. Signed-off-by: Pritesh Kothari --- lib/meta-flow.c | 2 +- lib/meta-flow.h | 2 +- tests/ofproto.at | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) d

Re: [ovs-dev] [PATCH v2] README: Adding github markup and travis-ci build status to github readme page.

2014-10-01 Thread Pritesh Kothari (pritkoth)
On Oct 1, 2014, at 8:40 AM, Ben Pfaff wrote: > On Tue, Sep 30, 2014 at 11:23:46PM -0700, Pritesh Kothari wrote: >> Signed-off-by: Pritesh Kothari >> --- >> v2: >> * Changed html to mardown syntax instead. >> * Fix references to README in various places. >&g

[ovs-dev] [PATCH v2] README: Adding github markup and travis-ci build status to github readme page.

2014-09-30 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v2: * Changed html to mardown syntax instead. * Fix references to README in various places. * Fix whitespace issues. --- Makefile.am | 1 + README | 116 README.md

Re: [ovs-dev] [PATCH] README: Adding github markup and travis-ci build status to github readme page.

2014-09-30 Thread Pritesh Kothari (pritkoth)
On Sep 30, 2014, at 5:19 PM, Joe Stringer mailto:joestrin...@nicira.com>> wrote: On 1 October 2014 12:15, Pritesh Kothari mailto:pritesh.koth...@cisco.com>> wrote: diff --git a/README.md b/README.md new file mode 100644 index 000..318f0e6 --- /dev/null +++ b/README.md @@

[ovs-dev] [PATCH] README: Adding github markup and travis-ci build status to github readme page.

2014-09-30 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- README| 116 -- README.md | 114 2 files changed, 114 insertions(+), 116 deletions(-) delete mode 100644 README create mode 100644

Re: [ovs-dev] [PATCH] datapath: Support for kernel 3.15

2014-07-02 Thread Pritesh Kothari (pritkoth)
gt;> + int err; >> + > This function is not called from any other function in OVS. why do you > want to add it to ovs compat layer? actually gre_handle_offloads calls it, will see if i can figure out a way to not to include this. Regards, Pritesh. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] INSTALL.DPDK: fix a typo in remote line

2014-07-02 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Jul 2, 2014, at 11:47 AM, Flavio Leitner wrote: > Signed-off-by: Flavio Leitner > --- > INSTALL.DPDK | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/INSTALL.DPDK b/INSTALL.DPDK > index 2a6d7ef..36bbe54 100644 > --

[ovs-dev] [PATCH] datapath: Support for kernel 3.15

2014-07-02 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: make check passes for 3.2/3.13/3.14/3.15 --- FAQ | 1 + NEWS| 2 +- acinclude.m4| 17 - datapath/linux/Modules.mk

Re: [ovs-dev] [PATCH] datapath: Change u64_stats_* to use _irq instead of _bh().

2014-07-01 Thread Pritesh Kothari (pritkoth)
On Jul 1, 2014, at 11:18 AM, Pravin Shelar wrote: > why not just check for HAVE_U64_STATS_FETCH_BEGIN_IRQ? because of this which was added in 3.13, i guess: -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0) - -#if BITS_PER_LONG == 32 && defined(CONFIG_SMP) -# define u64_stats_init(syncp) seqco

Re: [ovs-dev] [PATCH] datapath: Change u64_stats_* to use _irq instead of _bh().

2014-07-01 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Jun 30, 2014, at 6:01 PM, Jesse Gross wrote: > The upstream u64_stats API has been changed to remove the _bh() > versions and switch all consumers to use IRQ safe variants instead. > This was done to be safe for netpoll generated packets, which can > o

Re: [ovs-dev] [PATCH] datapath: Fix error handling for Geneve options in ipv4_tun_to_nlattr().

2014-06-30 Thread Pritesh Kothari (pritkoth)
weird, git am still give me same error, but removing headers and applying diff using git apply works, anyways thanks. LGTM. Regards, Pritesh On Jun 30, 2014, at 1:56 PM, Jesse Gross wrote: > Yes, it worked fine for me (using git am). > > On Mon, Jun 30, 2014 at 1:52 PM, Ben Pfa

Re: [ovs-dev] [PATCH] datapath: Fix error handling for Geneve options in ipv4_tun_to_nlattr().

2014-06-30 Thread Pritesh Kothari (pritkoth)
LGTM but give error on master: error: patch failed: datapath/flow_netlink.c:524 error: datapath/flow_netlink.c: patch does not apply Regards, Pritesh On Jun 30, 2014, at 1:37 PM, Ben Pfaff wrote: > Found by inspection. > > Signed-off-by: Ben Pfaff > --- > datapath/flow_n

Re: [ovs-dev] [PATCH] INSTALL.Fedora: Make instructions more explicit.

2014-06-30 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Jun 30, 2014, at 11:59 AM, Ben Pfaff wrote: > If this seems like an improvement, I can do the same thing for the RHEL > version. > > CC: Flavio Leitner > Signed-off-by: Ben Pfaff > --- > INSTALL.Fedora | 24 ++--

Re: [ovs-dev] [PATCH] dpif-linux: Minor style fixes.

2014-06-25 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Jun 25, 2014, at 10:59 AM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > lib/dpif-linux.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c > index 66911c7..0eac3e7 10

Re: [ovs-dev] [PATCH] netdev-dpdk: Coding style improvements.

2014-06-24 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Jun 24, 2014, at 8:54 AM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > lib/netdev-dpdk.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c > index 6d92969..3359517 1006

Re: [ovs-dev] [PATCH] Fix log message weird suffixes.

2014-06-09 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Jun 9, 2014, at 3:58 PM, Ben Pfaff wrote: > I think these were leftovers from the removal of %z for MSVC that happened > some time ago. > > VMware-BZ: 1265762 > Signed-off-by: Ben Pfaff > --- > lib/netdev-bsd.c |4 ++-- > lib

Re: [ovs-dev] [PATCH] FAQ: Mention packet filter incompatibility

2014-05-07 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On May 6, 2014, at 5:02 PM, YAMAMOTO Takashi wrote: > Co-authored-by: Ben Pfaff > Signed-off-by: YAMAMOTO Takashi > --- > FAQ | 30 ++ > 1 file changed, 30 insertions(+) > > diff --git a/FAQ b/FAQ > index fc21af4

[ovs-dev] [PATCH v7 2/2] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- acinclude.m4 | 1 + datapath/linux/compat/include/linux/skbuff.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 518a66b..e8a8a2e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -295,6

[ovs-dev] [PATCH Branch 2.0 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index cb563c6..d5f5830 100644 --- a/acinclude.m4 +++ b/acinclude.m4

[ovs-dev] [PATCH Branch 2.1 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index b675e41..f51d66b 100644 --- a/acinclude.m4

[ovs-dev] [PATCH Branch 1.9 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index d1271a4..3b7a5eb 100644 --- a/acinclude.m4 +++ b/acinclude.m4

[ovs-dev] [PATCH v7 1/2] datapath: Add support for kernel 3.14.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v7: change a specific version to HAVE_RXHASH, fix skb_clear_hash to include l4_rxhash. v6: rebase for changes in datapath/datapath.c v5: move skb_clear_rxhash() from compat.h to skbuff.h, simplify skb_get_hash() integration, fix random.h order in

[ovs-dev] [PATCH Branch 2.2 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index fdcdf44..4c569ce 100644 --- a/acinclude.m4

Re: [ovs-dev] [PATCH v6] datapath: Add support for kernel 3.14.

2014-05-01 Thread Pritesh Kothari (pritkoth)
On Apr 30, 2014, at 3:42 PM, Jesse Gross wrote: > On Tue, Apr 29, 2014 at 3:24 PM, Pritesh Kothari > wrote: >> diff --git a/datapath/linux/compat/include/linux/skbuff.h >> b/datapath/linux/compat/include/linux/skbuff.h >> index 714c955..de9b29d 100644 >> --- a

[ovs-dev] [PATCH v6] datapath: Add support for kernel 3.14.

2014-04-29 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v6: rebase for changes in datapath/datapath.c v5: move skb_clear_rxhash() from compat.h to skbuff.h, simplify skb_get_hash() integration, fix random.h order in acinclude.m4, move pcpu_sw_netstats to netdevice.h. v4: rebase for changes in datapath

Re: [ovs-dev] [PATCH] bond: fix uninitialized use of use_recirc variable

2014-04-29 Thread Pritesh Kothari (pritkoth)
works for me here. Acked-by: Pritesh Kothari On Apr 29, 2014, at 1:22 PM, Andy Zhou wrote: > Caught by clang-3.5. > > Reported-by: Simon Horman > Signed-off-by: Andy Zhou > --- > ofproto/bond.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > di

[ovs-dev] [PATCH v5] datapath: Add support for kernel 3.14.

2014-04-25 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v5: move skb_clear_rxhash() from compat.h to skbuff.h, simplify skb_get_hash() integration, fix random.h order in acinclude.m4, move pcpu_sw_netstats to netdevice.h. v4: rebase for changes in datapath/actions.c and datapath/vport.c, split patch

Re: [ovs-dev] [PATCH v4 1/2] datapath: Add support for kernel 3.14.

2014-04-25 Thread Pritesh Kothari (pritkoth)
On Apr 25, 2014, at 12:36 PM, Jesse Gross wrote: > On Fri, Apr 25, 2014 at 12:16 PM, Pritesh Kothari (pritkoth) > wrote: >> Hi Jesse, >> >>>> >>>> diff --git a/datapath/linux/compat/include/linux/etherdevice.h >>>> b/datapath/linux

Re: [ovs-dev] [PATCH v4 1/2] datapath: Add support for kernel 3.14.

2014-04-25 Thread Pritesh Kothari (pritkoth)
a configure check, I think it is probably cleaner to > move this out of the version check. maybe i am mistaken, but i don’t see any version checks here ? Regards, Pritesh ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH v4 1/2] datapath: Add support for kernel 3.14.

2014-04-22 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v4: rebase for changes in datapath/actions.c and datapath/vport.c, split patch in two for seperating out skb_clear_hash related stuff. v3: rebase for changes in datapath/vport.c. v2: Use OVS_GREP_IFELSE instead of upstream kernel versions as Thomas suggested

[ovs-dev] [PATCH v4 2/2] datapath: use skb_clear_hash instead of skb_clear_rxhash.

2014-04-22 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- acinclude.m4 | 1 + datapath/actions.c | 10 +- datapath/linux/compat/include/linux/skbuff.h | 4 datapath/linux/compat/ip_tunnels_core.c | 4 ++-- 4 files changed, 12 insertions

[ovs-dev] [PATCH v3] datapath: Add support for kernel 3.14.

2014-04-16 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v3: rebase for changes in datapath/vport.c. v2: Use OVS_GREP_IFELSE instead of upstream kernel versions as Thomas suggested. --- FAQ | 2 +- NEWS | 2 +- acinclude.m4

Re: [ovs-dev] [PATCH v2 1/7] nsh: datapath support for network service headers

2014-04-12 Thread Pritesh Kothari (pritkoth)
On Apr 10, 2014, at 3:59 PM, Jesse Gross wrote: > On Tue, Feb 25, 2014 at 3:44 PM, Pritesh Kothari > wrote: >> This patch adds support for Network Service Headers (nsh) over VXLAN >> as mentioned in [1]. Here changes are made to datapath to add nsh >> headers wh

Re: [ovs-dev] [PATCH] ovs-dev.py: Update repository location.

2014-04-09 Thread Pritesh Kothari (pritkoth)
Does this mean we send in pull requests from github and no more patches on mailing lists? Regards, Pritesh On Apr 8, 2014, at 5:04 PM, Ben Pfaff wrote: > Applied to master, thanks! > > On Tue, Apr 08, 2014 at 04:46:19PM -0700, Justin Pettit wrote: >> Acked-by

[ovs-dev] [PATCH v2] datapath: Add support for kernel 3.14.

2014-04-08 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v2: Use OVS_GREP_IFELSE instead of upstream kernel versions as Thomas suggested. --- FAQ |2 +- NEWS |2 +- acinclude.m4

Re: [ovs-dev] [PATCH] datapath: Add support for kernel 3.14.

2014-04-08 Thread Pritesh Kothari (pritkoth)
but it will produce more reliable code. Thanks for the review, will make the changes and send in v2. Regards, Pritesh ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] datapath: Add support for kernel 3.14.

2014-04-07 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- FAQ |2 +- NEWS |2 +- acinclude.m4 |4 ++-- datapath/actions.c|2 +- datapath/linux

[ovs-dev] [PATCH 2/2] sparse: workaround for a bug in sparse.

2014-03-28 Thread Pritesh Kothari
happy. Signed-off-by: Pritesh Kothari --- lib/dpif-netdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 8687a47..c5df3b5 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -1734,7 +1734,7 @@ dp_netdev_actions_free(s

[ovs-dev] [PATCH 1/2] sparse: fix the order of include paths to make sparse happy.

2014-03-28 Thread Pritesh Kothari
: Pritesh Kothari --- Makefile.am |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index dd0a111..9039389 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,12 +18,12 @@ AM_CPPFLAGS += $(PTHREAD_INCLUDES) AM_LDFLAGS += $(PTHREAD_LDFLAGS) endif

Re: [ovs-dev] [PATCH] configure: making sparse happy.

2014-03-27 Thread Pritesh Kothari (pritkoth)
On Mar 27, 2014, at 4:52 PM, Ben Pfaff wrote: > On Thu, Mar 27, 2014 at 03:44:59PM -0700, Pritesh Kothari wrote: >> Sparse is unhappy because the system include path is ahead of the >> local include path. This patch fixes that and has a clean run for >> sparse. >>

[ovs-dev] [PATCH] configure: making sparse happy.

2014-03-27 Thread Pritesh Kothari
Sparse is unhappy because the system include path is ahead of the local include path. This patch fixes that and has a clean run for sparse. Signed-off-by: Pritesh Kothari --- Makefile.am |4 ++-- lib/dpif-netdev.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [ovs-dev] [PATCH] socket-util: Fix definition of LINUX.

2014-03-17 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Mar 14, 2014, at 4:00 PM, Ben Pfaff wrote: > Reported-by: Mukesh Hira > Signed-off-by: Ben Pfaff > --- > lib/socket-util.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/socket-util.c b/lib/socket-u

Re: [ovs-dev] [PATCH] FAQ: Add question about meter support.

2014-03-17 Thread Pritesh Kothari (pritkoth)
Acked-by: Pritesh Kothari On Mar 15, 2014, at 9:20 AM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > FAQ | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/FAQ b/FAQ > index f46170c..a54bbf9 100644 > --- a/FAQ > +++ b/FAQ > @@ -774,6 +774,13 @@

Re: [ovs-dev] [PATCH v2 1/7] nsh: datapath support for network service headers

2014-03-07 Thread Pritesh Kothari (pritkoth)
On Mar 7, 2014, at 12:51 PM, Pravin Shelar wrote: > On Fri, Mar 7, 2014 at 11:52 AM, Pritesh Kothari (pritkoth) > wrote: >> Hi Pravin, >> >>>> >>>> if (type > OVS_TUNNEL_KEY_ATTR_MAX) { >>>> @@ -388,11 +390,16 @@ static

Re: [ovs-dev] [PATCH v2 1/7] nsh: datapath support for network service headers

2014-03-07 Thread Pritesh Kothari (pritkoth)
ovs_flow_tun_key_init(&tun_key, iph, key, nsp, + TUNNEL_KEY | TUNNEL_NSP); so when we receive packet over vxlan with nsp, we flag it. Regards, Pritesh ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] vxlan: Support for receiving "ethernet over VXLAN-gpe" packets.

2014-03-04 Thread Pritesh Kothari (pritkoth)
On Mar 4, 2014, at 5:30 AM, Thomas Graf wrote: > On 03/04/2014 12:27 AM, Pritesh Kothari wrote: >> Current VXLAN VTEP receives only VXLAN packets and ethernet over VXLAN-gpe >> [1] >> packets are rejected. This patch adds support for receiving "ethernet over >&g

[ovs-dev] [PATCH] vxlan: Support for receiving "ethernet over VXLAN-gpe" packets.

2014-03-03 Thread Pritesh Kothari
html/draft-quinn-vxlan-gpe-02 Signed-off-by: Pritesh Kothari --- datapath/linux/compat/vxlan.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/datapath/linux/compat/vxlan.c b/datapath/linux/compat/vxlan.c index 64877e0..aec291e 100644 --- a/datapath/linux/compat/vxl

[ovs-dev] [PATCH v2 2/7] nsh: userland support for network service headers

2014-02-27 Thread Pritesh Kothari
NSH service path (nsp) can be set/unset while creating the port as well nsp can be matched on incoming packets. Signed-off-by: Pritesh Kothari --- lib/flow.c |2 + lib/flow.h |2 + lib/match.c| 21 ++ lib/match.h|2 + lib/meta-flow.c| 43

[ovs-dev] [PATCH 5/5] nsh: userland support for network service index

2014-02-27 Thread Pritesh Kothari
From: pritesh Support for nsh service index (nsi) is added, mainly incoming nsi in a flow can be matched and appropriate action can be taken on the flow based on it. Signed-off-by: Pritesh Kothari --- lib/flow.c |2 ++ lib/flow.h |2 ++ lib/match.c| 25

Re: [ovs-dev] [PATCH v2 0/7] nsh: Network Service Header support.

2014-02-26 Thread Pritesh Kothari (pritkoth)
On Feb 26, 2014, at 12:44 PM, Ben Pfaff wrote: > On Tue, Feb 25, 2014 at 03:44:13PM -0800, Pritesh Kothari wrote: >> This is version 2 for supporting NSH [1] on vxlan. The changes since >> last patch set are few and mainly just related to the review earlier. > > Thanks for

[ovs-dev] [PATCH v2 0/7] nsh: Network Service Header support.

2014-02-25 Thread Pritesh Kothari
| 82 33 files changed, 900 insertions(+), 119 deletions(-) Regards, Pritesh ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH v2 5/7] nsh: userland support for network service index

2014-02-25 Thread Pritesh Kothari
From: pritesh Support for nsh service index (nsi) is added, mainly incoming nsi in a flow can be matched and appropriate action can be taken on the flow based on it. Signed-off-by: Pritesh Kothari diff --git a/lib/flow.c b/lib/flow.c index 28e96ec..e1b7d74 100644 --- a/lib/flow.c +++ b/lib

[ovs-dev] [PATCH v2 6/7] nsh: support for setting nsi, action set_nsi=

2014-02-25 Thread Pritesh Kothari
Support for setting nsi using an action namely set_nsi. It works similar to set_tunnel in vxlan/gre tunnel and can be used to set the outgoing nsh service index (nsi). Also NXM_NX_NSI is defined here which enables matching NSIs. Signed-off-by: Pritesh Kothari diff --git a/include/openflow

[ovs-dev] [PATCH v2 7/7] nsh: support nsp/nsi in test cases.

2014-02-25 Thread Pritesh Kothari
From: pritesh Fix for the current test cases which fail due to the nsh changes. Signed-off-by: Pritesh Kothari diff --git a/tests/bfd.at b/tests/bfd.at index 3723d60..23dbf87 100644 --- a/tests/bfd.at +++ b/tests/bfd.at @@ -229,7 +229,7 @@ OVS_VSWITCHD_START([add-port br0 p1 -- set Interface

[ovs-dev] [PATCH v2 2/7] nsh: userland support for network service headers

2014-02-25 Thread Pritesh Kothari
NSH service path (nsp) can be set/unset while creating the port as well as nsp can be matched on incoming packets. Signed-off-by: Pritesh Kothari diff --git a/lib/flow.c b/lib/flow.c index e7fe4d3..28e96ec 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -563,6 +563,8 @@ flow_tun_flag_to_string

[ovs-dev] [PATCH v2 4/7] nsh: datapath support for network service index

2014-02-25 Thread Pritesh Kothari
Here, datapath support for setting nsh service index (nsi) is added. nsi can now be set on outgoing packet depending on port settings or set_nsi action. Signed-off-by: Pritesh Kothari diff --git a/datapath/datapath.c b/datapath/datapath.c index b96ad1e..46a4f28 100644 --- a/datapath/datapath.c

[ovs-dev] [PATCH v2 3/7] nsh: support for setting nsp, action set_nsp=

2014-02-25 Thread Pritesh Kothari
Support for setting nsp using an action namely set_nsp. It works similar to set_tunnel in vxlan/gre tunnel and can be used to set the outgoing nsh service path id. Also NXM_NX_NSP is defined which enables matching NSPs. Signed-off-by: Pritesh Kothari diff --git a/include/openflow/nicira-ext.h b

[ovs-dev] [PATCH v2 1/7] nsh: datapath support for network service headers

2014-02-25 Thread Pritesh Kothari
-quinn-sfc-nsh-02 Signed-off-by: Pritesh Kothari create mode 100644 datapath/linux/compat/include/net/nsh.h diff --git a/datapath/datapath.c b/datapath/datapath.c index f7c3391..b96ad1e 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -361,6 +361,7 @@ static size_t key_attr_size(void

Re: [ovs-dev] [PATCH] tunnel: Support all combinations of flow-based and specific tunnel matches.

2014-02-11 Thread Pritesh Kothari (pritkoth)
On Feb 11, 2014, at 3:20 PM, Ben Pfaff wrote: > On Tue, Feb 11, 2014 at 06:48:33PM +0000, Pritesh Kothari (pritkoth) wrote: >> >> On Feb 11, 2014, at 8:05 AM, Ben Pfaff wrote: >> >>> On Tue, Feb 11, 2014 at 12:00:46AM +, Pritesh Kothari (pritkoth) wrote: &g

Re: [ovs-dev] [PATCH] tunnel: Support all combinations of flow-based and specific tunnel matches.

2014-02-11 Thread Pritesh Kothari (pritkoth)
On Feb 11, 2014, at 8:05 AM, Ben Pfaff wrote: > On Tue, Feb 11, 2014 at 12:00:46AM +0000, Pritesh Kothari (pritkoth) wrote: >> Hi Ben, >> >>> -static const struct tnl_match_pattern patterns[] = { >>> -{ false, false, IP_SRC_CFG }

Re: [ovs-dev] [PATCH] tunnel: Support all combinations of flow-based and specific tunnel matches.

2014-02-11 Thread Pritesh Kothari (pritkoth)
looks good to me. Acked-by: pritesh On Feb 4, 2014, at 1:19 PM, Ben Pfaff wrote: > There are 12 possible ways to specify a tunnel (2 * 2 * 3 == 12): > >- Specific in_key or flow-based (2 choices). > >- Specific ip_dst or flow-based (2 choices). > >- Specif

Re: [ovs-dev] [PATCH] tunnel: Support all combinations of flow-based and specific tunnel matches.

2014-02-10 Thread Pritesh Kothari (pritkoth)
12 above, so not sure about it. for (in_key_flow = 0; in_key_flow < 2; in_key_flow++) { for (in_nsp_flow = 0; in_nsp_flow < 2; in_nsp_flow++) { for (in_nsi_flow = 0; ip_nsi_flow < 2; ip_nsi_flow++) { Regards, Pritesh [1] http://openvswitch.org/pipermail/d

Re: [ovs-dev] [PATCH] FAQ: Update to reflect that tunneling is now in upstream Linux.

2013-12-17 Thread Pritesh Kothari (pritkoth)
looks good to me. Acked-by: pritesh On Dec 17, 2013, at 10:51 AM, Jesse Gross wrote: > Reported-by: Ben Pfaff > Signed-off-by: Jesse Gross > --- > FAQ | 23 +-- > 1 file changed, 9 insertions(+), 14 deletions(-) > > diff --git a/FAQ b/FAQ > index

Re: [ovs-dev] [PATCH 7/8] nsh: support for setting nsh contexts

2013-10-01 Thread Pritesh Kothari (pritkoth)
On Oct 1, 2013, at 3:13 PM, Jarno Rajahalme wrote: > > On Sep 20, 2013, at 1:04 AM, pritesh wrote: > >> Support for setting the nsh network and service contexts is added here. >> The support is added only for adding context while the port is created. > > I und

Re: [ovs-dev] [PATCH 6/8] nsh: support for setting nsi, action set_nsi=

2013-10-01 Thread Pritesh Kothari (pritkoth)
On Oct 1, 2013, at 3:09 PM, Jarno Rajahalme wrote: > > On Sep 20, 2013, at 1:04 AM, pritesh wrote: > >> Support for setting nsi using an action namely set_nsi. It works similar to >> set_tunnel in vxlan/gre tunnel and can be used to set the outgoing nsh >> service

Re: [ovs-dev] [PATCH 1/8] nsh: datapath support for network service headers

2013-10-01 Thread Pritesh Kothari (pritkoth)
>> yep will mention it, its actually upper 24 bits. >> > > Check once more, as it seems to me that the value from the attr is shifted > left, so it is the lowest 24 bits of the attr that are used… ah, got confused between the real big endian value and ones stored here, yep they are 24 lower bits, will try to document where and in which i use them. btw thanks again. Regards, Pritesh > > > Jarno > ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 5/8] nsh: userland support for network service index

2013-10-01 Thread Pritesh Kothari (pritkoth)
On Oct 1, 2013, at 3:07 PM, Jarno Rajahalme wrote: > > On Sep 20, 2013, at 1:04 AM, pritesh wrote: > >> Support for nsh service index (nsi) is added, mainly incoming >> nsi in a flow can be matched and appropriate action can be >> taken on the flow based on it. &g

Re: [ovs-dev] [PATCH 4/8] nsh: datapath support for network service index

2013-10-01 Thread Pritesh Kothari (pritkoth)
> >> diff --git a/datapath/flow.c b/datapath/flow.c >> index 4f47a48..4335d67 100644 >> --- a/datapath/flow.c >> +++ b/datapath/flow.c >> @@ -46,6 +46,8 @@ >> >> #include "vlan.h" >> >> +#define NSH_M_NSI 0x00FF >> + > > Is this the same as NSH_M_NSI currently defined in nsh.h? > >> stat

Re: [ovs-dev] [PATCH 3/8] nsh: support for setting nsp, action set_nsp=

2013-10-01 Thread Pritesh Kothari (pritkoth)
> On Sep 20, 2013, at 1:04 AM, pritesh wrote: > >> Support for setting nsp using an action namely set_nsp. It works similar to >> set_tunnel in vxlan/gre tunnel and can be used to set the outgoing nsh >> service path id. > > Should tell here that NXM_NX_NSP

Re: [ovs-dev] [PATCH 2/8] nsh: userland support for network service headers

2013-10-01 Thread Pritesh Kothari (pritkoth)
>> >> +{ >> +MFF_NSP, "nsp", NULL, >> +sizeof(ovs_be32), 24, >> +MFM_FULLY, >> +MFS_HEXADECIMAL, >> +MFP_NONE, >> +false, >> +0, NULL, >> +0, NULL, >> +OFPUTIL_P_OF10_NXM_ANY, >> +OFPUTIL_P_OF10_NXM_ANY, > > These

Re: [ovs-dev] [PATCH 1/8] nsh: datapath support for network service headers

2013-10-01 Thread Pritesh Kothari (pritkoth)
btw, first and foremost, thanks for the review, i greatly appreciate it :) >> diff --git a/datapath/flow.c b/datapath/flow.c >> index 29122af..4f47a48 100644 >> --- a/datapath/flow.c >> +++ b/datapath/flow.c >> @@ -1235,6 +1235,7 @@ int ovs_ipv4_tun_from_nlattr(const struct nlattr *attr, >> i

Re: [ovs-dev] [PATCH 1/8] nsh: datapath support for network service headers

2013-10-01 Thread Pritesh Kothari (pritkoth)
On Oct 1, 2013, at 11:03 AM, Jarno Rajahalme wrote: > > On Oct 1, 2013, at 10:07 AM, Pritesh Kothari (pritkoth) > wrote: > >> >> On Sep 30, 2013, at 5:46 PM, Jesse Gross wrote: >> >>> On Fri, Sep 20, 2013 at 1:04 AM, pritesh wrote: >>>>

Re: [ovs-dev] [PATCH 1/8] nsh: datapath support for network service headers

2013-10-01 Thread Pritesh Kothari (pritkoth)
On Oct 1, 2013, at 12:08 PM, Jesse Gross wrote: > On Tue, Oct 1, 2013 at 10:07 AM, Pritesh Kothari (pritkoth) > wrote: >> On Sep 30, 2013, at 5:46 PM, Jesse Gross wrote: >>> One other thing - would you mind using your full name in the signed-off-by >>> line? >

Re: [ovs-dev] [PATCH 1/8] nsh: datapath support for network service headers

2013-10-01 Thread Pritesh Kothari (pritkoth)
On Sep 30, 2013, at 5:46 PM, Jesse Gross wrote: > On Fri, Sep 20, 2013 at 1:04 AM, pritesh wrote: >> This patch adds support for Network Service Headers (nsh) over VXLAN >> as mentioned in [1]. Here changes are made to datapath to add nsh >> headers whenever a vxlan port

Re: [ovs-dev] [PATCH] FAQ: Explain why allowing only unicast traffic breaks IP connectivity.

2013-09-26 Thread Pritesh Kothari (pritkoth)
+ It may be better to add flows to allow all multicast and broadcast > + traffic: > + > + > priority=5,in_port=1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=2 > + > priority=5,in_port=2,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=1 > + > + This except the las

Re: [ovs-dev] [PATCH] FAQ: Explain why allowing only unicast traffic breaks IP connectivity.

2013-09-25 Thread Pritesh Kothari (pritkoth)
On Sep 25, 2013, at 3:56 PM, Ben Pfaff wrote: > On Wed, Sep 25, 2013 at 01:28:33PM -0700, Justin Pettit wrote: >> Thanks for writing this up. I think the example may be clearer if >> you defined the flow in terms of IP addresses instead of MAC >> addresses, since those are typically the flows th

Re: [ovs-dev] [PATCH 1/2] datapath: Fix typo in comment.

2013-09-24 Thread Pritesh Kothari (pritkoth)
On Sep 24, 2013, at 4:17 PM, Ben Pfaff wrote: > On Tue, Sep 24, 2013 at 04:10:36PM -0700, Jesse Gross wrote: >> On Tue, Sep 24, 2013 at 2:58 PM, Ben Pfaff wrote: >>> diff --git a/datapath/vport.c b/datapath/vport.c >>> index f62201d..3878510 100644 >>> --- a/datapath/vport.c >>> +++ b/datapath/v

Re: [ovs-dev] [PATCH 1/2] datapath: Fix typo in comment.

2013-09-24 Thread Pritesh Kothari (pritkoth)
Acked-by: pritesh On Sep 24, 2013, at 2:58 PM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > datapath/vport.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/datapath/vport.c b/datapath/vport.c > index f62201d..3878510 100644 > --- a/

Re: [ovs-dev] [PATCH 2/2] ofproto-dpif-upcall: Fix typos in comments.

2013-09-24 Thread Pritesh Kothari (pritkoth)
Acked-by: pritesh On Sep 24, 2013, at 2:58 PM, Ben Pfaff wrote: > --- > ofproto/ofproto-dpif-upcall.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c > index d75c61b..16c5

[ovs-dev] [PATCH 6/8] nsh: support for setting nsi, action set_nsi=

2013-09-20 Thread pritesh
Support for setting nsi using an action namely set_nsi. It works similar to set_tunnel in vxlan/gre tunnel and can be used to set the outgoing nsh service index (nsi). Signed-off-by: pritesh diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index 748ceee..3872d57 100644

[ovs-dev] [PATCH 8/8] nsh: support nsp/nsi in test cases.

2013-09-20 Thread pritesh
Fix for the current test cases which fail due to the nsh changes. Signed-off-by: pritesh diff --git a/tests/bfd.at b/tests/bfd.at index 0b2b7cc..251bc4e 100644 --- a/tests/bfd.at +++ b/tests/bfd.at @@ -221,7 +221,7 @@ OVS_VSWITCHD_START([add-port br0 p1 -- set Interface p1 type=gre

[ovs-dev] [PATCH 7/8] nsh: support for setting nsh contexts

2013-09-20 Thread pritesh
Support for setting the nsh network and service contexts is added here. The support is added only for adding context while the port is created. Support for carrying forward context from incoming packet to the outgoing packet is not supported yet. Signed-off-by: pritesh diff --git a/datapath

[ovs-dev] [PATCH 5/8] nsh: userland support for network service index

2013-09-20 Thread pritesh
Support for nsh service index (nsi) is added, mainly incoming nsi in a flow can be matched and appropriate action can be taken on the flow based on it. Signed-off-by: pritesh diff --git a/lib/flow.c b/lib/flow.c index 452f338..ec5bf01 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -545,6 +545,8

[ovs-dev] [PATCH 4/8] nsh: datapath support for network service index

2013-09-20 Thread pritesh
Here, datapath support for setting nsh service index (nsi) is added. nsi can now be set on outgoing packet depending on port settings or set_nsi action. Signed-off-by: pritesh diff --git a/datapath/datapath.c b/datapath/datapath.c index 285b571..e26f6ff 100644 --- a/datapath/datapath.c +++ b

[ovs-dev] [PATCH 2/8] nsh: userland support for network service headers

2013-09-20 Thread pritesh
NSH service path (nsp) can be set/unset while creating the port as well nsp can be matched on incoming packets. Signed-off-by: pritesh diff --git a/lib/flow.c b/lib/flow.c index 9ab1961..452f338 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -543,6 +543,8 @@ flow_tun_flag_to_string(uint32_t flags

[ovs-dev] [PATCH 3/8] nsh: support for setting nsp, action set_nsp=

2013-09-20 Thread pritesh
Support for setting nsp using an action namely set_nsp. It works similar to set_tunnel in vxlan/gre tunnel and can be used to set the outgoing nsh service path id. Signed-off-by: pritesh diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index de5ff6a..748ceee 100644

  1   2   >