[dpdk-dev] Suggestions for the dpdk stable tree

2016-05-20 Thread Markos Chandras
Hi, On 05/20/2016 04:54 PM, Christian Ehrhardt wrote: > Hi, > it would be great to have an actively maintained LTS release. > > Clearly all us "Distribution People" like Panu, Me and a few others should > - whenever bugs are identified as potential backports - start the > discussion. > And

[dpdk-dev] [PATCH] mk: fix underlinking issues of most librte libraries

2016-05-20 Thread Thomas Monjalon
2016-05-20 18:50, Christian Ehrhardt: > The individual libraries have various cross dependencies. > This is already refelcted in the DEPDIR dependency, but not yet in > proper DT_NEEDED flags in the .so's. > This adds the -l flags so that is properly stored in the .so's ELF > headers. Why not

[dpdk-dev] [PATCH] mk: fix underlinking issues of most librte libraries

2016-05-20 Thread Christian Ehrhardt
The individual libraries have various cross dependencies. This is already refelcted in the DEPDIR dependency, but not yet in proper DT_NEEDED flags in the .so's. This adds the -l flags so that is properly stored in the .so's ELF headers. Signed-off-by: Christian Ehrhardt ---

[dpdk-dev] Underlinked libs and overlinked applications - an issue?

2016-05-20 Thread Christian Ehrhardt
ok, - little baby steps first I'll submit a trivial patch in reply to this fixing the underlinking in all .so's, except librte_eal. - discussion on the remaining open issue second. For the remaining issue I think that needs a special understanding of linkers I still need to grasp. But since

[dpdk-dev] Suggestions for the dpdk stable tree

2016-05-20 Thread Christian Ehrhardt
Hi, it would be great to have an actively maintained LTS release. Clearly all us "Distribution People" like Panu, Me and a few others should - whenever bugs are identified as potential backports - start the discussion. And having an stable-maintainer on the other end sounds great. The active

[dpdk-dev] Compilation failed on dpdk-16.04

2016-05-20 Thread Sheroo Pratap
Hi All, I m trying to install dpdk-16.04 on my VM ubuntu. I tried to make the build but it failed with below error. anyone can help on this. ubuntu version is "Ubuntu 14.04.3 (64bit)" kernel version is 4.6. * SYMLINK-FILE include/rte_eth_null.h* * INSTALL-LIB librte_pmd_null.a* *==

[dpdk-dev] [PATCH] eal/ppc: fix secondary process to map hugepages in correct order

2016-05-20 Thread Chao Zhu
Sergio, The step 4 will not fail because each huge page will get an virtual address finally, though it's a different address. If you take a look at the function rte_eal_hugepage_init(), in the last loop, it uses both physical address and virtual address to determine a new memory segment. This

[dpdk-dev] [PATCH v2 7/7] examples/ip_pipeline: update edge router usecase

2016-05-20 Thread Piotr Azarewicz
Update edge router usecase config files to use bulk commands. Signed-off-by: Piotr Azarewicz Acked-by: Cristian Dumitrescu --- .../ip_pipeline/config/edge_router_downstream.cfg | 30 +++- .../ip_pipeline/config/edge_router_downstream.sh |7 ++--

[dpdk-dev] [PATCH v2 6/7] examples/ip_pipeline: modifies routing pipeline CLI

2016-05-20 Thread Piotr Azarewicz
Several routing commands are merged into two commands: route and arp - these two commands are handled by cli library. Rest of the commands are handled internaly by the pipeline code. Signed-off-by: Piotr Azarewicz Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/config/l2fwd.cfg

[dpdk-dev] [PATCH v2 5/7] examples/ip_pipeline: modifies flow action pipeline CLI

2016-05-20 Thread Piotr Azarewicz
All commands merged into one: cmd_action_parsed. modified bulk command: action flow bulk File line format: flow meter 0 meter 1 meter 2 meter 3 policer 0policer 1 policer 2policer 3 port Signed-off-by: Marcin Kerlin Signed-off-by: Piotr Azarewicz Acked-by:

[dpdk-dev] [PATCH v2 4/7] examples/ip_pipeline: modifies flow classifications pipeline CLI

2016-05-20 Thread Piotr Azarewicz
This patch modifies flow classifications pipeline command line interface. All commands are merged into one cmd_fc_parsed. Additionally a classification for ipv6, ipv4 and qinq can be added from configuration file. 1. flow add qinq bulk File line format: qinq port id File line example: qinq 1

[dpdk-dev] [PATCH v2 3/7] examples/ip_pipeline: modifies firewall pipeline CLI

2016-05-20 Thread Piotr Azarewicz
Each command are merged into one: cmd_firewall_parsed. ADD command format is changed: p firewall add priority ipv4 port and bulk command was modified: 1. firewall add bulk File line format: priority ipv4 port (protomask is a hex value) File line example: priority 0 ipv4

[dpdk-dev] [PATCH v2 2/7] examples/ip_pipeline: modifies common pipeline CLI

2016-05-20 Thread Piotr Azarewicz
All link commands are merged into one command: cmd_link_parsed. Improve run command to allow run periodically. Adding static keyword to a lot of token declarations. Signed-off-by: Tomasz Kulasek Signed-off-by: Michal Kobylinski Acked-by: Cristian Dumitrescu ---

[dpdk-dev] [PATCH v2 1/7] examples/ip_pipeline: add helper functions for parsing string

2016-05-20 Thread Piotr Azarewicz
Add a couple of additional functions that will allow to parse many types of input parameters, i.e.: bool, 16, 32, 64 bits, hex, etc. Signed-off-by: Piotr Azarewicz Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/Makefile |1 + examples/ip_pipeline/config_parse.c | 257

[dpdk-dev] [PATCH v2 0/7] examples/ip_pipeline: CLI rework and improvements

2016-05-20 Thread Piotr Azarewicz
Using the latest librte_cmdline improvements, the CLI implementation of the ip_pipeline application is streamlined and improved, which results in eliminating thousands of lines of code from the application, thus leading to code that is easier to maintain and extend. v2 changes: - added functions

[dpdk-dev] [PATCH] mbuf: make rearm_data address naturally aligned

2016-05-20 Thread Zoltan Kiss
Hi, On 19/05/16 13:18, Ananyev, Konstantin wrote: > I wonder does anyone really use mbuf port field? > My though was - could we to drop it completely? There are a few example codes which are reading the port field. Although they can retain this metadata in the private area of the mbuf, right

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-05-20 Thread Ilya Maximets
In current implementation guest application can reinitialize vrings by executing start after stop. In the same time host application can still poll virtqueue while device stopped in guest and it will crash with segmentation fault while vring reinitialization because of dereferencing of bad

[dpdk-dev] [PATCH v2] doc: fix code section in abi versioning doc

2016-05-20 Thread John McNamara
Fix broken cosole directive in the ABI validator section of the ABI versioning docs. Fixes: f1ef9794f9bd ("doc: add ABI guidelines") Signed-off-by: John McNamara --- v2: Added fixline. doc/guides/contributing/versioning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH] i40e: unintended sign extension

2016-05-20 Thread Slawomir Mrozowicz
Suspicious implicit sign extension: pf->fdir.match_counter_index with type unsigned short (16 bits, unsigned) is promoted in pf->fdir.match_counter_index << 20 to type int (32 bits, signed), then sign-extended to type unsigned long (64 bits, unsigned). If pf->fdir.match_counter_index << 20 is

[dpdk-dev] [PATCH v1] doc: fix code section in abi versioning doc

2016-05-20 Thread John McNamara
Fix broken cosole directive in the ABI validator section of the ABI versioning docs. Signed-off-by: John McNamara --- doc/guides/contributing/versioning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/contributing/versioning.rst

[dpdk-dev] Suggestions for the dpdk stable tree

2016-05-20 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Christian Ehrhardt > Sent: Friday, May 20, 2016 9:07 AM > To: dev ; Stephen Hemminger > Subject: Re: [dpdk-dev] Suggestions for the dpdk stable tree > > Hi, > I guess over time/releases less people mind the

[dpdk-dev] Rx_missed_errors drops with larger packet size

2016-05-20 Thread SwamZ
Hi Alex and Bruce, Thanks for the reply. Alex, Just saw your email. You are right, this issue was happening for multicast packets only. On 82599 NIC, multicast and broadcast packet replication (IXGBE_VT_CTL_REPLEN) was enabled even for single VF case, hence NIC was dropping the packets as

[dpdk-dev] Underlinked libs and overlinked applications - an issue?

2016-05-20 Thread Christian Ehrhardt
On Fri, May 20, 2016 at 1:01 PM, Panu Matilainen wrote: > On 05/19/2016 09:17 PM, Thomas Monjalon wrote: > >> 2016-05-19 17:38, Christian Ehrhardt: >> >>> Hi, >>> I was working on the new 16.04 build system to adapt deb packaging to it. >>> I remember somewhen back in the DPDK 2.2 and

[dpdk-dev] [PATCH v2 6/7] virtio: fix pci accesses for ppc64 in legacy mode

2016-05-20 Thread Olivier Matz
On 05/20/2016 02:11 PM, Olivier Matz wrote: > Maybe I could replace in the patch: > #ifdef RTE_ARCH_PPC_64 > By something like : > #if defined(RTE_ARCH_PPC_64) && (RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN) Hmm it's probably useless since we already do a rte_be_to_cpu_*(), so it should do nothing

[dpdk-dev] Compilation failed on dpdk-16.04

2016-05-20 Thread Christian Ehrhardt
Hi, as Thomas said that is a dep for pcap. Note that dpdk is part of Ubuntu 15.10 and later - due to that even if building on your own on these releases you would be able to run "sudo apt-get build-dep dpdk" to get all usual build dependencies resolved automatically. But since you are on an older

[dpdk-dev] [PATCH v2 6/7] virtio: fix pci accesses for ppc64 in legacy mode

2016-05-20 Thread Olivier Matz
Hi Chao, On 05/19/2016 11:13 AM, Chao Zhu wrote: > Olivier, > > Thanks for the patches! > Just one comment: > POWER8 machine only supports little endian OS on bare metal. In VM guest, it > can support both little endian and big endian OS. Did you try to run it on > both host (little endian) and

[dpdk-dev] Compilation failed on dpdk-16.04

2016-05-20 Thread Thomas Monjalon
2016-05-20 17:33, Sheroo Pratap: > Hi All, > > I m trying to install dpdk-16.04 on my VM ubuntu. > I tried to make the build but it failed with below error. > > anyone can help on this. > > ubuntu version is "Ubuntu 14.04.3 (64bit)" > kernel version is 4.6. > > * SYMLINK-FILE

[dpdk-dev] [PATCH v2] vhost: add support for dynamic vhost PMD creation

2016-05-20 Thread Thomas Monjalon
2016-05-20 11:37, Bruce Richardson: > On Thu, May 19, 2016 at 06:44:44PM +0200, Thomas Monjalon wrote: > > 2016-05-19 17:28, Ferruh Yigit: > > > On 5/19/2016 9:33 AM, Thomas Monjalon wrote: > > > > 2016-05-18 18:10, Ferruh Yigit: > > > >> Add rte_eth_from_vhost() API to create vhost PMD

[dpdk-dev] Underlinked libs and overlinked applications - an issue?

2016-05-20 Thread Panu Matilainen
On 05/19/2016 09:17 PM, Thomas Monjalon wrote: > 2016-05-19 17:38, Christian Ehrhardt: >> Hi, >> I was working on the new 16.04 build system to adapt deb packaging to it. >> I remember somewhen back in the DPDK 2.2 and shared+combined library days I >> had some issues with over/underlinking - but

[dpdk-dev] [PATCHv3 5/5] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-20 Thread Neil Horman
This tool searches for the primer sting PMD_DRIVER_INFO= in any ELF binary, and, if found parses the remainder of the string as a json encoded string, outputting the results in either a human readable or raw, script parseable format Note that, in the case of dynamically linked applications,

[dpdk-dev] [PATCHv3 4/5] Makefile: Do post processing on objects that register a driver

2016-05-20 Thread Neil Horman
Modify the compilation makefile to identify C files that export PMD information, and use that to trigger execution of the pmdinfo binary. If the execution of pmdinfo is successful, compile the output C file to an object, and use the linker to do relocatable linking on the resultant object file

[dpdk-dev] [PATCHv3 3/5] eal: Add an export symbol to expose the autoload path to external tools

2016-05-20 Thread Neil Horman
Export a symbol containing the string: DPDK_PLUGIN_PATH="$(CONFIG_RTE_EAL_PMD_PATH)" Where the latter half of the string is set at build time to a location from which autoloaded DSO's will be found. This string is used by pmdinfo in 'plugin' mode, whereby a user can specify a dpdk installation

[dpdk-dev] [PATCHv3 2/5] drivers: Update driver registration macro usage

2016-05-20 Thread Neil Horman
Modify the PMD_REGISTER_DRIVER macro, adding a name argument to it. The addition of a name argument creates a token that can be used for subsequent macros in the creation of unique symbol names to export additional bits of information for use by the pmdinfogen tool. For example:

[dpdk-dev] [PATCHv3 1/5] pmdinfogen: Add buildtools and pmdinfogen utility

2016-05-20 Thread Neil Horman
pmdinfogen is a tool used to parse object files and build json strings for use in later determining hardware support in a dso or application binary. pmdinfo looks for the non-exported symbol names this_pmd_name and this_pmd_tbl (where n is a integer counter). It records the name of each of

[dpdk-dev] [PATCHv3 0/5] Implement pmd hardware support exports

2016-05-20 Thread Neil Horman
Hey all- So heres attempt number 2 at a method for exporting PMD hardware support information. As we discussed previously, the consensus seems to be that pmd information should be: 1) Able to be interrogated on any ELF binary (application binary or individual DSO) 2) Equally functional

[dpdk-dev] [PATCHv2 4/4] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-20 Thread Panu Matilainen
On 05/20/2016 11:55 AM, Thomas Monjalon wrote: > 2016-05-20 08:22, Panu Matilainen: >> Ability to query individual DSOs is a building block for other things >> like automation (you dont expect normal users to go manually loading hw >> support modules for the OS either), but its not an end-user

[dpdk-dev] [PATCH 11/11] enic: add ENIC_ASSERT macro

2016-05-20 Thread John Daley
Add an ASSERT macro for the enic driver which is enabled when the log level is >= RTE_LOG_DEBUG. Assert that number of mbufs to return to the pool in the Tx function is never greater than the max allowed. Signed-off-by: John Daley --- drivers/net/enic/enic.h | 12

[dpdk-dev] [PATCH 10/11] enic: Tx cleanup - remove unused files, functions, variables

2016-05-20 Thread John Daley
Remove some files, functions and variables left unused after Tx performance improvements. Signed-off-by: John Daley --- drivers/net/enic/base/enic_vnic_wq.h | 63 drivers/net/enic/base/vnic_cq.h | 44 -

[dpdk-dev] [PATCH 09/11] enic: Tx perf - optimize the transmit function

2016-05-20 Thread John Daley
Reduce host CPU overhead of Tx packet processing: * Use local variables inside per packet loop instead of fields in structs. * Factor book keeping and conditionals out of the per packet loop where possible. * Post buffers to the nic at a maximum of every 64 packets Signed-off-by: Nelson Escobar

[dpdk-dev] [PATCH 08/11] enic: Tx perf - bulk recycle mbufs, refactor

2016-05-20 Thread John Daley
Mbufs were returned to the pool one at a time. Use rte_mempool_put_bulk instead. There were muiltiple function calls for each buffer returned. Refactor this code into just 2 functions. Signed-off-by: John Daley --- drivers/net/enic/base/vnic_wq.h | 27 -

[dpdk-dev] [PATCH 07/11] enic: Tx perf - use completion message instead of completion queue

2016-05-20 Thread John Daley
The NIC can either DMA a separate completion message for each completed send or periodically just DMA an index of the last completed send. Switch to the second method which improves cache locality and performance. Signed-off-by: John Daley --- drivers/net/enic/base/vnic_wq.c | 1 +

[dpdk-dev] [PATCH 06/11] enic: Tx perf - improve processing of mbufs held by driver

2016-05-20 Thread John Daley
The list of mbufs held by the driver on Tx was allocated in chunks (a hold-over from the enic kernel mode driver). The structure used next pointers across chunks which led to cache misses. Allocate the array used to hold mbufs in flight on Tx with rte_zmalloc_socket(). Remove unnecessary fields

[dpdk-dev] [PATCH 05/11] enic: Tx cleanup - remove some unused functions

2016-05-20 Thread John Daley
Functions existed which were never called. Removed them. Also rename the 'pmd' from the name of the Tx function to improve clarity. Signed-off-by: John Daley --- drivers/net/enic/base/vnic_wq.h | 45 drivers/net/enic/enic.h | 5 ++-

[dpdk-dev] [PATCH 04/11] enic: Tx cleanup - put Tx and Rx functions into same file

2016-05-20 Thread John Daley
Signed-off-by: John Daley --- drivers/net/enic/Makefile | 2 +- drivers/net/enic/enic.h| 3 + drivers/net/enic/enic_ethdev.c | 65 -- drivers/net/enic/enic_main.c | 82 +-- drivers/net/enic/enic_rx.c | 343 -

[dpdk-dev] [PATCH 03/11] enic: count truncated packets

2016-05-20 Thread John Daley
Truncated packets occur on enic if an mbuf is not big enough to receive it or there aren't enough mbufs if rx scatter is in use. They show up as error packets but unlike other error packets (like packets bad FCS) there are no nic drop counts incremented for them. Truncated packets are calculated

[dpdk-dev] [PATCH 02/11] enic: drop bad packets, remove unused rx error flag

2016-05-20 Thread John Daley
Following the discussions from: http://dpdk.org/ml/archives/dev/2015-July/021721.html http://dpdk.org/ml/archives/dev/2016-April/038143.html Remove the unused flag from enic driver. Also, the enic driver is modified to drop bad packets. Signed-off-by: Olivier Matz Signed-off-by: John Daley ---

[dpdk-dev] [PATCH 01/11] enic: fix Rx drop counters

2016-05-20 Thread John Daley
rx_no_bufs is a hardware counter of packets dropped on the interface due to no host buffers and should be used to update r_stats->imissed counter instead of rx_nombuf. Include rx_drop in ierrors. rx_drop is incremented if packets arrive when the receive queue is disabled. Add a structure and

[dpdk-dev] [ovs-dev] [PATCH v3 1/3] netdev-dpdk: Remove dpdk watchdog thread

2016-05-20 Thread Traynor, Kevin
[cross-posting to dpdk mailing list] > -Original Message- > From: Torgny Lindberg [mailto:torgny.lindberg at ericsson.com] > Sent: Thursday, May 19, 2016 8:26 AM > To: Traynor, Kevin ; Loftus, Ciara > ; dev at openvswitch.org > Subject: RE: [ovs-dev] [PATCH v3 1/3] netdev-dpdk: Remove

[dpdk-dev] Rx_missed_errors drops with larger packet size

2016-05-20 Thread Bruce Richardson
On Fri, May 20, 2016 at 02:09:02AM -0700, SwamZ wrote: > Hi, > > > While doing performance testing with larger packet size (like 4000 bytes), > we are seeing rx_missed_errors on the interface. This issue is not seen > with packet size less than 2000. There were questions asked in this forum > on

[dpdk-dev] [PATCH v3 00/35] mempool: rework memory allocation

2016-05-20 Thread Panu Matilainen
On 05/19/2016 03:47 PM, Thomas Monjalon wrote: > 2016-05-18 13:04, Olivier Matz: >> This series is a rework of mempool. For those who don't want to read >> all the cover letter, here is a sumary: >> >> - it is not possible to allocate large mempools if there is not enough >> contiguous memory,

[dpdk-dev] [PATCH v2] vhost: add support for dynamic vhost PMD creation

2016-05-20 Thread Bruce Richardson
On Thu, May 19, 2016 at 06:44:44PM +0200, Thomas Monjalon wrote: > 2016-05-19 17:28, Ferruh Yigit: > > On 5/19/2016 9:33 AM, Thomas Monjalon wrote: > > > 2016-05-18 18:10, Ferruh Yigit: > > >> Add rte_eth_from_vhost() API to create vhost PMD dynamically from > > >> applications. > > > > > > How

[dpdk-dev] [PATCH] eal/ppc: fix secondary process to map hugepages in correct order

2016-05-20 Thread Sergio Gonzalez Monroy
On 20/05/2016 09:41, Chao Zhu wrote: > Sergio, > > The step 4 will not fail because each huge page will get an virtual address > finally, though it's a different address. If you take a look at the function > rte_eal_hugepage_init(), in the last loop, it uses both physical address and > virtual

[dpdk-dev] [PATCH v3 00/35] mempool: rework memory allocation

2016-05-20 Thread Thomas Monjalon
2016-05-20 11:42, Panu Matilainen: > Just noticed this series "breaks" --no-huge as a regular user, commit > 593a084afc2b to be exact: > > mmap(NULL, 4194304, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS|MAP_LOCKED, 0, 0) = -1 EAGAIN (Resource > temporarily unavailable) > write(1, "EAL:

[dpdk-dev] [PATCH] eal/ppc: fix secondary process to map hugepages in correct order

2016-05-20 Thread Chao Zhu
Bruce, Recently, we find some bugs with mmap in PowerLinux. The mmap doesn't respect the address hints. In function get_virtual_area() in eal_memory.c, mmap get the free virtual address range as the address hint. However, when mapping the real memory in rte_eal_hugepage_init(), mmap doesn't

[dpdk-dev] [PATCHv2 4/4] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-20 Thread Thomas Monjalon
2016-05-20 08:22, Panu Matilainen: > Ability to query individual DSOs is a building block for other things > like automation (you dont expect normal users to go manually loading hw > support modules for the OS either), but its not an end-user solution. > > Thomas said in

[dpdk-dev] [PATCH 4/4] pmd_hw_support.py: Add tool to query binaries for hw support information

2016-05-20 Thread Panu Matilainen
On 05/19/2016 04:26 PM, Neil Horman wrote: > On Thu, May 19, 2016 at 09:08:52AM +0300, Panu Matilainen wrote: >> On 05/18/2016 04:48 PM, Neil Horman wrote: >>> On Wed, May 18, 2016 at 03:48:12PM +0300, Panu Matilainen wrote: On 05/18/2016 03:03 PM, Neil Horman wrote: > On Wed, May 18,

[dpdk-dev] [PATCHv2 4/4] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-20 Thread Neil Horman
On Fri, May 20, 2016 at 10:55:26AM +0200, Thomas Monjalon wrote: > 2016-05-20 08:22, Panu Matilainen: > > Ability to query individual DSOs is a building block for other things > > like automation (you dont expect normal users to go manually loading hw > > support modules for the OS either), but

[dpdk-dev] [PATCHv2 4/4] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-20 Thread Neil Horman
On Fri, May 20, 2016 at 08:22:34AM +0300, Panu Matilainen wrote: > On 05/19/2016 03:00 PM, Neil Horman wrote: > > On Thu, May 19, 2016 at 12:02:27PM +0300, Panu Matilainen wrote: > > > On 05/19/2016 12:08 AM, Neil Horman wrote: > > > > This tool searches for the primer sting PMD_DRIVER_INFO= in

[dpdk-dev] Suggestions for the dpdk stable tree

2016-05-20 Thread Christian Ehrhardt
Hi, I guess over time/releases less people mind the 2.2-stable. But I still see a lot of people referring to 2.2 - so why not giving this thread a ping again. ack / nack / opinions ? Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Thu, Mar 24, 2016 at 8:14 AM, Christian

[dpdk-dev] [PATCH 4/4] pmd_hw_support.py: Add tool to query binaries for hw support information

2016-05-20 Thread Neil Horman
On Fri, May 20, 2016 at 10:30:27AM +0300, Panu Matilainen wrote: > On 05/19/2016 04:26 PM, Neil Horman wrote: > > On Thu, May 19, 2016 at 09:08:52AM +0300, Panu Matilainen wrote: > > > On 05/18/2016 04:48 PM, Neil Horman wrote: > > > > On Wed, May 18, 2016 at 03:48:12PM +0300, Panu Matilainen

[dpdk-dev] [PATCH v2] vhost: add support for dynamic vhost PMD creation

2016-05-20 Thread Yuanhan Liu
On Thu, May 19, 2016 at 06:44:44PM +0200, Thomas Monjalon wrote: > 2016-05-19 17:28, Ferruh Yigit: > > On 5/19/2016 9:33 AM, Thomas Monjalon wrote: > > > 2016-05-18 18:10, Ferruh Yigit: > > >> Add rte_eth_from_vhost() API to create vhost PMD dynamically from > > >> applications. > > > > > > How

[dpdk-dev] Rx_missed_errors drops with larger packet size

2016-05-20 Thread Alexander Duyck
On Fri, May 20, 2016 at 2:09 AM, SwamZ wrote: > Hi, > > > While doing performance testing with larger packet size (like 4000 bytes), > we are seeing rx_missed_errors on the interface. This issue is not seen > with packet size less than 2000. There were questions asked in this forum > on

[dpdk-dev] [PATCH] examples/ethtool: include case for 64-bit registers

2016-05-20 Thread Remy Horton
Morning, On 11/05/2016 11:48, zr at semihalf.com wrote: > From: Zyta Szpak > > rte_eth_dev_get_reg_length and rte_eth_dev_get_reg callbacks > do not provide register size to the app in any way. Example assuming > they are 32-bit wide always allocates not enough memory if the > registers are

[dpdk-dev] [PATCH] eal/ppc: fix secondary process to map hugepages in correct order

2016-05-20 Thread Sergio Gonzalez Monroy
On 20/05/2016 04:03, Chao Zhu wrote: > Bruce, > > Recently, we find some bugs with mmap in PowerLinux. The mmap doesn't > respect the address hints. In function get_virtual_area() in eal_memory.c, > mmap get the free virtual address range as the address hint. However, when > mapping the real

[dpdk-dev] [PATCH 0/6] vhost/virtio performance loopback utility

2016-05-20 Thread Wang, Zhihong
> -Original Message- > From: Wang, Zhihong > Sent: Friday, May 6, 2016 6:47 AM > To: dev at dpdk.org > Cc: Ananyev, Konstantin ; Richardson, Bruce > ; thomas.monjalon at 6wind.com > Subject: [PATCH 0/6] vhost/virtio performance loopback utility > Hi Thomas, Bruce, Do you have any

[dpdk-dev] [PATCH / RFC ] ethdev: Allow rte_eth_dev_configure with zero RX/TX queues

2016-05-20 Thread Simon Kågström
Ping? Any more comments on this? // Simon On 2016-05-16 15:16, Simon K?gstr?m wrote: > On 2016-05-16 14:43, Pattan, Reshma wrote: This was added to allow devices, at least with one direction (RX/TX) >>> supported. As, devices with both directions disabled doesn't make sense >>> right?

[dpdk-dev] [PATCH / RFC ] ethdev: Allow rte_eth_dev_configure with zero RX/TX queues

2016-05-20 Thread Pattan, Reshma
> -Original Message- > From: Simon K?gstr?m [mailto:simon.kagstrom at netinsight.net] > Sent: Friday, May 20, 2016 7:30 AM > To: Pattan, Reshma ; dev at dpdk.org; > thomas.monjalon at 6wind.com > Subject: Re: [dpdk-dev] [PATCH / RFC ] ethdev: Allow rte_eth_dev_configure > with zero RX/TX

[dpdk-dev] [PATCH] scripts: remove unused map files merger

2016-05-20 Thread Panu Matilainen
On 05/19/2016 09:05 PM, Thomas Monjalon wrote: > This script was forgotten when dropping the combined library. > > Fixes: 948fd64befc3 ("mk: replace the combined library with a linker script") > > Signed-off-by: Thomas Monjalon > --- I haven't even noticed there was such a script :) Thanks for

[dpdk-dev] [PATCHv2 4/4] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-20 Thread Panu Matilainen
On 05/19/2016 03:00 PM, Neil Horman wrote: > On Thu, May 19, 2016 at 12:02:27PM +0300, Panu Matilainen wrote: >> On 05/19/2016 12:08 AM, Neil Horman wrote: >>> This tool searches for the primer sting PMD_DRIVER_INFO= in any ELF binary, >>> and, if found parses the remainder of the string as a json

[dpdk-dev] Rx_missed_errors drops with larger packet size

2016-05-20 Thread SwamZ
Hi, While doing performance testing with larger packet size (like 4000 bytes), we are seeing rx_missed_errors on the interface. This issue is not seen with packet size less than 2000. There were questions asked in this forum on rx_missed_error, but there was not any conclusion. Please let me