[dpdk-dev] [PATCH] eal/armv7: add support for rte pause

2018-10-06 Thread Jerin Jacob
Add support for rte_pause() implementation for armv7. Signed-off-by: Jerin Jacob --- The reference implementation for Linux's cpu_relax() for armv7 is at https://elixir.bootlin.com/linux/latest/source/arch/arm/include/asm/processor.h#L100 --- lib/librte_eal/common/include/arch/arm/rte_pause_32

[dpdk-dev] [PATCH] eal/ppc64: add support for rte pause

2018-10-06 Thread Jerin Jacob
Add support for rte_pause() implementation for ppc64. Signed-off-by: Jerin Jacob --- The reference implementation for Linux's cpu_relax() for ppc64 is at https://elixir.bootlin.com/linux/latest/source/arch/powerpc/include/asm/processor.h#L440 --- lib/librte_eal/common/include/arch/ppc_64/rte_p

[dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)

2018-10-06 Thread chetan bhasin
Can anybody suggest? Stuck right now! On Sat, Oct 6, 2018, 17:02 chetan bhasin wrote: > Hi Dpdk Champs, > > I am facing an issue while bringing bonding on VM having vmxnet3 > interfaces. > > Below error is coming in the log - > > PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfig

Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load

2018-10-06 Thread Jerin Jacob
-Original Message- > Date: Sat, 6 Oct 2018 19:44:35 + > From: Ola Liljedahl > To: Jerin Jacob , "dev@dpdk.org" > > CC: Honnappa Nagarahalli , "Ananyev, > Konstantin" , "Gavin Hu (Arm Technology > China)" , Steve Capper , nd > , "sta...@dpdk.org" > Subject: Re: [PATCH v3 1/3] ring

Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load

2018-10-06 Thread Ola Liljedahl
Some blogs posts about undefined behaviour in C/C++: https://blog.regehr.org/archives/213 http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html -- Ola

Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load

2018-10-06 Thread Ola Liljedahl
On 06/10/2018, 09:42, "Jerin Jacob" wrote: -Original Message- > Date: Fri, 5 Oct 2018 20:34:15 + > From: Ola Liljedahl > To: Honnappa Nagarahalli , Jerin Jacob > > CC: "Ananyev, Konstantin" , "Gavin Hu (Arm > Technology China)" , "dev@dpdk.org" ,

[dpdk-dev] [PATCH v2] ethdev: add action to swap source and destination MAC to flow API

2018-10-06 Thread Rahul Lakkireddy
This action is useful for offloading loopback mode, where the hardware will swap source and destination MAC addresses in the outermost Ethernet header before looping back the packet. This action can be used in conjunction with other rewrite actions to achieve MAC layer transparent NAT where the MAC

[dpdk-dev] [PATCH v2 3/3] net/cxgbe: add flow actions to modify IP and TCP/UDP port address

2018-10-06 Thread Rahul Lakkireddy
Query firmware for the new filter work request to offload flows with actions to modify IP and TCP/UDP port addresses. When available, translate IP and TCP/UDP port address modify actions to internal hardware specification and offload the flow to hardware. Original work by Shagun Agrawal Signed-of

[dpdk-dev] [PATCH v2 1/3] ethdev: add flow api actions to modify IP addresses

2018-10-06 Thread Rahul Lakkireddy
Add actions: - SET_IPV4_SRC - set a new IPv4 source address. - SET_IPV4_DST - set a new IPv4 destination address. - SET_IPV6_SRC - set a new IPv6 source address. - SET_IPV6_DST - set a new IPv6 destination address. Original work by Shagun Agrawal Signed-off-by: Rahul Lakkireddy Acked-by: Xiaoyu

[dpdk-dev] [PATCH v2 2/3] ethdev: add flow api actions to modify TCP/UDP port numbers

2018-10-06 Thread Rahul Lakkireddy
Add actions: - SET_TP_SRC - set a new TCP/UDP source port number. - SET_TP_DST - set a new TCP/UDP destination port number. Original work by Shagun Agrawal Signed-off-by: Rahul Lakkireddy Acked-by: Xiaoyu Min Acked-by: Ori Kam --- v2: - Rebased to tip. - Removed adding actions to app/test-pmd/

[dpdk-dev] [PATCH v2 0/3] ethdev: add IP address and TCP/UDP port rewrite actions to flow API

2018-10-06 Thread Rahul Lakkireddy
This series of patches add support for actions: - SET_IPV4_SRC - set a new IPv4 source address. - SET_IPV4_DST - set a new IPv4 destination address. - SET_IPV6_SRC - set a new IPv6 source address. - SET_IPV6_DST - set a new IPv6 destination address. - SET_TP_SRC - set a new TCP/UDP source port numb

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition

2018-10-06 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Saturday, October 6, 2018 9:16 AM > To: Thomas Monjalon > Cc: Yigit, Ferruh ; Andrew Rybchenko > ; Lu, Wenzhuo ; Wu, > Jingjing ; Iremonger, Bernard > ; Mcnamara, John ; > Kovacevic, Marko ; Olivi

[dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)

2018-10-06 Thread chetan bhasin
Hi Dpdk Champs, I am facing an issue while bringing bonding on VM having vmxnet3 interfaces. Below error is coming in the log - PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure slave device (0). Please suggest. Thanks, Chetan Bhasin

Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition

2018-10-06 Thread Jerin Jacob
-Original Message- > Date: Sat, 06 Oct 2018 00:44:52 +0200 > From: Thomas Monjalon > To: Ferruh Yigit , Jerin Jacob > , Andrew Rybchenko > > Cc: Wenzhuo Lu , Jingjing Wu , > Bernard Iremonger , John McNamara > , Marko Kovacevic , > Olivier Matz , dev@dpdk.org, shah...@mellanox.com, >

Re: [dpdk-dev] [PATCH 1/2] doc: clarify L3 Tx checksum prerequisite

2018-10-06 Thread Jerin Jacob
-Original Message- > Date: Fri, 5 Oct 2018 20:56:47 +0100 > From: Ferruh Yigit > To: Jerin Jacob , John McNamara > , Marko Kovacevic > CC: dev@dpdk.org, tho...@monjalon.net, arybche...@solarflare.com, > olivier.m...@6wind.com, sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/2] doc: c

Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load

2018-10-06 Thread Jerin Jacob
-Original Message- > Date: Fri, 5 Oct 2018 20:34:15 + > From: Ola Liljedahl > To: Honnappa Nagarahalli , Jerin Jacob > > CC: "Ananyev, Konstantin" , "Gavin Hu (Arm > Technology China)" , "dev@dpdk.org" , > Steve Capper , nd , "sta...@dpdk.org" > > Subject: Re: [PATCH v3 1/3] ring