[dpdk-dev] Queries on DPDK

2015-03-19 Thread Shankari Vaidyalingam
Hi I'd like to know: (1) How to capture packets received on the DPDK interface? (2) Determine the MAC address corresponding to the PCI interface Regards Shankari.V

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-19 Thread Ananyev, Konstantin
> -Original Message- > From: Wodkowski, PawelX > Sent: Thursday, March 19, 2015 4:09 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Ananyev, Konstantin; Mcnamara, John; Zhang, Helin; > Wodkowski, PawelX > Subject: [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

[dpdk-dev] [PATCH] lib/librte_vhost: fix build errors

2015-03-19 Thread Huawei Xie
fix the error "missing initializer" and "cast to pointer from integer of different size". For the pointer to integer cast issue, need to investigate changing the typeof mapped_address. Signed-off-by: Huawei Xie --- lib/librte_vhost/vhost_user/vhost-net-user.c | 2 +-

[dpdk-dev] [PATCH] i40e: revert internal switch of PF

2015-03-19 Thread Thomas Monjalon
> > VEB switching is blocking VF. > > If the source mac address of packet sent from VF is not listed in the VEB?s > > mac > > table, the VEB will switch the packet back to the VF. > > It's an hardware issue. > > > > Reverts: 2ccabd8cd1f6 ("i40e: enable internal switch of PF"). > > > >

[dpdk-dev] [PATCH v5 0/7] add doc-guides-pdf target

2015-03-19 Thread Thomas Monjalon
2015-03-19 13:47, Mcnamara, John: > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Thursday, March 19, 2015 11:23 AM > > To: Mcnamara, John > > Cc: Iremonger, Bernard; dev at dpdk.org > > Subject: [PATCH v5 0/7] add doc-guides-pdf target > >

[dpdk-dev] [PATCH v2 1/3] doc: fix file attributes

2015-03-19 Thread Butler, Siobhan A
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 19, 2015 4:48 PM > To: Butler, Siobhan A; Iremonger, Bernard > Cc: dev at dpdk.org > Subject: [PATCH v2 1/3] doc: fix file attributes > > Signed-off-by: Thomas Monjalon > --- >

[dpdk-dev] [PATCH v2 2/3] doc: move Xen guide out of programmers guide

2015-03-19 Thread Butler, Siobhan A
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 19, 2015 4:49 PM > To: Butler, Siobhan A; Iremonger, Bernard > Cc: dev at dpdk.org > Subject: [PATCH v2 2/3] doc: move Xen guide out of programmers guide > > Xen is an environment

[dpdk-dev] [PATCH v2 3/3] doc: nics guide

2015-03-19 Thread Butler, Siobhan A
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 19, 2015 4:49 PM > To: Butler, Siobhan A; Iremonger, Bernard > Cc: dev at dpdk.org > Subject: [PATCH v2 3/3] doc: nics guide > > Create nics guide by moving chapters about Intel

[dpdk-dev] Queries on DPDK working with XL710 intel NIC

2015-03-19 Thread Nissim Nisimov
Hi all, I am trying to work with intel XL710 40GIG NIC but for some reason when trying to load it via dpdk I am getting the following error: EAL: PCI device :21:00.1 on NUMA socket 1 EAL: probe driver: 8086:1583 rte_i40e_pmd EAL: PCI memory mapped at 0x7fff939f9000 EAL: PCI memory

[dpdk-dev] [PATCH] maintainers: claim pcap pmd library

2015-03-19 Thread Butler, Siobhan A
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mcnamara, John > Sent: Thursday, March 19, 2015 8:36 AM > To: Nicol?s Pernas Maradei; dev at dpdk.org; thomas.monjalon at 6wind.com > Subject: Re: [dpdk-dev] [PATCH] maintainers: claim pcap pmd library > > >

[dpdk-dev] [PATCH] maintainers: claim pcap pmd library

2015-03-19 Thread Butler, Siobhan A
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Nicol?s Pernas > Maradei > Sent: Wednesday, March 18, 2015 9:25 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] maintainers: claim pcap pmd library > > Signed-off-by: Nicol?s Pernas Maradei > > --- >

[dpdk-dev] [PATCH v2 3/3] doc: nics guide

2015-03-19 Thread Thomas Monjalon
Create nics guide by moving chapters about Intel and Mellanox NICs. Signed-off-by: Thomas Monjalon --- MAINTAINERS| 15 +- doc/guides/index.rst | 1 + .../driver_vm_emul_dev.rst => nics/e1000em.rst}| 0

[dpdk-dev] [PATCH v2 2/3] doc: move Xen guide out of programmers guide

2015-03-19 Thread Thomas Monjalon
Xen is an environment comparable to Linux and FreeBSD which have their own guide. Signed-off-by: Thomas Monjalon --- MAINTAINERS| 2 +- doc/guides/index.rst | 1 + doc/guides/prog_guide/index.rst| 1

[dpdk-dev] [PATCH v2 1/3] doc: fix file attributes

2015-03-19 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- doc/guides/prog_guide/i40e_ixgbe_igb_virt_func_drv.rst | 0 doc/guides/prog_guide/poll_mode_drv.rst| 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 doc/guides/prog_guide/i40e_ixgbe_igb_virt_func_drv.rst mode

[dpdk-dev] [PATCH v2 0/3] split programmers guide a bit

2015-03-19 Thread Thomas Monjalon
Too many things are included in the programmers guide. I think it should cover only API and knowledge needed to make an application. That's why I suggest to move Xen and NICs doc outside. Then it will be easier to add doc for a new environment or a new NIC. Note that drivers or device-related libs

[dpdk-dev] [PATCH v2 3/3] doc: nics guide

2015-03-19 Thread Iremonger, Bernard
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 19, 2015 4:49 PM > To: Butler, Siobhan A; Iremonger, Bernard > Cc: dev at dpdk.org > Subject: [PATCH v2 3/3] doc: nics guide > > Create nics guide by moving chapters about Intel and

[dpdk-dev] [PATCH 2/2] doc: add a description of the offload API

2015-03-19 Thread Olivier Matz
Signed-off-by: Olivier Matz --- doc/guides/prog_guide/mbuf_lib.rst | 89 + doc/guides/prog_guide/poll_mode_drv.rst | 24 + 2 files changed, 104 insertions(+), 9 deletions(-) diff --git a/doc/guides/prog_guide/mbuf_lib.rst

[dpdk-dev] [PATCH 1/2] doc: update testpmd guide about csum forward engine

2015-03-19 Thread Olivier Matz
Document the functions introduced by commit 64fc36064d. Signed-off-by: Olivier Matz --- app/test-pmd/cmdline.c | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 53 +++-- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git

[dpdk-dev] [PATCH 0/2] doc: update offload API

2015-03-19 Thread Olivier Matz
Document the offload API and the testpmd commands related to the checksum forward engine. Olivier Matz (2): doc: update testpmd guide about csum forward engine doc: add a description of the offload API app/test-pmd/cmdline.c | 2 +- doc/guides/prog_guide/mbuf_lib.rst

[dpdk-dev] [PATCH] doc: replace DPDK.xyz.mk by rte.xyz.mk

2015-03-19 Thread Olivier Matz
There are some references to DPDK.xyz.mk files that do not exist in the dpdk tree. This was probably the result of an automatic replacement, so restore the proper file names which are rte.xyz.mk. Signed-off-by: Olivier Matz --- doc/guides/prog_guide/build_app.rst | 8

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-19 Thread Pawel Wodkowski
From: Pawel Wodkowski When bulk alloc is enabled at compile time but preconditions for it are not met at runtime the ixgbe_reset_rx_queue() function overrides rxq->sw_ring not allocated elements. Fixes: 01fa1d6 ("ixgbe: unify Rx setup") Signed-off-by: Pawel Wodkowski

[dpdk-dev] [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

2015-03-19 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wodkowski, PawelX > Sent: Thursday, March 19, 2015 4:09 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Ananyev, Konstantin; Mcnamara, John; Zhang, > Helin; Wodkowski, PawelX > Subject: [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup

[dpdk-dev] [PATCH] hash: fix breaking strict-aliasing rules

2015-03-19 Thread Bruce Richardson
On Thu, Mar 19, 2015 at 04:25:47PM +, Bruce Richardson wrote: > On Wed, Mar 18, 2015 at 10:51:12PM +0600, Yerden Zhumabekov wrote: > > Fix rte_hash_crc() function. Casting uint64_t pointer to uin32_t > > may trigger a compiler warning about breaking strict-aliasing rules. > > To avoid that,

[dpdk-dev] [PATCH] hash: fix breaking strict-aliasing rules

2015-03-19 Thread Bruce Richardson
On Wed, Mar 18, 2015 at 10:51:12PM +0600, Yerden Zhumabekov wrote: > Fix rte_hash_crc() function. Casting uint64_t pointer to uin32_t > may trigger a compiler warning about breaking strict-aliasing rules. > To avoid that, introduce a lookup table which is used to mask out > a remainder of data. >

[dpdk-dev] [PATCH 3/6] eal: Fix memory leaks and needless incrementation of pci uio implementation

2015-03-19 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Tuesday, March 17, 2015 9:31 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH 3/6] eal: Fix memory leaks and needless incrementation of pci > uio

[dpdk-dev] Interactive/dynamic QoS scheduler

2015-03-19 Thread Dumitrescu, Cristian
Hi Alexandre, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alexandre Frigon > Sent: Wednesday, March 18, 2015 5:10 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Interactive/dynamic QoS scheduler > > Hi, > > I'm currently working with the QoS api. I

[dpdk-dev] [PATCH 2/6] eal: Close file descriptor of uio configuration

2015-03-19 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Tuesday, March 17, 2015 9:31 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH 2/6] eal: Close file descriptor of uio configuration > > When

[dpdk-dev] [PATCH v5 0/7] add doc-guides-pdf target

2015-03-19 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 19, 2015 11:23 AM > To: Mcnamara, John > Cc: Iremonger, Bernard; dev at dpdk.org > Subject: [PATCH v5 0/7] add doc-guides-pdf target > > First versions were written by John. I

[dpdk-dev] [PATCH 0/2] Intel driver silence excess logging

2015-03-19 Thread David Marchand
On 03/09/2015 08:18 PM, Stephen Hemminger wrote: > The Intel drivers seem to be getting more verbose in the log with > each release. This is not a good thing. > > Stephen Hemminger (2): >ixgbe: silence noisy log messages >e1000: silence noisy log messages > >

[dpdk-dev] [PATCH 2/2] e1000: silence noisy log messages

2015-03-19 Thread David Marchand
On 03/09/2015 08:18 PM, Stephen Hemminger wrote: > Same as ixgbe. Should not be as chatty in log and should be > possible to compile away all the debug messages. > > Signed-off-by: Stephen Hemminger And same as ixgbe patch. Patch is broken. Macro in interrupt handler can be changed to

[dpdk-dev] [PATCH 1/2] ixgbe: silence noisy log messages

2015-03-19 Thread David Marchand
On 03/09/2015 08:18 PM, Stephen Hemminger wrote: > The ixgbe driver likes to be far to chatty in the system log > which is good for the original developer but not good for a production > product. > > Reduce the log spam by doing: > * All the normal messages should be changed from INFO to DEBUG.

[dpdk-dev] [PATCH] ixgbe: fix compilation issue when RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled

2015-03-19 Thread Pablo de Lara
If RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled in the config file, RTE_PMD_IXGBE_RX_MAX_BURST macro and ixgbe_recv_pkts_bulk_alloc function are not declared, and some parts of the ixgbe code were still trying to use them. This patch fixes the problem by including previous conditionals that

[dpdk-dev] [PATCH v5 7/7] doc: remove blank pages in pdf

2015-03-19 Thread Thomas Monjalon
The "manual" Latex template provided by Sphinx introduce a lot of useless and confusing blank pages. Let's remove them. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 168efa6..b1ef323

[dpdk-dev] [PATCH v5 6/7] doc: tune pdf fonts

2015-03-19 Thread Thomas Monjalon
From: John McNamara This mainly adds metadata but also includes an override to the Latex formatter to control the font size in code blocks. Signed-off-by: John McNamara Acked-by: Bernard Iremonger --- doc/guides/conf.py | 31 +++ 1 file

[dpdk-dev] [PATCH v5 5/7] doc: fix version for python 3

2015-03-19 Thread Thomas Monjalon
When generating Latex for PDF, this error occurs: ! Undefined control sequence. \version ->b'2.0.0-rc2\n Decoding bytes stream into UTF-8 fixes the issue. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v5 4/7] doc: add pdf output

2015-03-19 Thread Thomas Monjalon
From: John McNamara Add make system support for building PDF versions of the guides. Requires Python Sphinx and TexLive Full. Signed-off-by: John McNamara Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 13 +++-- mk/rte.sdkdoc.mk | 46

[dpdk-dev] [PATCH v5 3/7] doc: convert image extensions to wildcard

2015-03-19 Thread Thomas Monjalon
From: John McNamara Changed all image.svg and image.png extensions to image.* This allows Sphinx to decide the appropriate image type from the available image options. In case of PDF, SVG images are converted and Sphinx must pick the converted version. Signed-off-by:

[dpdk-dev] [PATCH v5 2/7] doc: refactor split cell formatting in table

2015-03-19 Thread Thomas Monjalon
From: John McNamara Refactored split cell in test_pipeline table to allow it to convert cleanly to PDF. The Sphinx/Latex converter doesn't handle split cells like the following: +-+--+ | Header 1| Header 2 |

[dpdk-dev] [PATCH v5 1/7] doc: fix encoding of (r) character

2015-03-19 Thread Thomas Monjalon
From: John McNamara Change encoding of (r) from Latin-1 to UTF8 to match the other symbols in the doc and to allow it to convert cleanly to PDF. Signed-off-by: John McNamara Acked-by: Bernard Iremonger --- doc/guides/rel_notes/supported_features.rst | 2 +- 1 file

[dpdk-dev] [PATCH v5 0/7] add doc-guides-pdf target

2015-03-19 Thread Thomas Monjalon
First versions were written by John. I suggest this v5 for last changes. This patchset adds support for creating PDF versions of the user guides. Specifically: * The Programmer's Guide * The Linux Getting Started Guide * The FreeBSD Getting Started Guide * The Sample

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-19 Thread Olivier MATZ
Hi Konstantin, On 03/19/2015 11:47 AM, Ananyev, Konstantin wrote: Hi, Konstantin, Got it. To make the same, nulling the next should be inside of the block as you said. One question raises here: If a segment in the chain has refcnt > 1 (so its next is not assigned

[dpdk-dev] [RFC] af_packet: support port hotplug

2015-03-19 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Tuesday, March 17, 2015 3:43 AM > To: Iremonger, Bernard > Cc: John W. Linville; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC] af_packet: support port hotplug > > On 2015/03/16 23:47, Iremonger, Bernard

[dpdk-dev] [PATCH v2 15/15] eal: Enable Port Hotplug as default in Linux and BSD

2015-03-19 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Tuesday, March 17, 2015 8:08 AM > To: Iremonger, Bernard; dev at dpdk.org > Cc: Richardson, Bruce > Subject: Re: [PATCH v2 15/15] eal: Enable Port Hotplug as default in Linux > and BSD > > On 2015/03/14

[dpdk-dev] [PATCH 6/6] fix build error for implicit declaration of function pread

2015-03-19 Thread Yong Liu
From: Marvin Liu Function pread need marco _XOPEN_SOURCE be defined. Add _GNU_SOURCE will fix this issue. error: implicit declaration of function ?pread? Signed-off-by: Marvin Liu diff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile

[dpdk-dev] [PATCH 5/6] fix build error in app/test with gcc4.3

2015-03-19 Thread Yong Liu
From: Marvin Liu Option var-tracking-assignments supported in gcc from 4.4. Add gcc version check wil fix this issue. error: unrecognized command line option "-fno-var-tracking-assignments" Signed-off-by: Marvin Liu diff --git a/app/test/Makefile b/app/test/Makefile index

[dpdk-dev] [PATCH 3/6] fix build error when initialized structure in enic driver

2015-03-19 Thread Yong Liu
From: Marvin Liu gcc4.3 will raise warnings in blow code for initialized field overwritten. enic_main.c: In function ?enic_set_rsskey?: enic_main.c:845: error: initialized field overwritten enic_main.c:845: error: (near initialization for ?rss_key.key?) enic_main.c:846:

[dpdk-dev] [PATCH 2/6] fix fm10k driver build error when gcc version elder than 4.4

2015-03-19 Thread Yong Liu
From: Marvin Liu Build fm10k driver in Suse11 SP3 will be failed for unrecognized flag. cc1: error: unrecognized command line option "-Wno-unused-but-set-variable" This flag is supported from gcc 4.4, so add gcc version check in fm10k. In the same time, make option check

[dpdk-dev] [PATCH] fix the net device bugs and add some funcs to generate vfs in net_device

2015-03-19 Thread Yong Liu
From: sjiajiax add some codes to test the vf actions diff --git a/tools/DTF/framework/dut.py b/tools/DTF/framework/dut.py index 02c7639..2b85f23 100644 --- a/tools/DTF/framework/dut.py +++ b/tools/DTF/framework/dut.py @@ -10,7 +10,7 @@ from ssh_connection import

[dpdk-dev] [PATCH 1/6] fix sse3 functions not found with gcc 4.3.4

2015-03-19 Thread Yong Liu
From: Marvin Liu Build dpdk2.0 in Suse11 SP3, there'll be errors for not found sse3 functions. rte_memcpy.h: In function ?rte_memcpy?: rte_memcpy.h:625: error: implicit declaration of function ?_mm_alignr_epi8? rte_memcpy.h:625: error: nested extern declaration of

[dpdk-dev] [PATCH] app/test-pmd: fix incorrect port number check

2015-03-19 Thread Yong Liu
testpmd parameter "nb-port" mean the number of forwarding port. It's incorrect to use function port_id_is_invalid to check number of ports. Signed-off-by: Marvin Liu diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 11d9af0..f1daa6e 100644 --- a/app/test-pmd/parameters.c

[dpdk-dev] [PATCH 0/6] fix build warnings and errors in SUSE11 SP3

2015-03-19 Thread Yong Liu
From: Marvin Liu SUSE11 SP3 default gcc version is 4.3.4. Some options not supported in this version. This patch set add gcc version check for those options and fix other build warning in Suse11 SP3. Marvin Liu (6): fix sse3 functions not found with gcc 4.3.4 fix fm10k

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-19 Thread Ananyev, Konstantin
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Thursday, March 19, 2015 8:13 AM > To: Ananyev, Konstantin; vadim.suraev at gmail.com > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions >

[dpdk-dev] Virtual NIC interface fails to receive packets

2015-03-19 Thread Yerden Zhumabekov
Hi Shankari, First, in order to use network interfaces in dpdk, you need to stop them. That's why you see 'Routing table indicates that interface :00:08.0 is active. Not modifying' message when you bind them to igb. You can stop them with 'ifconfig ... down' command. Second, after you

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-19 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier MATZ > Sent: Thursday, March 19, 2015 8:41 AM > To: Neil Horman; vadim.suraev at gmail.com > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions > added +

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-19 Thread Olivier MATZ
Hi Neil, On 03/18/2015 09:58 PM, Neil Horman wrote: >> +/** >> + * Free a bulk of mbufs into its original mempool. >> + * This function assumes: >> + * - refcnt equals 1 >> + * - mbufs are direct >> + * - all mbufs must belong to the same mempool >> + * >> + * @param mbufs >> + *Array of

[dpdk-dev] [PATCH] app/test-pmd: fix incorrect port number check

2015-03-19 Thread Thomas Monjalon
This patch was already applied: http://dpdk.org/browse/dpdk/commit/?id=0a530f0d58b030 2015-03-19 11:16, Yong Liu: > testpmd parameter "nb-port" mean the number of forwarding port. > It's incorrect to use function port_id_is_invalid to check number of ports. > > Signed-off-by: Marvin Liu

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-19 Thread Neil Horman
On Thu, Mar 19, 2015 at 09:41:25AM +0100, Olivier MATZ wrote: > Hi Neil, > > On 03/18/2015 09:58 PM, Neil Horman wrote: > >>+/** > >>+ * Free a bulk of mbufs into its original mempool. > >>+ * This function assumes: > >>+ * - refcnt equals 1 > >>+ * - mbufs are direct > >>+ * - all mbufs must

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-19 Thread Olivier MATZ
Hi Konstantin, On 03/18/2015 04:13 PM, Ananyev, Konstantin wrote: > >> From: Vadim Suraev [mailto:vadim.suraev at gmail.com] >> Sent: Wednesday, March 18, 2015 10:41 AM >> To: Ananyev, Konstantin >> Cc: dev at dpdk.org >> Subject: Re: [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added +

[dpdk-dev] [PATCH 1/3 v2] librte_hash: Fix unsupported instruction `crc32' in i686 platform

2015-03-19 Thread Thomas Monjalon
2015-03-19 02:00, Qiu, Michael: > On 3/8/2015 2:39 AM, Thomas Monjalon wrote: > > 2015-03-06 01:39, Qiu, Michael: > >> On 3/6/2015 1:11 AM, Thomas Monjalon wrote: > >>> 2015-03-06 00:55, Michael Qiu: > CC rte_hash.o > Error: unsupported instruction `crc32' > > The root cause is

[dpdk-dev] [PATCH] maintainers: claim pcap pmd library

2015-03-19 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Nicol?s Pernas > Maradei > Sent: Wednesday, March 18, 2015 9:25 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] maintainers: claim pcap pmd library > > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -247,6

[dpdk-dev] [PATCH] ixgbe: fix compilation issue when RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled

2015-03-19 Thread Stephen Hemminger
On Thu, 19 Mar 2015 12:24:38 + Pablo de Lara wrote: > If RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled in the config file, > RTE_PMD_IXGBE_RX_MAX_BURST macro and ixgbe_recv_pkts_bulk_alloc function are > not declared, > and some parts of the ixgbe code were still trying to use them. > >

[dpdk-dev] [PATCH] fix the net device bugs and add some funcs to generate vfs in net_device

2015-03-19 Thread Liu, Yong
On 3/19/2015 11:17 AM, Yong Liu wrote: Mistook sending, please ignore this patch. > From: sjiajiax > > add some codes to test the vf actions > > diff --git a/tools/DTF/framework/dut.py b/tools/DTF/framework/dut.py > index 02c7639..2b85f23 100644 > --- a/tools/DTF/framework/dut.py > +++

[dpdk-dev] [PATCH 1/3 v2] librte_hash: Fix unsupported instruction `crc32' in i686 platform

2015-03-19 Thread Qiu, Michael
On 3/8/2015 2:39 AM, Thomas Monjalon wrote: > 2015-03-06 01:39, Qiu, Michael: >> On 3/6/2015 1:11 AM, Thomas Monjalon wrote: >>> 2015-03-06 00:55, Michael Qiu: CC rte_hash.o Error: unsupported instruction `crc32' The root cause is that i686 platform does not support 'crc32q'

[dpdk-dev] [PATCH] i40e: revert internal switch of PF

2015-03-19 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, March 18, 2015 6:07 PM > To: Zhang, Helin > Cc: dev at dpdk.org; Wu, Jingjing > Subject: [PATCH] i40e: revert internal switch of PF > > VEB switching is blocking VF. > If the source mac

[dpdk-dev] i40e_aq_get_firmware_version failure

2015-03-19 Thread Zhang, Helin
Hi Yan Please tell me what version of firmware are you using? If it is too old, please update to at least 4.2.6. If it is still there, check that if your firmware updating is really successful. You can try to run linux kernel driver to have a double check. Regards, Helin From: Yan Freedland