[dpdk-dev] Set interfaces to bind

2015-11-10 Thread Victor Detoni
Hi, is there some way to pin what port I want to use? For example, eth0 is my port 1 and eth1 is my port 0? Thanks Victor

[dpdk-dev] [PATCH v6 00/10] Add installation rules for dpdk files

2015-11-10 Thread Arevalo, Mario Alfredo C
Hi Aaron, I have been working on series of patches in order to improve the installation process of dpdk, I sent my first version at sep 18. http://dpdk.org/ml/archives/dev/2015-September/023761.html I have been received feedback from different developers as Olivier, Bruce, Panu etc... and I h

[dpdk-dev] [PATCH v3 1/2] vhost: Add callback and private data for vhost PMD

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 19:05, Panu Matilainen wrote: > On 11/10/2015 11:48 AM, Tetsuya Mukawa wrote: >> On 2015/11/10 16:16, Panu Matilainen wrote: >>> On 11/10/2015 05:13 AM, Tetsuya Mukawa wrote: On 2015/11/10 3:16, Aaron Conole wrote: > Greetings, > > Tetsuya Mukawa writes: >> These

[dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015

2015-11-10 Thread Thomas Monjalon
> > Fix for the following error on icc 2015, due to incorrect type: > > drivers/net/i40e/i40e_fdir.c(1376): error #188: enumerated type mixed with > > another type > > case RTE_ETH_FDIR_FILTER_INPUT_SET_SELECT: > > ^ > > > > Fixes: 98f05570 ("i40e: configure input fields for R

[dpdk-dev] [PATCH v3 1/2] vhost: Add callback and private data for vhost PMD

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 16:16, Panu Matilainen wrote: > On 11/10/2015 05:13 AM, Tetsuya Mukawa wrote: >> On 2015/11/10 3:16, Aaron Conole wrote: >>> Greetings, >>> >>> Tetsuya Mukawa writes: These variables are needed to be able to manage one of virtio devices using both vhost library APIs and vho

[dpdk-dev] [PATCH v6 02/10] ethdev: make error checking macros public

2015-11-10 Thread Adrien Mazarguil
On Tue, Nov 10, 2015 at 05:32:35PM +, Declan Doherty wrote: > Move the function pointer and port id checking macros to rte_ethdev and > rte_dev header files, so that they can be used in the static inline > functions there. Also replace the RTE_LOG call within > RTE_PMD_DEBUG_TRACE so this macro

[dpdk-dev] DPDK ArmV7 autotests

2015-11-10 Thread Jerin Jacob
On Tue, Nov 10, 2015 at 11:30:30AM +0100, Thomas Monjalon wrote: > 2015-11-10 10:22, Hunt, David: > > On 09/11/2015 17:46, Jan Viktorin wrote: > > > Here is the log. You an see, that many tests fail just because > > > of the missing hugetlb support. This is strange as I modified the > > > autote

[dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macros to header

2015-11-10 Thread Adrien Mazarguil
On Tue, Nov 10, 2015 at 04:21:10PM +, Richardson, Bruce wrote: > > > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com] > > Sent: Tuesday, November 10, 2015 4:08 PM > > To: Richardson, Bruce > > Cc: Stephen Hemminger ; Thomas Monjalon > > ; dev at

[dpdk-dev] [PATCH v3] i40e: fix resetting of stats

2015-11-10 Thread Thomas Monjalon
2015-11-09 10:22, Harry van Haaren: > This patch fixes a bug where only some of the statistics were being > reset when calling rte_eth_stats_reset() or rte_eth_xstats_reset(). > As both the stats reset and xstats reset do the same, refactor away > the duplicated function. > > This patch marks the

[dpdk-dev] [PATCH v6 10/10] l2fwd-crypto: crypto

2015-11-10 Thread Declan Doherty
This patch creates a new sample applicaiton based off the l2fwd application which performs specified crypto operations on IP packet payloads which are forwarding. Acked-by: Sergio Gonzalez Monroy Signed-off-by: Declan Doherty --- MAINTAINERS|1 + examples/l2fwd-crypto/Ma

[dpdk-dev] [PATCH v6 09/10] app/test: add cryptodev unit and performance tests

2015-11-10 Thread Declan Doherty
unit tests are run by using cryptodev_qat_autotest or cryptodev_aesni_autotest from the test apps interactive console. performance tests are run by using the cryptodev_qat_perftest or cryptodev_aesni_mb_perftest command from the test apps interactive console. If you which to run the tests on a QA

[dpdk-dev] [PATCH v6 08/10] aesni_mb_pmd: Initial implementation of multi buffer based crypto device

2015-11-10 Thread Declan Doherty
This patch provides the initial implementation of the AES-NI multi-buffer based crypto poll mode driver using DPDK's new cryptodev framework. This PMD is dependent on Intel's multibuffer library, see the whitepaper "Fast Multi-buffer IPsec Implementations on Intel? Architecture Processors", see re

[dpdk-dev] [PATCH v6 07/10] qat_crypto_pmd: Addition of a new QAT DPDK PMD.

2015-11-10 Thread Declan Doherty
This patch adds a PMD for the Intel Quick Assist Technology DH895xxC hardware accelerator. This patch depends on a QAT PF driver for device initialization. See the file docs/guides/cryptodevs/qat.rst for configuration details This patch supports a limited subset of QAT device functionality, curre

[dpdk-dev] [PATCH v6 06/10] mbuf_offload: library to support attaching offloads to a mbuf

2015-11-10 Thread Declan Doherty
This library add support for adding a chain of offload operations to a mbuf. It contains the definition of the rte_mbuf_offload structure as well as helper functions for attaching offloads to mbufs and a mempool management functions. This initial implementation supports attaching multiple offload

[dpdk-dev] [PATCH v6 05/10] cryptodev: Initial DPDK Crypto APIs and device framework release

2015-11-10 Thread Declan Doherty
This patch contains the initial proposed APIs and device framework for integrating crypto packet processing into DPDK. features include: - Crypto device configuration / management APIs - Definitions of supported cipher algorithms and operations. - Definitions of supported hash/authentication al

[dpdk-dev] [PATCH v6 04/10] mbuf: add new marcos to get the physical address of data

2015-11-10 Thread Declan Doherty
Acked-by: Sergio Gonzalez Monroy Signed-off-by: Declan Doherty --- lib/librte_mbuf/rte_mbuf.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 4a93189..ef1ee26 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/

[dpdk-dev] [PATCH v6 03/10] eal: add __rte_packed /__rte_aligned macros

2015-11-10 Thread Declan Doherty
Adding a new marco for specifing __aligned__ attribute, and updating the current __rte_cache_aligned macro to use it. Also adding a new macro to specify the __packed__ attribute Acked-by: Sergio Gonzalez Monroy Signed-off-by: Declan Doherty --- lib/librte_eal/common/include/rte_memory.h | 14 +

[dpdk-dev] [PATCH v6 02/10] ethdev: make error checking macros public

2015-11-10 Thread Declan Doherty
Move the function pointer and port id checking macros to rte_ethdev and rte_dev header files, so that they can be used in the static inline functions there. Also replace the RTE_LOG call within RTE_PMD_DEBUG_TRACE so this macro can be built with the -pedantic flag Signed-off-by: Declan Doherty --

[dpdk-dev] [PATCH v6 01/10] ethdev: rename macros to have RTE_ prefix

2015-11-10 Thread Declan Doherty
The macros to check that the function pointers and port ids are valid for an ethdev are potentially useful to have in a common headers for use with all PMDs. However, since they would then become externally visible, we apply the RTE_ & RTE_ETH_ prefix to them as approtiate. Signed-off-by: Declan D

[dpdk-dev] [PATCH v6 00/10] Crypto API and device framework

2015-11-10 Thread Declan Doherty
This series of patches defines a set of application burst oriented APIs for asynchronous symmetric cryptographic functions within DPDK. It also contains a poll mode driver cryptographic device framework for the implementation of crypto devices within DPDK. In the patch set we also have included 2

[dpdk-dev] [PATCH 1/2] doc: announce ABI change for cmdline buffer size

2015-11-10 Thread Mcnamara, John
> -Original Message- > From: Nelio Laranjeiro [mailto:nelio.laranjeiro at 6wind.com] > Sent: Monday, November 9, 2015 4:48 PM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; thomas.monjalon at 6wind.com; Mcnamara, John; > Lu, > Wenzhuo > Subject: [PATCH 1/2] doc: announce ABI chan

[dpdk-dev] [PATCH] app/testpmd: fix icmp echo tx queues

2015-11-10 Thread Thomas Monjalon
> > icmp echo forward engine relies on the core rank rather than the number of > > queues available. > > This fix is still wrong, because if we set a nb-rxq > nb-txq, then we will > > use > > an invalid txq, but with this, we are aligned on other fwd engines. > > > > Signed-off-by: David Marchand

[dpdk-dev] [PATCH v2] igbvf: fix vlan filtering

2015-11-10 Thread Thomas Monjalon
> > From: Julien Meunier > > > > Once posted through mailbox, we must check for nack from the PF and > > report an error in this case. > > > > Signed-off-by: Julien Meunier > > Signed-off-by: David Marchand > Acked-by: Wenzhuo Lu Applied, thanks

[dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macros to header

2015-11-10 Thread Adrien Mazarguil
On Mon, Nov 09, 2015 at 02:02:28PM +, Richardson, Bruce wrote: [...] > > From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com] [...] > > Untested but I guess modifying that function accordingly would look like: > > > > static inline void > > rte_pmd_debug_trace(const char *func_name,

[dpdk-dev] [PATCH] enic: fix vlan filtering

2015-11-10 Thread Thomas Monjalon
2015-10-31 17:04, Sujith Sankar: > On 30/10/15 9:43 pm, "David Marchand" wrote: > >From: Julien Meunier > > > >Report an error when something went wrong. > > > >Signed-off-by: Julien Meunier > >Signed-off-by: David Marchand > Acked. Applied, thanks

[dpdk-dev] [PATCH v5 02/10] ethdev: make error checking macros public

2015-11-10 Thread Declan Doherty
On 10/11/15 15:50, Adrien Mazarguil wrote: > On Mon, Nov 09, 2015 at 08:34:11PM +, Declan Doherty wrote: >> Move the function pointer and port id checking macros to rte_ethdev and >> rte_dev header files, so that they can be used in the static inline >> functions there. Also replace the RTE_LOG

[dpdk-dev] [PATCH v3] i40e: fix the issue of not freeing memzone

2015-11-10 Thread Thomas Monjalon
Helin, There is a compilation error. 2015-11-09 09:20, Helin Zhang: > + mem->zone = (const void *)mz; > + PMD_DRV_LOG(DEBUG, "memzone %s allocated with physical address: %p", > + mz->name, mem->pa); error: format ?%p? expects argument of type ?void *?, but argument 6 has t

[dpdk-dev] [PATCH v5 02/10] ethdev: make error checking macros public

2015-11-10 Thread Adrien Mazarguil
On Mon, Nov 09, 2015 at 08:34:11PM +, Declan Doherty wrote: > Move the function pointer and port id checking macros to rte_ethdev and > rte_dev header files, so that they can be used in the static inline > functions there. Also replace the RTE_LOG call within > RTE_PMD_DEBUG_TRACE so this macro

[dpdk-dev] [PATCH] i40e: fix for default flexible payload registers settings

2015-11-10 Thread Thomas Monjalon
2015-09-30 10:16, Andrey Chilikin: > This patch applies new default values to flexible payload configuration for > flow director filter > > Signed-off-by: Andrey Chilikin Helin, could you review please?

[dpdk-dev] [v2 1/1] librte_ether: fix coverity errors in rte_eth_copy_pci_info

2015-11-10 Thread Thomas Monjalon
2015-11-06 17:20, Bernard Iremonger: > add return statement to if branch > > Dereferencing NULL pointer reported by Coverity, CID 119256. > Dereferencing NULL pointer reported by Coverity, CID 119257. > > Signed-off-by: Bernard Iremonger Fixes: 494adb7f63f2 ("ethdev: add device fields from PCI

[dpdk-dev] [PATCH] app/testpmd: fix wrong fdir help and doc

2015-11-10 Thread Thomas Monjalon
> > After implementing the fdir new modes for x550, the CLIs are modified. > > Forgot to update the related help info and doc. > > > > Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") > > Signed-off-by: Wenzhuo Lu > > Acked-by: Pablo de Lara Applied, thanks

[dpdk-dev] [PATCH v4 2/2] eal: add support for driver directory concept

2015-11-10 Thread Panu Matilainen
Add support for directories as arguments to -d for loading all drivers from a given directory. Additionally a default driver directory can be set in build-time configuration, in which case it will be always be used when EAL is initialized. This simplifies usage in shared library configuration sign

[dpdk-dev] [PATCH v4 1/2] eal: move plugin loading to eal/common

2015-11-10 Thread Panu Matilainen
There's no good reason to limit plugins to Linux, make it available on FreeBSD too. Refactor the plugin code from Linux EAL to common helper functions, also check for and fail on errors during initialization. Signed-off-by: Panu Matilainen --- lib/librte_eal/bsdapp/eal/eal.c| 3 ++

[dpdk-dev] [PATCH v4 0/2] Add support for driver directories

2015-11-10 Thread Panu Matilainen
This mini-series adds support for driver directory concept based on idea by Thomas Monjalon back in February: http://dpdk.org/ml/archives/dev/2015-February/013285.html In the process FreeBSD also gains plugin support (but untested). v4: - introduce error-early behavior for invalid plugin paths

[dpdk-dev] [PATCH] app/testpmd: fix icmp echo tx queues

2015-11-10 Thread Thomas Monjalon
2015-10-29 09:47, David Marchand: > icmp echo forward engine relies on the core rank rather than the number of > queues available. > This fix is still wrong, because if we set a nb-rxq > nb-txq, then we will use > an invalid txq, but with this, we are aligned on other fwd engines. > > Signed-off-b

[dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macros to header

2015-11-10 Thread Richardson, Bruce
> -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com] > Sent: Tuesday, November 10, 2015 4:08 PM > To: Richardson, Bruce > Cc: Stephen Hemminger ; Thomas Monjalon > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macro

[dpdk-dev] [PATCH] app/testpmd: fix icmp echo tx queues

2015-11-10 Thread De Lara Guarch, Pablo
Hi, > -Original Message- > From: David Marchand [mailto:david.marchand at 6wind.com] > Sent: Thursday, October 29, 2015 8:47 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH] app/testpmd: fix icmp echo tx queues > > icmp echo forward engine relies on the core rank ra

[dpdk-dev] support for X552/X557-AT 10GBase-T devices

2015-11-10 Thread Aws Ismail
I am wondering if there is support for such device in the ixgbe PMD. the dpdk nic bind script seems to see them correctly but when running testpmd with those ports, they always come with link status down. >From the dpdk_nic_bind script (snip): Network devices using DPDK-compatible driver ===

[dpdk-dev] [PATCH v4 0/2] Add support for driver directories

2015-11-10 Thread David Marchand
Hello, On Tue, Nov 10, 2015 at 3:28 PM, Panu Matilainen wrote: > This mini-series adds support for driver directory concept > based on idea by Thomas Monjalon back in February: > http://dpdk.org/ml/archives/dev/2015-February/013285.html > > In the process FreeBSD also gains plugin support (but u

[dpdk-dev] [dpdk-users] Why packet_type is zero?

2015-11-10 Thread Thomas Monjalon
Thanks for reporting. 2015-11-10 15:46, Arseniy Zaostrovnykh: > Is the pcap driver obsolete? No > L3fwd example(http://dpdk.org/doc/guides/sample_app_ug/l3_forward.html) > check the mbuf field packet_type, and in the zero case (which is a > default value, as far as I know) it does nothing. At

[dpdk-dev] [PATCH] ixgbe: fix crc-strip enable changing rx bytes

2015-11-10 Thread Van Haaren, Harry
Hi Stephen, > From: Stephen Hemminger [mailto:shemming at brocade.com] > Subject: Re: [PATCH] ixgbe: fix crc-strip enable changing rx bytes > > Harry van Haaren wrote: > > > > This patch reads the CRC strip register, and when enabled adds 4 bytes > > to the total bytes recieved counter for each

[dpdk-dev] [PATCH v3 6/6] doc: update 2.2 release notes

2015-11-10 Thread Matej Vido
Add szedata2 PMD to 2.2 release notes. Signed-off-by: Matej Vido --- doc/guides/rel_notes/release_2_2.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index ca8471b..2ae9ba3 100644 --- a/doc/guides/rel_notes/

[dpdk-dev] [PATCH v3 5/6] doc: add documentation for szedata2 PMD

2015-11-10 Thread Matej Vido
v3: Edit formatting. Add links. Signed-off-by: Matej Vido --- doc/guides/nics/index.rst| 1 + doc/guides/nics/szedata2.rst | 127 +++ doc/guides/prog_guide/source_org.rst | 1 + 3 files changed, 129 insertions(+) create mode 100644 doc/gui

[dpdk-dev] [PATCH v3 4/6] szedata2: add support for scattered packets in RX

2015-11-10 Thread Matej Vido
Add new RX function for handling scattered packets. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 351 +++- 1 file changed, 349 insertions(+), 2 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_et

[dpdk-dev] [PATCH v3 3/6] szedata2: add TX function

2015-11-10 Thread Matej Vido
TX function handles scattered and non-scattered packets. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 216 +++- 1 file changed, 215 insertions(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rt

[dpdk-dev] [PATCH v3 2/6] szedata2: add non-scattered RX function

2015-11-10 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 235 +++- 1 file changed, 234 insertions(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c index 7edaefc..785ac88 100644 --- a/drive

[dpdk-dev] [PATCH v3 1/6] szedata2: add new poll mode driver

2015-11-10 Thread Matej Vido
Add virtual PMD which communicates with COMBO cards through sze2 layer using libsze2 library. Since link_speed is uint16_t, there can not be used number for 100G speed, therefore link_speed is set to ETH_LINK_SPEED_10G until the type of link_speed is solved. v3: Fix checkpatch.pl issues. Move RX,

[dpdk-dev] [PATCH v3 0/6] Virtual PMD using sze2 layer for COMBO cards

2015-11-10 Thread Matej Vido
This is virtual PMD which communicates with COMBO-80G and COMBO-100G cards through sze2 layer. Communication with COMBO card is managed through interface provided by libsze2 library and kernel modules (combov3, szedata2_cv3). To compile and use PMD, it is necessary to have libsze2 library installe

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-10 Thread Liu, Yong
Hi Thomas& John, Some update from validation team. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mcnamara, John > Sent: Tuesday, November 10, 2015 10:12 PM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/7] ethdev: add addi

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-10 Thread Thomas Monjalon
2015-11-10 14:12, Mcnamara, John: > My preference would be for verb_noun but I think noun_verb was used for > consistency with the rest of the Ethdev API (although that isn't quite > consistent either). And yes, read() would be more consistent with the > timesync API while get() is more consiste

[dpdk-dev] [PATCH v4 1/3] rte: add keep alive functionality

2015-11-10 Thread Thomas Monjalon
Hi, 2015-11-05 11:32, Remy Horton: > +/** > + * @param *ptr_timer Triggering timer (unused) > + * @param *ptr_data Data pointer (keepalive structure) > + */ > +void rte_keepalive_dispatch_pings(void *ptr_timer, void *ptr_data); There is no description for this function. Why ptr_timer is unused?

[dpdk-dev] [PATCH v3 5/6] doc: add documentation for szedata2 PMD

2015-11-10 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Matej Vido > Sent: Tuesday, November 10, 2015 2:18 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 5/6] doc: add documentation for szedata2 PMD > > v3: > Edit formatting. > Add links. > > Signed-off-by

[dpdk-dev] [PATCH v2] ethdev: Prefetch driver variable structure

2015-11-10 Thread Polehn, Mike A
Adds ethdev driver prefetch of variable structure to CPU cache 0 while calling into tx or rx device driver operation. RFC 2544 test of NIC task test measurement points show improvement of lower latency and/or better packet throughput indicating clock cycles saved. Signed-off-by: Mike A. Polehn -

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-10 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, November 10, 2015 11:58 AM > To: Mcnamara, John > Cc: Mrzyglod, DanielX T; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 > support functions > > 20

[dpdk-dev] [PATCHv7 0/2] ixgbe: fix TX hang when RS distance exceeds HW limit

2015-11-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Konstantin > Ananyev > Sent: Tuesday, November 10, 2015 1:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCHv7 0/2] ixgbe: fix TX hang when RS distance > exceeds HW limit > > First patch contains changes

[dpdk-dev] [PATCH v2] devargs: add blacklisting by linux interface name

2015-11-10 Thread Charles (Chas) Williams
On Thu, 2015-11-05 at 11:23 -0800, Stephen Hemminger wrote: > On Thu, 05 Nov 2015 11:39:04 -0500 > "Charles (Chas) Williams" <3chas3 at gmail.com> wrote: > > > On Wed, 2015-11-04 at 23:40 +0100, Thomas Monjalon wrote: > > > 2015-10-14 09:41, Charles Williams: > > > > On Tue, 2015-10-13 at 14:49

[dpdk-dev] [PATCHv7 2/2] ixgbe: fix TX hang when RS distance exceeds HW limit

2015-11-10 Thread Konstantin Ananyev
One of the ways to reproduce the issue: testpmd -- -i --txqflags=0 testpmd> set fwd txonly testpmd> set txpkts 64,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 testpmd> set txsplit rand testpmd> start After some time TX on ixgbe queue will hang, and all packet transmission on

[dpdk-dev] [PATCHv7 1/2] testpmd: add ability to split outgoing packets

2015-11-10 Thread Konstantin Ananyev
For CSUM forwarding mode add ability to copy & split outgoing packet into the new mbuf that consists of multiple segments. For TXONLY and CSUM forwarding modes add ability to make number of segments in the outgoing packet to vary on a per packet basis. Number of segments and size of each segment is

[dpdk-dev] [PATCHv7 0/2] ixgbe: fix TX hang when RS distance exceeds HW limit

2015-11-10 Thread Konstantin Ananyev
First patch contains changes in testpmd that allow to reproduce the issue. Second patch is the actual fix. Konstantin Ananyev (2): testpmd: add ability to split outgoing packets ixgbe: fix TX hang when RS distance exceeds HW limit app/test-pmd/cmdline.c | 57 +-

[dpdk-dev] [PATCH v2] l3fwd: fix lookup burst size for ipv6

2015-11-10 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Tuesday, November 3, 2015 8:14 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] l3fwd: fix lookup burst size for ipv6 > > Lookup burst size was changed for exact match from 4 to

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-10 Thread Thomas Monjalon
2015-11-10 11:36, Mcnamara, John: > From: Thomas Monjalon > > I'll try to fix it now to be sure it will be one of the first series ready > > for the 2.3 cycle. > > These comments are minor and could be fixed now. After having a closer look in the drivers change, it seems to be restricted to the P

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 11:25, Yuanhan Liu wrote: > On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: >> QEMU sends this message first when shutting down. There was previously no way >> for the dataplane to know that the virtio_net instance had become unusable >> and >> it would segfault when tryin

[dpdk-dev] [PATCH 3/3] vhost: Add VHOST PMD

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 7:25, Stephen Hemminger wrote: > On Tue, 27 Oct 2015 15:12:55 +0900 > Tetsuya Mukawa wrote: > >> The patch introduces a new PMD. This PMD is implemented as thin wrapper >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. >> The vhost messages will be handled

[dpdk-dev] [PATCH v5 2/7] net: Add common PTP structures and functions

2015-11-10 Thread Thomas Monjalon
2015-11-05 15:06, Daniel Mrzyglod: > This patch add common functions and structures used for PTP processing. > > Signed-off-by: Daniel Mrzyglod > --- > lib/librte_net/Makefile | 2 +- > lib/librte_net/rte_ptp.h | 105 > +++ The library librte_net g

[dpdk-dev] [PATCH v6 00/10] Add installation rules for dpdk files

2015-11-10 Thread Aaron Conole
Hi Mario, Mario Carrillo writes: > DPDK package lacks of a mechanism to install libraries, headers > applications, kernel modules and sdk files to a file system tree. > This patch set allows to install files based on the next > proposal: > http://www.freedesktop.org/software/systemd/man/file-hier

[dpdk-dev] [PATCH v3 2/2] vhost: Add VHOST PMD

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 7:22, Stephen Hemminger wrote: > On Mon, 9 Nov 2015 14:17:01 +0900 > Tetsuya Mukawa wrote: > >> +rte_atomic32_set(&r->while_queuing, 1); >> + >> +if (unlikely(rte_atomic32_read(&r->allow_queuing) == 0)) >> +goto out; > You special 2 variable custom locking here i

[dpdk-dev] [PATCH v3 1/2] vhost: Add callback and private data for vhost PMD

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 3:16, Aaron Conole wrote: > Greetings, > > Tetsuya Mukawa writes: >> These variables are needed to be able to manage one of virtio devices >> using both vhost library APIs and vhost PMD. >> For example, if vhost PMD uses current callback handler and private data >> provided by vhost

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-10 Thread Yuanhan Liu
On Tue, Nov 10, 2015 at 12:51:42PM +0900, Tetsuya Mukawa wrote: > On 2015/11/10 11:25, Yuanhan Liu wrote: > > On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: > >> QEMU sends this message first when shutting down. There was previously no > >> way > >> for the dataplane to know that the v

[dpdk-dev] [PATCH v3 1/2] vhost: Add callback and private data for vhost PMD

2015-11-10 Thread Panu Matilainen
On 11/10/2015 11:48 AM, Tetsuya Mukawa wrote: > On 2015/11/10 16:16, Panu Matilainen wrote: >> On 11/10/2015 05:13 AM, Tetsuya Mukawa wrote: >>> On 2015/11/10 3:16, Aaron Conole wrote: Greetings, Tetsuya Mukawa writes: > These variables are needed to be able to manage one of vir

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-10 Thread Thomas Monjalon
Hi, Sorry for not having followed closer this series. It was submitted at the last minute and got too few comments. I'll try to fix it now to be sure it will be one of the first series ready for the 2.3 cycle. 2015-11-05 15:06, Daniel Mrzyglod: > --- a/doc/guides/rel_notes/release_2_2.rst > +++ b

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_tunnel_filter_conf

2015-11-10 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/deprecation.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 549ecb9..57c8b7a 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_n

[dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 support functions

2015-11-10 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, November 10, 2015 11:04 AM > To: Mrzyglod, DanielX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/7] ethdev: add additional ieee1588 > support functions > > Hi,

[dpdk-dev] DPDK ArmV7 autotests

2015-11-10 Thread Thomas Monjalon
2015-11-10 10:22, Hunt, David: > On 09/11/2015 17:46, Jan Viktorin wrote: > > Here is the log. You an see, that many tests fail just because > > of the missing hugetlb support. This is strange as I modified the > > autotest_runner.py to inject "--no-huge --no-pci" options when it > > detects ar

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_fdir_flow

2015-11-10 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/deprecation.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 549ecb9..1a4614d 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_no

[dpdk-dev] [PATCH v6 10/10] doc: Add information about new installation rules

2015-11-10 Thread Mario Carrillo
Information about variables and rules behaviour is added to documentation. Signed-off-by: Mario Carrillo --- doc/build-sdk-quick.txt | 22 +++- doc/guides/freebsd_gsg/build_dpdk.rst | 39 +++ doc/guides/linux_gsg/build_dpdk.rst | 39

[dpdk-dev] [PATCH v6 09/10] mk: Add new install rule

2015-11-10 Thread Mario Carrillo
If "T" variable is defined, the installation process will have the current behaviour, else install rule will be called. Signed-off-by: Mario Carrillo --- mk/rte.sdkinstall.mk | 12 +++- mk/rte.sdkroot.mk| 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/mk/rte

[dpdk-dev] [PATCH v6 08/10] mk: Rename install rule as mbuild rule

2015-11-10 Thread Mario Carrillo
"install" with the current dpdk behaviour change its name. Signed-off-by: Mario Carrillo --- mk/rte.sdkinstall.mk | 8 mk/rte.sdkroot.mk| 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 3e87d72..6593e37 100644

[dpdk-dev] [PATCH v6 07/10] mk: Add rule for installing runtime files

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK libraries, modules, binary files, nic bind file, cpu layout file and documentation, when invoking "make install-fhs" (filesystem hierarchy standard) runtime files will be by default installed in: $(DESTDIR)/$(BIN_DIR) where BIN_DIR=$(RTE_PREFIX)/usr/bin (binar

[dpdk-dev] [PATCH v6 06/10] mk: Add rule for installing sdk files

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK makefiles, scripts, examples, tools, config files and headers, when invoking "make install-sdk" makefiles, scripts, examples, tools, config files will be installed in: $(DESTDIR)/$(SDK_DIR) and headers will be installed in: $(DESTDIR)/$(INCLUDE_DIR) where SDK_

[dpdk-dev] [PATCH v6 05/10] mk: Add rule for installing documentation

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK documentation, when invoking "make install-doc" documentation files will be installed in: $(DESTDIR)/$(DOC_DIR) where DOC_DIR=$(RTE_PREFIX)/share/doc/dpdk and RTE_PREFIX=/usr/local by default, you can override RTE_PREFIX and DOC_DIR vars. This hierarchy is bas

[dpdk-dev] [PATCH v6 04/10] mk: Add rule for installing modules

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK modules, when invoking "make install-mod" modules will be installed in: $(DESTDIR)/$(KMOD_DIR) if RTE_EXEC_ENV=linuxapp then KMOD_DIR=/lib/modules/$(uname -r)/extra/drivers/dpdk else KMOD_DIR=/boot/modules by default, you can override KMOD_DIR var. This hierar

[dpdk-dev] [PATCH v6 03/10] mk: Add rule for installing libraries

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK libraries, when invoking "make install-lib" libraries will be installed in: $(DESTDIR)/$(LIB_DIR) where LIB_DIR=$(RTE_PREFIX)/usr/lib RTE_PREFIX=/usr/local by default, you can override RTE_PREFIX and LIB_DIR vars. This hierarchy is based on: http://www.freedes

[dpdk-dev] [PATCH v6 02/10] mk: Add rule for installing app files

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK app files, nic bind file and cpu layout file when invoking "make install-bin" app files will be installed in: $(DESTDIR)/$(BIN_DIR) where BIN_DIR=$(RTE_PREFIX)/usr/local/bin and RTE_PREFIX=/usr/local by default, you can override RTE_PREFIX and BIN_DIR vars. Th

[dpdk-dev] [PATCH v6 01/10] mk: Add rule for installing headers

2015-11-10 Thread Mario Carrillo
Add hierarchy-file support to the DPDK headers, when invoking "make install-headers" headers will be installed in: $(DESTDIR)/$(INCLUDE_DIR) where INCLUDE_DIR=$(RTE_PREFIX)/include/dpdk and RTE_PREFIX=/usr/local by default, you can override RTE_PREFIX and INCLUDE_DIR vars. This hierarchy is based o

[dpdk-dev] [PATCH v6 00/10] Add installation rules for dpdk files

2015-11-10 Thread Mario Carrillo
DPDK package lacks of a mechanism to install libraries, headers applications, kernel modules and sdk files to a file system tree. This patch set allows to install files based on the next proposal: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html v6: When "make install" is invoke

[dpdk-dev] URGENT please help. Issue on ixgbe_tx_free_bufs version 2.0.0

2015-11-10 Thread Bruce Richardson
On Tue, Nov 10, 2015 at 01:35:21AM -0300, Ariel Rodriguez wrote: > Dear dpdk experts. > > Im having a recurrent segmentation fault under the > function ixgbe_tx_free_bufs (ixgbe_rxtx.c:150) (i enable -g3 -O0). > > Surfing the core dump i find out this: > > txep = &(txq->sw_ring[txq->tx_next_dd -

[dpdk-dev] [PATCH v2 06/11] bnx2x: FreeBSD enablement

2015-11-10 Thread Bruce Richardson
On Mon, Nov 09, 2015 at 03:56:21PM -0800, Rasesh Mody wrote: > Compile tested. > > Signed-off-by: Rasesh Mody > --- > doc/guides/nics/bnx2x.rst| 16 > drivers/net/bnx2x/bnx2x.c|9 + > drivers/net/bnx2x/bnx2x.h| 23 +++ > drivers/ne

[dpdk-dev] [PATCH v5 02/10] ethdev: make error checking macros public

2015-11-10 Thread Bruce Richardson
On Mon, Nov 09, 2015 at 08:34:11PM +, Declan Doherty wrote: > Move the function pointer and port id checking macros to rte_ethdev and > rte_dev header files, so that they can be used in the static inline > functions there. Also replace the RTE_LOG call within > RTE_PMD_DEBUG_TRACE so this macro

[dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macros to header

2015-11-10 Thread Declan Doherty
On 09/11/15 14:02, Richardson, Bruce wrote: > > >> -Original Message- >> From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com] >> Sent: Monday, November 9, 2015 1:39 PM >> To: Richardson, Bruce >> Cc: Stephen Hemminger ; Thomas Monjalon >> ; dev at dpdk.org >> Subject: Re: [dpdk-de

[dpdk-dev] [PATCH v5 01/10] ethdev: rename macros to have RTE_ prefix

2015-11-10 Thread Bruce Richardson
On Mon, Nov 09, 2015 at 08:34:10PM +, Declan Doherty wrote: > The macros to check that the function pointers and port ids are valid > for an ethdev are potentially useful to have in a common headers for > use with all PMDs. However, since they would then become externally > visible, we apply th

[dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015

2015-11-10 Thread Zhang, Helin
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Tuesday, November 10, 2015 6:20 PM > To: Zhang, Helin > Cc: dev at dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] i40e: fix compilation error on icc 2015 > > Fix for the following error on icc 2015, due to incorrect type: > d

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-10 Thread Yuanhan Liu
On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: > QEMU sends this message first when shutting down. There was previously no way > for the dataplane to know that the virtio_net instance had become unusable and > it would segfault when trying to do RX/TX. > > Signed-off-by: Rich Lane Th

[dpdk-dev] DPDK ArmV7 autotests

2015-11-10 Thread Hunt, David
On 09/11/2015 17:46, Jan Viktorin wrote: > Here is the log. You an see, that many tests fail just because > of the missing hugetlb support. This is strange as I modified the > autotest_runner.py to inject "--no-huge --no-pci" options when it > detects armv7 architecture. I think publishing the

[dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015

2015-11-10 Thread Pablo de Lara
Fix for the following error on icc 2015, due to incorrect type: drivers/net/i40e/i40e_fdir.c(1376): error #188: enumerated type mixed with another type case RTE_ETH_FDIR_FILTER_INPUT_SET_SELECT: ^ Fixes: 98f05570 ("i40e: configure input fields for RSS or flow director") Sign

[dpdk-dev] [PATCH] eal: add architecture specific rte_cpuflags.c files

2015-11-10 Thread Ferruh Yigit
Move cpu_feature_table array from arch specific rte_cpuflags.h files to new arch specific rte_cpuflags.c files. Main motivation is to escape from static variable declarations in header files. cpu_feature_table has many copies in final binary, even exist in some object files that does not use this

[dpdk-dev] [PATCH v2 0/2] fix compile issues on ICC

2015-11-10 Thread De Lara Guarch, Pablo
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Monday, November 09, 2015 2:46 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Zhang, Helin > Subject: [PATCH v2 0/2] fix compile issues on ICC > > It fixes compile issues for i40e, and testpmd on ICC 13.0.0. > > v2 change

[dpdk-dev] [PATCH v3 1/2] vhost: Add callback and private data for vhost PMD

2015-11-10 Thread Panu Matilainen
On 11/10/2015 05:13 AM, Tetsuya Mukawa wrote: > On 2015/11/10 3:16, Aaron Conole wrote: >> Greetings, >> >> Tetsuya Mukawa writes: >>> These variables are needed to be able to manage one of virtio devices >>> using both vhost library APIs and vhost PMD. >>> For example, if vhost PMD uses current c

[dpdk-dev] [PATCH v2] ethdev: Prefetch driver variable structure

2015-11-10 Thread Stephen Hemminger
On Tue, 10 Nov 2015 14:17:41 + "Polehn, Mike A" wrote: > Adds ethdev driver prefetch of variable structure to CPU cache 0 > while calling into tx or rx device driver operation. > > RFC 2544 test of NIC task test measurement points show improvement > of lower latency and/or better packet thro

[dpdk-dev] URGENT please help. Issue on ixgbe_tx_free_bufs version 2.0.0

2015-11-10 Thread Ariel Rodriguez
Thank you very much for your rapid response. 1) IO part is the same as load balancer. The worker part is different. The tx part use qos scheduler framework also. I will try to run the example and see what happends. 2) yes i can. I will do that too. The nic is 82599ES 10-Gigabit SFI/SFP+ with tap

[dpdk-dev] [PATCH] vhost: eventfd_link's minor number shall be specified

2015-11-10 Thread Chi, Xiaobo (Nokia - CN/Hangzhou)
Hi, Liu, thanks for your comments and guide. I will send a v2 soon. Brgs, Xiaobo Chi -Original Message- From: EXT Yuanhan Liu [mailto:yuanhan@linux.intel.com] Sent: Monday, November 09, 2015 8:58 PM To: Chi, Xiaobo (Nokia - CN/Hangzhou) Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [P

  1   2   >