[dpdk-dev] [PATCH] Fix librte_pmd_ring: connect primary and secondary ring with correct port.

2014-10-07 Thread Masaru OKI
librte_pmd_ring provides created port and attached port. Packet is received from attached port if packet is sent to created port. So, packet is received from created port if packet is sent to attached port. It must be need two rings such as "create to attach" and "attach to create". But current imp

[dpdk-dev] Aligned RX data.

2014-10-07 Thread Alex Markuze
RTE_PKTMBUF_HEADROOM defines the headroom this would be true only if the buff_start was aligned to 512 which is not. On Tue, Oct 7, 2014 at 1:05 PM, Ananyev, Konstantin < konstantin.ananyev at intel.com> wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On B

[dpdk-dev] [PATCH 00/15] i40e base driver udpate

2014-10-07 Thread Thomas Monjalon
> Here is the update of i40e base driver. Also it involves a few > relevant necessary code changes in i40e PMD. > > Helin Zhang (15): > i40e: make the indentation more consistent in share code > i40e: support nvmupdate by default > i40e: remove useless code which was written for Solaris >

[dpdk-dev] [PATCH v2 00/18] Update IXGBE base code

2014-10-07 Thread Thomas Monjalon
Hi Ouyang, 2014-09-29 15:16, Ouyang Changchun: > This patch series update IXGBE base code (a.k.a. share code) from > package 2014.03.13 to package 2014.09.04 Applied You did a big work to split patches and I did another big work to split all features and to make each commit compile-able (with a

[dpdk-dev] [PATCH 0/4] Add DSO symbol versioning to support backwards compatibility

2014-10-07 Thread Neil Horman
On Wed, Oct 01, 2014 at 02:59:40PM -0400, Neil Horman wrote: > On Fri, Sep 26, 2014 at 10:45:49AM -0400, Neil Horman wrote: > > On Fri, Sep 26, 2014 at 12:41:33PM +0200, Thomas Monjalon wrote: > > > Hi Neil, > > > > > > 2014-09-24 14:19, Neil Horman: > > > > Ping Thomas. I know you're busy, but I

[dpdk-dev] [PATCH 2/2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Ananyev, Konstantin
> -Original Message- > From: Wiles, Roger Keith [mailto:keith.wiles at windriver.com] > Sent: Tuesday, October 07, 2014 4:56 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/2] Adding the routines > rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

[dpdk-dev] Aligned RX data.

2014-10-07 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, October 07, 2014 5:03 PM > To: Ananyev, Konstantin > Subject: FW: [dpdk-dev] Aligned RX data. > > > > From: Alex Markuze [mailto:alex at weka.io] > Sent: Tuesday, October 07, 2014 4:52 PM > To: Ananyev, Konstantin > Cc:

[dpdk-dev] [PATCH 2/2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Wiles, Roger Keith
On Oct 7, 2014, at 10:42 AM, Ananyev, Konstantin wrote: > Hi Keith, > >> -Original Message- >> From: Wiles, Roger Keith [mailto:keith.wiles at windriver.com] >> Sent: Tuesday, October 07, 2014 3:22 PM >> To: Ananyev, Konstantin >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH 2/

[dpdk-dev] [PATCH 2/2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Ananyev, Konstantin
Hi Keith, > -Original Message- > From: Wiles, Roger Keith [mailto:keith.wiles at windriver.com] > Sent: Tuesday, October 07, 2014 3:22 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/2] Adding the routines > rte_pktmbuf_alloc_bulk() and rte_pktmbuf_fr

[dpdk-dev] Newbie question on Fortville / i40e with regards to L2 filtering

2014-10-07 Thread Iain Rankin
Hello all I have recently started a project that requires DPDK and the new Fortville 40G nic. I am totally new to DPDK so please excuse what might as dumb questions. Was wondering if anyone can enlighten me to the DPDK support for a number of filter types on Fortville / i40e. I have dpdk 1.7.1

[dpdk-dev] section mismatch warnings

2014-10-07 Thread Sergio Gonzalez Monroy
On Mon, Oct 06, 2014 at 06:42:04PM +, Michael Hu (NSBU) wrote: > Hi Everyone, > > When we enable kernel config CONFIG_DEBUG_SECTION_MISMATCH=y and compile DPDK > 1.7 with 3.14.17 kernel + gcc 4.8.2, we got lots of warnings like these. > Do we have plan to fix them? If so, please advise on whi

[dpdk-dev] [PATCH 09/12] Remove iopl operation for IBM Power architecture

2014-10-07 Thread Ananyev, Konstantin
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cyril Chemparathy > Sent: Monday, October 06, 2014 11:04 PM > To: Chao Zhu; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 09/12] Remove iopl operation for IBM Power > architecture > > On 9/26/2014 2:36 AM, Chao Zhu wrote: > > iopl() cal

[dpdk-dev] [PATCH 2/2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Wiles, Roger Keith
On Oct 7, 2014, at 4:09 AM, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Wiles, Roger Keith [mailto:keith.wiles at windriver.com] >> Sent: Monday, October 06, 2014 9:08 PM >> To: Ananyev, Konstantin >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH 2/2] Adding t

[dpdk-dev] request_pull

2014-10-07 Thread Iremonger, Bernard
From: Iremonger, Bernard Sent: Tuesday, October 7, 2014 11:34 AM To: dev at dpdk.org Cc: Iremonger, Bernard Subject: request_pull Hi, The attached request_pull contains the DPDK Linux Getting Started Guide converted to Sphinx and modified makefiles to convert the *.rst files to *.html files

[dpdk-dev] [PATCH v2 00/18] Update IXGBE base code

2014-10-07 Thread Neil Horman
On Tue, Oct 07, 2014 at 05:14:05PM +0200, Thomas Monjalon wrote: > Hi Ouyang, > > 2014-09-29 15:16, Ouyang Changchun: > > This patch series update IXGBE base code (a.k.a. share code) from > > package 2014.03.13 to package 2014.09.04 > > Applied > > You did a big work to split patches and I did a

[dpdk-dev] section mismatch warnings

2014-10-07 Thread Neil Horman
On Mon, Oct 06, 2014 at 06:42:04PM +, Michael Hu (NSBU) wrote: > Hi Everyone, > > When we enable kernel config CONFIG_DEBUG_SECTION_MISMATCH=y and compile DPDK > 1.7 with 3.14.17 kernel + gcc 4.8.2, we got lots of warnings like these. > Do we have plan to fix them? If so, please advise on whi

[dpdk-dev] Aligned RX data.

2014-10-07 Thread Alex Markuze
Hi , I'm trying to receive aligned packets from the wire. Meaning that for all received packets the pkt.data is always aligned to (512 -H). Looking at the pmds of ixgbe/vmxnet I see that the pmds call __rte_mbuf_raw_alloc and set the rx descriptor with a RTE_MBUF_DATA_DMA_ADDR_DEFAULT Instead of t

[dpdk-dev] Queries related to Hyperthreading

2014-10-07 Thread Ravi Kumar Iyer
Thanks Kannan, Do we have any links/docs where in we could read more about the behavior of Hyperthreads. We are executing a code which is similar to the following example: So let us we have very tight loop of code which does basic arithmetic operations[addition, subtraction]. Now the cost to c

[dpdk-dev] [PATCH v2 3/4] Update library build process

2014-10-07 Thread Sergio Gonzalez Monroy
On Mon, Oct 06, 2014 at 01:46:07PM -0700, Matthew Hall wrote: > On Mon, Oct 06, 2014 at 11:52:34AM +0100, Sergio Gonzalez Monroy wrote: > > Remove COMBINE_LIBS option and by default build: > > - CONFIG_RTE_BUILD_SHARED_LIB=y : both individual and combined libraries > > - CONFIG_RTE_BUILD_SHARED_LIB

[dpdk-dev] request_pull

2014-10-07 Thread Iremonger, Bernard
Hi, The attached request_pull contains the DPDK Linux Getting Started Guide converted to Sphinx and modified makefiles to convert the *.rst files to *.html files. Regards, Bernard. -- Intel Shannon Limited Registered in Ireland Reg

[dpdk-dev] Aligned RX data.

2014-10-07 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alex Markuze > Sent: Tuesday, October 07, 2014 10:40 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Aligned RX data. > > Hi , I'm trying to receive aligned packets from the wire. > Meaning that for all receive

[dpdk-dev] [PATCH RFC] librte_reorder: new reorder library

2014-10-07 Thread Pattan, Reshma
Hi All, I am planning to implement packet reorder library. Details are as below, please go through them and provide the comments. Requirement: To reorder out of ordered packets that are received from different cores. Usage: To be used along with distributor library. Next versio

[dpdk-dev] [PATCH 2/2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Ananyev, Konstantin
> -Original Message- > From: Wiles, Roger Keith [mailto:keith.wiles at windriver.com] > Sent: Monday, October 06, 2014 9:08 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/2] Adding the routines > rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

[dpdk-dev] [PATCH v3] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Keith Wiles
Minor helper routines to mirror the mempool routines and remove the code from applications. Routine used to allocate and free bulk set of mbufs. Combined __rte_mbuf_raw_alloc_bulk into the rte_pktmbuf_alloc_bulk function. Fixed up the comments to state the correct return values. Signed-off-by: Ke

[dpdk-dev] Queries related to Hyperthreading

2014-10-07 Thread Ravi Kumar Iyer
hello Intel Gurus, I have some queries related to intel HT technology. I am running an intel dpdk application and trying to benchmark as well as optimize the same. As of now it is a single threaded application and would like to keep it like that for now. I am running it on an intel sandy bridg

[dpdk-dev] [PATCH v2] ADD mode 5(tlb) to link bonding pmd

2014-10-07 Thread Doherty, Declan
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Friday, September 26, 2014 4:41 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] ADD mode 5(tlb) to link bonding pmd > > > Signed-off-by: Daniel Mrzyglod > --- > app/test/te

[dpdk-dev] [PATCH v2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Keith Wiles > Sent: Monday, October 06, 2014 9:26 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] Adding the routines rte_pktmbuf_alloc_bulk() > and rte_pktmbuf_free_bulk() > > Minor helper routines

[dpdk-dev] [PATCH RFC] librte_reorder: new reorder library

2014-10-07 Thread Neil Horman
On Tue, Oct 07, 2014 at 09:33:06AM +, Pattan, Reshma wrote: > Hi All, > > I am planning to implement packet reorder library. Details are as below, > please go through them and provide the comments. > > Requirement: >To reorder out of ordered packets that are received from >

[dpdk-dev] Queries related to Hyperthreading

2014-10-07 Thread Ramia, Kannan Babu
Hi Ravi The Intel HT actually has its own resources except few places like execution units and other resources in the pipeline, hence there are many factors play here for the performance of the application with and without HT feature. In simple words, even when you turned on the HT, and use onl

[dpdk-dev] [pcap PATCH] pcap: fix build of all-in-one shared library

2014-10-07 Thread stepan
Build of some of the test binaries fails when the following flags are enabled: CONFIG_RTE_LIBRTE_PMD_PCAP=y CONFIG_RTE_BUILD_SHARED_LIB=y CONFIG_RTE_BUILD_COMBINE_LIBS=y The binarieas are missing symbols from libpcap. This patch adds the missing '-lpcap' linker flag into the respective Makefiles