Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-12-04 Thread Jesse Gross
On Wed, Dec 4, 2013 at 11:26 AM, Pravin B Shelar wrote: > Rather than using complete flow hash, we can use skb->rxhash for > calculating source port. Similar calculation is done by vxlan. > > Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross ___ de

[ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-12-04 Thread Pravin B Shelar
Rather than using complete flow hash, we can use skb->rxhash for calculating source port. Similar calculation is done by vxlan. Signed-off-by: Pravin B Shelar --- datapath/vport-lisp.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/datapath/vport-lisp.c b

Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-20 Thread Thomas Graf
On 11/21/2013 01:40 AM, Jesse Gross wrote: On Wed, Nov 20, 2013 at 1:43 AM, Thomas Graf wrote: On 11/20/2013 10:14 AM, Jesse Gross wrote: On Wed, Nov 20, 2013 at 1:08 AM, Thomas Graf wrote: I might be missing something but what about the rxhash == 0 case? VXLAN does: hash = skb_ge

Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-20 Thread Jesse Gross
On Wed, Nov 20, 2013 at 1:43 AM, Thomas Graf wrote: > On 11/20/2013 10:14 AM, Jesse Gross wrote: >> On Wed, Nov 20, 2013 at 1:08 AM, Thomas Graf wrote: >>> I might be missing something but what about the rxhash == 0 case? >>> >>> VXLAN does: >>> hash = skb_get_rxhash(skb); >>> i

Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-20 Thread Pravin Shelar
On Wed, Nov 20, 2013 at 1:43 AM, Thomas Graf wrote: > On 11/20/2013 10:14 AM, Jesse Gross wrote: >> >> On Wed, Nov 20, 2013 at 1:08 AM, Thomas Graf wrote: >>> >>> On 11/19/2013 10:50 PM, Pravin B Shelar wrote: Rather than using complete flow hash, we can use skb->rxhash for ca

Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-20 Thread Thomas Graf
On 11/20/2013 10:14 AM, Jesse Gross wrote: On Wed, Nov 20, 2013 at 1:08 AM, Thomas Graf wrote: On 11/19/2013 10:50 PM, Pravin B Shelar wrote: Rather than using complete flow hash, we can use skb->rxhash for calculating source port. Similar calculation is done by vxlan. Signed-off-by: Pravin

Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-20 Thread Jesse Gross
On Wed, Nov 20, 2013 at 1:08 AM, Thomas Graf wrote: > On 11/19/2013 10:50 PM, Pravin B Shelar wrote: >> >> Rather than using complete flow hash, we can use skb->rxhash for >> calculating source port. Similar calculation is done by vxlan. >> >> Signed-off-by: Pravin B Shelar >> --- >> datapath/v

Re: [ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-20 Thread Thomas Graf
On 11/19/2013 10:50 PM, Pravin B Shelar wrote: Rather than using complete flow hash, we can use skb->rxhash for calculating source port. Similar calculation is done by vxlan. Signed-off-by: Pravin B Shelar --- datapath/vport-lisp.c |9 +++-- 1 files changed, 3 insertions(+), 6 deleti

[ovs-dev] [PATCH 3/3] datapath: lisp: Use skb rxhash for source port.

2013-11-19 Thread Pravin B Shelar
Rather than using complete flow hash, we can use skb->rxhash for calculating source port. Similar calculation is done by vxlan. Signed-off-by: Pravin B Shelar --- datapath/vport-lisp.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/datapath/vport-lisp.c b/datapa