[dpdk-dev] [PATCH v2] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-12-01 Thread Ananyev, Konstantin
Hi Jerin, > > > > > > > > > > > > > > i40e_asq_send_command: rd32 & wr32 under ThunderX gives > > > > > > > unpredictable > > > > > > >results. To solve this include rte memory > > > > > > > barriers > > > > > > > > > > > > > > Signed-off-by: Satha Rao > > > > > > >

[dpdk-dev] [PATCH v2] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-11-30 Thread Ananyev, Konstantin
Hi Jerin, > > On Tue, Nov 22, 2016 at 01:46:54PM +, Bruce Richardson wrote: > > On Tue, Nov 22, 2016 at 03:46:38AM +0530, Jerin Jacob wrote: > > > On Sun, Nov 20, 2016 at 11:21:43PM +, Ananyev, Konstantin wrote: > > > > Hi > > > > > &g

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-11-30 Thread Ananyev, Konstantin
Hi Harish, > > > >We need attention of every PMD developers on this thread. > > > >Reminder of what Konstantin suggested: > >" > >- if the PMD supports TX offloads AND > >- if to be able use any of these offloads the upper layer SW would have > >to: > >* modify the contents of the packet OR

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-11-30 Thread Ananyev, Konstantin
Hi John, > > Hi, > -john > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Monday, November 28, 2016 3:03 AM > > To: dev at dpdk.org; Rahul Lakkireddy ; > > Stephen Hurd ; Jan Medala > > ; Jakub Palider ; John Daley > > (johndale) ;

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-11-30 Thread Ananyev, Konstantin
Hi Adrien, > > On Mon, Nov 28, 2016 at 12:03:06PM +0100, Thomas Monjalon wrote: > > We need attention of every PMD developers on this thread. > > I've been following this thread from the beginning while working on rte_flow > and wanted to see where it was headed before replying. (I know, v11

[dpdk-dev] [PATCH RFC 1/2] net/i40e: allow bulk alloc for the max size desc ring

2016-11-29 Thread Ananyev, Konstantin
Hi Ilya, > Ping. > > Best regards, Ilya Maximets. > > On 19.10.2016 17:07, Ilya Maximets wrote: > > The only reason why bulk alloc disabled for the rings with > > more than (I40E_MAX_RING_DESC - RTE_PMD_I40E_RX_MAX_BURST) > > descriptors is the possible out-of-bound access to the dma > >

[dpdk-dev] [PATCH] doc: postpone ABI changes for Tx prepare

2016-11-10 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, November 9, 2016 10:31 PM > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: postpone ABI changes for Tx prepare > > The changes for the

[dpdk-dev] [PATCH] examples/l3fwd: force CRC stripping for i40evf

2016-11-09 Thread Ananyev, Konstantin
> -Original Message- > From: Topel, Bjorn > Sent: Wednesday, November 9, 2016 11:28 AM > To: Ananyev, Konstantin ; dev at dpdk.org; > Zhang, Helin > Cc: Xu, Qian Q ; Yao, Lei A ; > Wu, Jingjing ; > thomas.monjalon at 6wind.com > Subject: Re: [dpdk-dev] [P

[dpdk-dev] [PATCH] examples/l3fwd: force CRC stripping for i40evf

2016-11-09 Thread Ananyev, Konstantin
> > Adding Helin to the conversation. > > > That's a common problem across Intel VF devices. Bothe igb and ixgbe > > overcomes that problem just by forcing ' rxmode.hw_strip_crc = 1;' at > > PMD itself: > > [...] > > > Wonder, can't i40e VF do the same? > > Right, however, and this (silent

[dpdk-dev] [PATCH] examples/l3fwd: force CRC stripping for i40evf

2016-11-09 Thread Ananyev, Konstantin
Hi, > > Commit 1bbcc5d21129 ("i40evf: report error for unsupported CRC > stripping config") broke l3fwd, since it was forcing that CRC was > kept. Now, if i40evf is running, CRC stripping will be enabled. > > Signed-off-by: Bj?rn T?pel > --- > examples/l3fwd/main.c | 9 - > 1 file

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-11-01 Thread Ananyev, Konstantin
Hi Thomas, > > > I suggest to integrate it in the beginning of 17.02 cycle, with the hope > > > that you can convince other developers to implement it in other drivers, > > > so we could finally enable it in the default config. > > > > Ok, any insights then, how we can convince people to do

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
> > 2016-10-28 11:34, Ananyev, Konstantin: > > > > 2016-10-27 16:24, Ananyev, Konstantin: > > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
> > Hi Thomasz, > > > > > 2016-10-27 16:24, Ananyev, Konstantin: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > > Hi Tomasz, > > > > >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
Hi Thomasz, > > 2016-10-27 16:24, Ananyev, Konstantin: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > Hi Tomasz, > > > > > > > > > > This is a major

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 28, 2016 11:22 AM > To: Ananyev, Konstantin ; Kulasek, TomaszX > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
Hi Tomasz, > > Hi > > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Thursday, October 27, 2016 18:24 > > To: Thomas Monjalon > > Cc: Kulasek, TomaszX ; dev at dpdk.org > > Subject: RE: [dpdk-dev] [PATCH v11 1/6] ethdev: add T

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-27 Thread Ananyev, Konstantin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, October 27, 2016 5:02 PM > To: Ananyev, Konstantin > Cc: Kulasek, TomaszX ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-27 Thread Ananyev, Konstantin
> > Hi Tomasz, > > This is a major new function in the API and I still have some comments. > > 2016-10-26 14:56, Tomasz Kulasek: > > --- a/config/common_base > > +++ b/config/common_base > > +CONFIG_RTE_ETHDEV_TX_PREP=y > > We cannot enable it until it is implemented in every drivers. Not

[dpdk-dev] mbuf changes

2016-10-25 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Tuesday, October 25, 2016 2:48 PM > To: Morten Br?rup > Cc: Richardson, Bruce ; Wiles, Keith > ; dev at dpdk.org; Olivier Matz > ; Oleg Kuporosov > Subject: Re: [dpdk-dev] mbuf

[dpdk-dev] mbuf changes

2016-10-25 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz > Sent: Tuesday, October 25, 2016 1:49 PM > To: Richardson, Bruce ; Morten Br?rup smartsharesystems.com> > Cc: Adrien Mazarguil ; Wiles, Keith > ; dev at dpdk.org; Oleg Kuporosov > > Subject:

[dpdk-dev] mbuf changes

2016-10-25 Thread Ananyev, Konstantin
Hi everyone, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Tuesday, October 25, 2016 9:54 AM > To: Morten Br?rup > Cc: Wiles, Keith ; dev at dpdk.org; Olivier Matz > > Subject: Re: [dpdk-dev] mbuf changes > > On Mon, Oct 24,

[dpdk-dev] rte_kni_tx_burst() hangs because of no freedescriptors

2016-10-25 Thread Ananyev, Konstantin
Hi Helin, > > From: yingzhi [mailto:kaitoy at qq.com] > Sent: Monday, October 24, 2016 6:39 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: RE: [dpdk-dev] rte_kni_tx_burst() hangs because of no > freedescriptors > > Hi Helin, > > Thanks for your response, to answer your questions:

[dpdk-dev] [PATCH v10 0/6] add Tx preparation

2016-10-24 Thread Ananyev, Konstantin
> > As discussed in that thread: > > http://dpdk.org/ml/archives/dev/2015-September/023603.html > > Different NIC models depending on HW offload requested might impose > different requirements on packets to be TX-ed in terms of: > > - Max number of fragments per packet allowed > - Max number

[dpdk-dev] [PATCH v8 1/6] ethdev: add Tx preparation

2016-10-24 Thread Ananyev, Konstantin
> -Original Message- > From: Kulasek, TomaszX > Sent: Monday, October 24, 2016 1:49 PM > To: Ananyev, Konstantin ; dev at dpdk.org > Cc: olivier.matz at 6wind.com > Subject: RE: [PATCH v8 1/6] ethdev: add Tx preparation > > Hi Konstantin, > > > --

[dpdk-dev] [PATCH v8 1/6] ethdev: add Tx preparation

2016-10-24 Thread Ananyev, Konstantin
Hi Tomasz, > > /** > + * Validate general requirements for tx offload in mbuf. > + * > + * This function checks correctness and completeness of Tx offload settings. > + * > + * @param m > + * The packet mbuf to be validated. > + * @return > + * 0 if packet is valid > + */ > +static inline

[dpdk-dev] [PATCH v6 1/6] ethdev: add Tx preparation

2016-10-19 Thread Ananyev, Konstantin
Hi guys, > > > > > +static inline int > > > +rte_phdr_cksum_fix(struct rte_mbuf *m) { > > > + struct ipv4_hdr *ipv4_hdr; > > > + struct ipv6_hdr *ipv6_hdr; > > > + struct tcp_hdr *tcp_hdr; > > > + struct udp_hdr *udp_hdr; > > > + uint64_t ol_flags = m->ol_flags; > > > + uint64_t inner_l3_offset =

[dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the packet

2016-10-19 Thread Ananyev, Konstantin
Hi lads, > > > > On 10/13/2016 04:35 PM, Oleg Kuporosov wrote: > > The hard requirement of financial services industry is accurate > > timestamping aligned with the packet itself. This patch is to satisfy > > this requirement: > > > > - include uint64_t timestamp field into rte_mbuf with

[dpdk-dev] [PATCH v6 0/6] add Tx preparation

2016-10-18 Thread Ananyev, Konstantin
> > As discussed in that thread: > > http://dpdk.org/ml/archives/dev/2015-September/023603.html > > Different NIC models depending on HW offload requested might impose different > requirements on packets to be TX-ed in terms of: > > - Max number of fragments per packet allowed > - Max

[dpdk-dev] [PATCH v2 0/3] net: fix out of order Rx read issue

2016-10-18 Thread Ananyev, Konstantin
> > In vPMD, when load Rx desc with _mm_loadu_si128, > volatile point will be cast into non-volatile point. > So GCC is allowed to reorder the load instructions, > while Rx read's correctness is reply on these load > instructions to follow a backward sequence strictly, > so we add compile

[dpdk-dev] [PATCH v2 1/2] drivers/i40e: fix X722 macro absence result in compile

2016-10-16 Thread Ananyev, Konstantin
Hi Jeff, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jeff Guo > Sent: Sunday, October 16, 2016 2:40 AM > To: Zhang, Helin ; Wu, Jingjing intel.com> > Cc: dev at dpdk.org; Guo, Jia > Subject: [dpdk-dev] [PATCH v2 1/2] drivers/i40e: fix X722 macro

[dpdk-dev] [PATCH] eal: avoid unnecessary conflicts over rte_config file

2016-10-13 Thread Ananyev, Konstantin
> > It's true that users can patch around this problem (and I started off doing > just that), but why impose this inconvenience on users when DPDK > can just "do the right thing" to begin with? For example, it took me several > hours to figure out why the problem was occurring and then to >

[dpdk-dev] [PATCH] mempool: fix search of maximum contiguous pages

2016-10-13 Thread Ananyev, Konstantin
> > > > > diff --git a/lib/librte_mempool/rte_mempool.c > > > > b/lib/librte_mempool/rte_mempool.c > > > > index 71017e1..e3e254a 100644 > > > > --- a/lib/librte_mempool/rte_mempool.c > > > > +++ b/lib/librte_mempool/rte_mempool.c > > > > @@ -426,9 +426,12 @@ rte_mempool_populate_phys_tab(struct

[dpdk-dev] [PATCH] eal: avoid unnecessary conflicts over rte_config file

2016-10-13 Thread Ananyev, Konstantin
Hi John, > Before this patch, DPDK used the file ~/.rte_config as a lock to detect > potential interference between multiple DPDK applications running on the > same machine. However, if a single user ran DPDK applications concurrently > on several different machines, and if the user's home

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-10-13 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Thursday, October 13, 2016 11:19 AM > To: Ananyev, Konstantin > Cc: Vladyslav Buslov ; Wu, Jingjing > ; Yigit, Ferruh ; > Zhang, Helin ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e:

[dpdk-dev] [PATCH] mempool: fix search of maximum contiguous pages

2016-10-13 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Thursday, October 13, 2016 10:54 AM > To: Dai, Wei ; dev at dpdk.org; Gonzalez Monroy, Sergio > ; Tan, Jianfeng > ; Dai, Wei > Subject: Re: [dpdk-dev] [PATCH

[dpdk-dev] [PATCH] mempool: fix search of maximum contiguous pages

2016-10-13 Thread Ananyev, Konstantin
Hi > > Signed-off-by: Wei Dai > --- > lib/librte_mempool/rte_mempool.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/lib/librte_mempool/rte_mempool.c > b/lib/librte_mempool/rte_mempool.c > index 71017e1..e3e254a 100644 > --- a/lib/librte_mempool/rte_mempool.c

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-10-12 Thread Ananyev, Konstantin
Hi Vladislav, > > > > > > > > > > On 7/14/2016 6:27 PM, Vladyslav Buslov wrote: > > > > > > Added prefetch of first packet payload cacheline in > > > > > > i40e_rx_scan_hw_ring Added prefetch of second mbuf cacheline in > > > > > > i40e_rx_alloc_bufs > > > > > > > > > > > > Signed-off-by:

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-10-11 Thread Ananyev, Konstantin
Hi Vladislav, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vladyslav Buslov > Sent: Monday, October 10, 2016 6:06 PM > To: Wu, Jingjing ; Yigit, Ferruh intel.com>; Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: add

[dpdk-dev] [PATCH] eal: fix c++ compilation issue with rte_delay_us()

2016-10-05 Thread Ananyev, Konstantin
Hi Thomas, > > 2016-10-03 18:27, Konstantin Ananyev: > > When compiling with C++, it treats > > void (*rte_delay_us)(unsigned int us); > > as definition of the global variable. > > So further linking with librte_eal fails. > > > > Fixes: b4d63fb62240 ("eal: customize delay function") > >

[dpdk-dev] [PATCH] mbuf: fix atomic refcnt update synchronization

2016-09-03 Thread Ananyev, Konstantin
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Linzhe Lee > Sent: Saturday, September 3, 2016 3:05 AM > To: Stephen Hemminger > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mbuf: fix atomic refcnt update synchronization > > yes,stephen. > >

[dpdk-dev] [PATCH v6 2/9] acl: add altivec intrinsics for dpdk acl on ppc_64

2016-08-31 Thread Ananyev, Konstantin
> > This patch adds port for ACL library in ppc64le. > > Signed-off-by: Gowrishankar Muthukrishnan linux.vnet.ibm.com> > --- > app/test-acl/main.c | 4 + > config/defconfig_ppc_64-power8-linuxapp-gcc | 1 - > lib/librte_acl/Makefile | 2 + >

[dpdk-dev] [PATCH 0/6] add Tx preparation

2016-08-31 Thread Ananyev, Konstantin
> > On Fri, 26 Aug 2016 18:22:52 +0200 > Tomasz Kulasek wrote: > > > As discussed in that thread: > > > > http://dpdk.org/ml/archives/dev/2015-September/023603.html > > > > Different NIC models depending on HW offload requested might impose > > different requirements on packets to be TX-ed in

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Ananyev, Konstantin
even on something else. The only drawback I see with that approaches, that in that case, you'll need to follow ABI compliance rules, which probably means that your change might not make 16.11. Konstantin > > Regards, > Vlad > > -Original Message- > From: Ananyev, Kon

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Ananyev, Konstantin
Hi Vladyslav, > -Original Message- > From: Vladyslav Buslov [mailto:vladyslav.buslov at harmonicinc.com] > Sent: Tuesday, August 16, 2016 3:01 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: [PATCH] acl: use rte_calloc for temporary memory allocation >

[dpdk-dev] [PATCH] app/testpmd: fix RSS-hash-key size

2016-08-04 Thread Ananyev, Konstantin
Hi Awal, As I said in the offline discussion, here are few nits that I think need to be addressed. See below. Konstantin > > RSS hash-key-size is retrieved from device configuration instead of using a > fixed size of 40 bytes. > > Fixes: f79959ea1504 ("app/testpmd: allow to configure RSS

[dpdk-dev] [PATCH] i40e: enable i40e pmd on ARM platform

2016-08-03 Thread Ananyev, Konstantin
Hi Jianbo, > > Hi, Jianbo > > > > I have tested you patch on my X86 platform, the single core performance > > for Non-vector PMD will have about 1Mpps drop > > Non-vector PMD single core performance with patch : ~33.9 > > Mpps > > Non-vector PMD single core performance without

[dpdk-dev] [PATCH v3] i40: fix the VXLAN TSO issue

2016-07-29 Thread Ananyev, Konstantin
Hi Jianfeng, > > Hi, > > On 7/18/2016 7:56 PM, Zhe Tao wrote: > > Problem: > > When using the TSO + VXLAN feature in i40e, the outer UDP length > > fields in the multiple UDP segments which are TSOed by the i40e will > > have a wrong value. > > > > Fix this problem by adding the tunnel type

[dpdk-dev] [PATCH v2] doc: announce ABI change for rte_eth_dev structure

2016-07-28 Thread Ananyev, Konstantin
s below. > > On 07/28/2016 03:01 PM, Ananyev, Konstantin wrote: > > Right now to make HW TX offloads to work user is required to do particular > > actions: > > 1. set mbuf.ol_flags properly. > > 2. setup mbuf.tx_offload fields properly. > > 3. update L3/L4

[dpdk-dev] [PATCH v2] doc: announce ABI change for rte_eth_dev structure

2016-07-28 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Thursday, July 28, 2016 12:39 PM > To: Ananyev, Konstantin > Cc: Thomas Monjalon ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] doc: announce ABI change for rte_et

[dpdk-dev] [PATCH] doc: announce renaming of ethdev library

2016-07-28 Thread Ananyev, Konstantin
> > The right name of ethdev should be dpdk_netdev. However: > 1/ We are using rte_ prefix in the code and library names. > 2/ The API uses rte_ethdev > That's why 16.11 will just have the rte_ prefix prepended to the > library filename as every other libraries. > > Signed-off-by: Thomas

[dpdk-dev] [PATCH v2] doc: announce ABI change for rte_eth_dev structure

2016-07-28 Thread Ananyev, Konstantin
> > > > > > > > > -Original Message- > > > > > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > > > > Sent: Wednesday, July 27, 2016 6:11 PM > > > > > To: Thomas Monjalon > > > > > C

[dpdk-dev] [PATCH v2] doc: announce ABI change for rte_eth_dev structure

2016-07-27 Thread Ananyev, Konstantin
> > On Wed, Jul 27, 2016 at 05:33:01PM +, Ananyev, Konstantin wrote: > > > > > > > -Original Message- > > > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > > Sent: Wednesday, July 27, 2016 6:11 PM > > >

[dpdk-dev] [PATCH v2] doc: announce ABI change for rte_eth_dev structure

2016-07-27 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Wednesday, July 27, 2016 6:11 PM > To: Thomas Monjalon > Cc: Kulasek, TomaszX ; dev at dpdk.org; > Ananyev, Konstantin > Subject: Re: [dpdk-dev] [PATCH v2] doc

[dpdk-dev] ACL: BUG: rte_acl_classify_scalar mismatch when use a special rule

2016-07-27 Thread Ananyev, Konstantin
Hi, > > define a rule as following: > > struct acl_ipv4_rule acl_rule[] = { > { > .data = {.userdata = 103, .category_mask = 1, .priority = 1}, > /* proto */ > .field[0] = {.value.u8 = 0, .mask_range.u8 = 0x0,}, > /* source IPv4 */ > .field[1] =

[dpdk-dev] [PATCH v2] doc: announce ABI change for mbuf structure

2016-07-27 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz > Sent: Wednesday, July 20, 2016 8:16 AM > To: dev at dpdk.org > Cc: jerin.jacob at caviumnetworks.com; thomas.monjalon at 6wind.com; > Richardson, Bruce > Subject: [dpdk-dev] [PATCH v2] doc:

[dpdk-dev] [PATCH v2 1/2] eal: remove redundant codes to parse --lcores

2016-07-26 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wei Dai > Sent: Tuesday, July 26, 2016 10:52 AM > To: dev at dpdk.org > Cc: Dai, Wei > Subject: [dpdk-dev] [PATCH v2 1/2] eal: remove redundant codes to parse > --lcores > > local variable i is not referred

[dpdk-dev] [dpdk-users] RSS Hash not working for XL710/X710 NICs for some RX mbuf sizes

2016-07-26 Thread Ananyev, Konstantin
Hi Dumitru, > > Hi Beilei, > > On Mon, Jul 25, 2016 at 12:04 PM, Take Ceara > wrote: > > Hi Beilei, > > > > On Mon, Jul 25, 2016 at 5:24 AM, Xing, Beilei > > wrote: > >> Hi, > >> > >>> -Original Message- > >>> From: Take Ceara [mailto:dumitru.ceara at gmail.com] > >>> Sent:

[dpdk-dev] [PATCH] ring: fix sc dequeue performance issue

2016-07-24 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Sunday, July 24, 2016 6:08 PM > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; Ananyev, Konstantin intel.com>; Jerin Jacob > > Subject: [dpdk-dev] [PAT

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Saturday, July 23, 2016 12:49 PM > To: Ananyev, Konstantin > Cc: Thomas Monjalon ; Juhamatti Kuusisaari > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib: ch

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Saturday, July 23, 2016 11:39 AM > To: Ananyev, Konstantin > Cc: Thomas Monjalon ; Juhamatti Kuusisaari > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib: ch

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Ananyev, Konstantin
Hi lads, > On Sat, Jul 23, 2016 at 11:02:33AM +0200, Thomas Monjalon wrote: > > 2016-07-23 8:05 GMT+02:00 Jerin Jacob : > > > On Thu, Jul 21, 2016 at 11:26:50PM +0200, Thomas Monjalon wrote: > > >> > > Consumer queue dequeuing must be guaranteed to be done fully > > >> > > before the tail is

[dpdk-dev] [PATCH v2] doc: announce ABI change for rte_eth_dev structure

2016-07-21 Thread Ananyev, Konstantin
> > This is an ABI deprecation notice for DPDK 16.11 in librte_ether about > changes in rte_eth_dev and rte_eth_desc_lim structures. > > As discussed in that thread: > > http://dpdk.org/ml/archives/dev/2015-September/023603.html > > Different NIC models depending on HW offload requested

[dpdk-dev] [PATCH 04/12] mbuf: add function to calculate a checksum

2016-07-21 Thread Ananyev, Konstantin
Hi Olivier, > > This function can be used to calculate the checksum of data embedded in mbuf, > that can be composed of several segments. > > This function will be used by the virtio pmd in next commits to calculate the > checksum in software in case the protocol is not recognized. > >

[dpdk-dev] [PATCH] doc: announce ABI change for rte_eth_dev structure

2016-07-20 Thread Ananyev, Konstantin
Hi Thomas, > Hi, > > This patch announces an interesting change in the DPDK design. > > 2016-07-20 16:24, Tomasz Kulasek: > > This is an ABI deprecation notice for DPDK 16.11 in librte_ether about > > changes in rte_eth_dev and rte_eth_desc_lim structures. > > > > In 16.11, we plan to introduce

[dpdk-dev] [PATCH v3] i40: fix the VXLAN TSO issue

2016-07-19 Thread Ananyev, Konstantin
> > Problem: > When using the TSO + VXLAN feature in i40e, the outer UDP length fields in > the multiple UDP segments which are TSOed by the i40e will > have a wrong value. > > Fix this problem by adding the tunnel type field in the i40e descriptor which > was missed before. > > Fixes:

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-15 Thread Ananyev, Konstantin
> > Consumer queue dequeuing must be guaranteed to be done fully before the tail > is updated. This is not guaranteed with a read barrier, > changed to a write barrier just before tail update which in practice > guarantees correct order of reads and writes. > > Signed-off-by: Juhamatti

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-15 Thread Ananyev, Konstantin
Hi Jerin, > > > > > > > The CPU also > > > knows already the value that will be written to cons.tail and that > > > value does not depend on the previous read either. The CPU does not know > > > we are planning to do a spinlock there, so it might do things > out-of-order without proper

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-14 Thread Ananyev, Konstantin
Hi Juhamatti, > > Hi Konstantin, > > > > > > > It is quite safe to move the barrier before DEQUEUE because > > > > > > after the DEQUEUE there is nothing really that we would want > > > > > > to protect > > with a > > > > read barrier. > > > > > > > > > > I don't think so. > > > > > If you

[dpdk-dev] [PATCH 0/3] add new command line options and error handling in pdump

2016-07-14 Thread Ananyev, Konstantin
This patch set contains 1)Error handling fixes in pdump library. 2)Support of server and client socket path command line options in pdump tool. 3)Default socket path name fixes in pdump library doc. Reshma Pattan (3): pdump: fix error handlings app/pdump: add new command line options for

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-13 Thread Ananyev, Konstantin
Hi Juhamatti, > > Hello, > > > > Hi Juhamatti, > > > > > > > > > > > Hello, > > > > > > > > > > > > -Original Message- > > > > > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > > > > > > > > Juhamatti Kuusisaari > > > > > > > > Sent: Monday, July 11, 2016 11:21 AM > > >

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-12 Thread Ananyev, Konstantin
> > > Hi Juhamatti, > > > > > Hello, > > > > > > > > -Original Message- > > > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > > > > > > Kuusisaari > > > > > > Sent: Monday, July 11, 2016 11:21 AM > > > > > > To: dev at dpdk.org > > > > > > Subject: [dpdk-dev]

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-12 Thread Ananyev, Konstantin
Hi Juhamatti, > > Hello, > > > > > > -Original Message- > > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > > > > > Kuusisaari > > > > > Sent: Monday, July 11, 2016 11:21 AM > > > > > To: dev at dpdk.org > > > > > Subject: [dpdk-dev] [PATCH] lib: move rte_ring

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-11 Thread Ananyev, Konstantin
> Hi, > > > > -Original Message- > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > > > Kuusisaari > > > Sent: Monday, July 11, 2016 11:21 AM > > > To: dev at dpdk.org > > > Subject: [dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct > > > location > > >

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-11 Thread Ananyev, Konstantin
Hi , > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti Kuusisaari > Sent: Monday, July 11, 2016 11:21 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct > location > > Fix the location of the rte_ring

[dpdk-dev] specific driver API - was bypass code cleanup

2016-07-11 Thread Ananyev, Konstantin
> > > > > Hmmm. It's true it is cleaner. But I am not sure having a generic API > > > > > for bypass is a good idea at all. > > > > > I was thinking to totally remove it. > > > > > > > > Why to remove it? > > > > As I know there are people who use that functionality. > > > > > > > > > Maybe we

[dpdk-dev] [PATCH] lib/librte_ether: bypass code cleanup

2016-07-11 Thread Ananyev, Konstantin
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > Hmmm. It's true it is cleaner. But I am not sure having a generic API > > > for bypass is a good idea at all. > > > I was thinking to totally remove it. > > > > Why to remove it? > > As I know there are people who

[dpdk-dev] [PATCH] lib/librte_ether: bypass code cleanup

2016-07-11 Thread Ananyev, Konstantin
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, July 11, 2016 8:11 AM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/librte_ether: bypass code cleanup > > 2016-07-11 14:21, Wenzhuo

[dpdk-dev] [PATCH v2] i40: fix the VXLAN TSO issue

2016-07-07 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Thursday, July 07, 2016 11:51 AM > To: Tao, Zhe; dev at dpdk.org > Cc: Tao, Zhe; Wu, Jingjing > Subject: Re: [dpdk-dev] [PATCH v2] i40: fix the VXLAN TSO is

[dpdk-dev] [PATCH v2] i40: fix the VXLAN TSO issue

2016-07-07 Thread Ananyev, Konstantin
Hi Tao, Sorry hit send button too early by accident :) > > > > Problem: > > When using the TSO + VXLAN feature in i40e, the outer UDP length fields in > > the multiple UDP segments which are TSOed by the i40e will have the > > wrong value. > > > > Fix this problem by adding the tunnel type

[dpdk-dev] [PATCH v2] i40: fix the VXLAN TSO issue

2016-07-07 Thread Ananyev, Konstantin
Hi Tao, > > Problem: > When using the TSO + VXLAN feature in i40e, the outer UDP length fields in > the multiple UDP segments which are TSOed by the i40e will have the > wrong value. > > Fix this problem by adding the tunnel type field in the i40e descriptor > which was missed before. > >

[dpdk-dev] [PATCH v2] net/ixgbe: fix compilation when offload flags disabled

2016-07-01 Thread Ananyev, Konstantin
> The ixgbe driver does not compile if CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=n > because the macro has not the proper number of parameters. To reproduce > the issue: > > make config T=x86_64-native-linuxapp-gcc > sed -i >

[dpdk-dev] [PATCH] mk: fix acl library static linking

2016-06-30 Thread Ananyev, Konstantin
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez Monroy > Sent: Thursday, June 30, 2016 3:02 PM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: fix acl library static linking > > On 30/06/2016

[dpdk-dev] [PATCH] mk: fix acl library static linking

2016-06-30 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez Monroy > Sent: Thursday, June 30, 2016 12:10 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mk: fix acl library static linking > > Since below commit, ACL library is outside the scope

[dpdk-dev] [PATCH v2] mbuf:rearrange mbuf to be more mbuf chain friendly

2016-06-27 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Keith Wiles > Sent: Saturday, June 25, 2016 4:56 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] mbuf:rearrange mbuf to be more mbuf chain > friendly > > Move the next pointer to the first

[dpdk-dev] [PATCH] ixgbe:enable configuration for old ptype behavior

2016-06-27 Thread Ananyev, Konstantin
> The default behavior is to NOT support the old ptype behavior, > but enabling the configuration option the old ptype style > can be supported. > > Add support for old behaviour until we have a cleaner solution using > a configuration option CONFIG_RTE_IXGBE_ENABLE_OLD_PTYPE_BEHAVIOUR, > which

[dpdk-dev] [PATCH v6 1/4] lib/librte_ether: support device reset

2016-06-21 Thread Ananyev, Konstantin
> > Hi Konstantin, > > > Hi Jerin, > > > > > -Original Message- > > > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > > Sent: Tuesday, June 21, 2016 9:56 AM > > > To: Lu, Wenzhuo > > > Cc: S

[dpdk-dev] [PATCH v3 1/2] mempool: add stack (lifo) mempool handler

2016-06-21 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Tuesday, June 21, 2016 4:35 AM > To: Ananyev, Konstantin > Cc: Thomas Monjalon; dev at dpdk.org; Hunt, David; olivier.matz at 6wind.com; > viktorin at rehivetech.com; shreyan

[dpdk-dev] [PATCH v6 1/4] lib/librte_ether: support device reset

2016-06-21 Thread Ananyev, Konstantin
Hi Jerin, > -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Tuesday, June 21, 2016 9:56 AM > To: Lu, Wenzhuo > Cc: Stephen Hemminger; dev at dpdk.org; Ananyev, Konstantin; Richardson, > Bruce; Chen, Jing D; Liang, Cunming; W

[dpdk-dev] supported packet types

2016-06-21 Thread Ananyev, Konstantin
Hi Olivier, > > Hi Konstantin, > > On 06/16/2016 01:29 PM, Ananyev, Konstantin wrote: > >>>> I suggest instead to set the ptype > >>>> in an opportunistic fashion instead: > >>>> - if the driver/hw knows the ptype, set it > >>

[dpdk-dev] [PATCH v3 1/2] mempool: add stack (lifo) mempool handler

2016-06-20 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Monday, June 20, 2016 3:22 PM > To: Ananyev, Konstantin > Cc: Thomas Monjalon; dev at dpdk.org; Hunt, David; olivier.matz at 6wind.com; > viktorin at rehivetech.com; shreyan

[dpdk-dev] [PATCH v3 1/2] mempool: add stack (lifo) mempool handler

2016-06-20 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, June 20, 2016 2:54 PM > To: Jerin Jacob > Cc: dev at dpdk.org; Hunt, David; olivier.matz at 6wind.com; viktorin at > rehivetech.com; shreyansh.jain at nxp.com > Subject: Re:

[dpdk-dev] [PATCH v3] i40e: configure MTU

2016-06-20 Thread Ananyev, Konstantin
Hi Beilei, > -Original Message- > From: Xing, Beilei > Sent: Monday, June 20, 2016 1:05 PM > To: Ananyev, Konstantin; Yong Wang; Olivier Matz; Wu, Jingjing > Cc: dev at dpdk.org; Julien Meunier; Thomas Monjalon > Subject: RE: [dpdk-dev] [PATCH v3] i

[dpdk-dev] [PATCH v3] i40e: configure MTU

2016-06-20 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xing, Beilei > Sent: Monday, June 20, 2016 5:50 AM > To: Yong Wang; Olivier Matz; Wu, Jingjing > Cc: dev at dpdk.org; Julien Meunier; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH v3] i40e: configure MTU >

[dpdk-dev] [PATCH v3] i40e: configure MTU

2016-06-17 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yong Wang > Sent: Thursday, June 16, 2016 6:52 PM > To: Olivier Matz; Xing, Beilei; Wu, Jingjing > Cc: dev at dpdk.org; Julien Meunier; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH v3] i40e: configure MTU

[dpdk-dev] [PATCH v2] rte_hash: add scalable multi-writer insertion w/ Intel TSX

2016-06-16 Thread Ananyev, Konstantin
Hi Wei, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wei Shen > Sent: Thursday, June 16, 2016 5:53 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; stephen at networkplumber.org; Tai, Charlie; > Maciocco, Christian; Gobriel, Sameh; Shen, Wei1 >

[dpdk-dev] supported packet types

2016-06-16 Thread Ananyev, Konstantin
Hi Olivier, > > Hi Konstantin, > > On 06/15/2016 04:08 PM, Ananyev, Konstantin wrote: > > > > Hi Olivier, > > > >> Hi Konstantin, > >> > >> On 04/29/2016 06:03 PM, Ananyev, Konstantin wrote: > >>>> The following commit int

[dpdk-dev] [PATCH v9 1/8] ethdev: use locks to protect Rx/Tx callback lists

2016-06-15 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Wednesday, June 15, 2016 3:22 PM > To: Ananyev, Konstantin > Cc: Ivan Boule; Thomas Monjalon; Pattan, Reshma; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 1/8] ethdev: use locks to protect Rx/Tx > callb

[dpdk-dev] [PATCH v9 1/8] ethdev: use locks to protect Rx/Tx callback lists

2016-06-15 Thread Ananyev, Konstantin
> -Original Message- > From: Ivan Boule [mailto:ivan.boule at 6wind.com] > Sent: Wednesday, June 15, 2016 3:07 PM > To: Richardson, Bruce; Ananyev, Konstantin > Cc: Thomas Monjalon; Pattan, Reshma; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 1/8] ethdev: use l

[dpdk-dev] supported packet types

2016-06-15 Thread Ananyev, Konstantin
Hi Olivier, > Hi Konstantin, > > On 04/29/2016 06:03 PM, Ananyev, Konstantin wrote: > >> The following commit introduces a function to list the supported > >> packet types of a device: > >> > >> http://dpdk.org/browse/dpdk/commit/?id=78a38e

[dpdk-dev] [PATCH v9 1/8] ethdev: use locks to protect Rx/Tx callback lists

2016-06-15 Thread Ananyev, Konstantin
Hi Ivan, > -Original Message- > From: Ivan Boule [mailto:ivan.boule at 6wind.com] > Sent: Wednesday, June 15, 2016 1:15 PM > To: Thomas Monjalon; Ananyev, Konstantin > Cc: Pattan, Reshma; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 1/8] ethdev: use lock

  1   2   3   4   5   6   7   8   9   >