[dpdk-dev] [PATCH] mk: sort config templates listing

2014-05-02 Thread Olivier MATZ
On 05/02/2014 03:28 PM, Thomas Monjalon wrote: > The config templates can be seen with "make showconfigs", "make config" or > "make help". It's easier to read if it's sorted. > > Signed-off-by: Thomas Monjalon > --- > mk/rte.sdkconfig.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-02 Thread Stephen Hemminger
The DPDK dump functions are useful for remote debugging of an applications. But when application runs as a daemon, stdout is typically routed to /dev/null. Instead change all these functions to take a stdio FILE * handle instead. An application can then use open_memstream() to capture the output.

[dpdk-dev] [PATCH 4/5] memzone: add iterator function

2014-05-02 Thread Stephen Hemminger
When doing diagnostic function, it is useful to have a ability to iterate over all memzones. Signed-off-by: Stephen Hemminger --- a/lib/librte_eal/common/eal_common_memzone.c2014-05-02 16:31:15.375587103 -0700 +++ b/lib/librte_eal/common/eal_common_memzone.c2014-05-02 16:31:15

[dpdk-dev] [PATCH 3/5] mempool: add walk iterator

2014-05-02 Thread Stephen Hemminger
Add function to iterate over mempool. Useful for diagnostic code that wants to look at mempool usage patterns. Signed-off-by: Stephen Hemminger --- a/lib/librte_mempool/rte_mempool.c 2014-05-02 16:31:13.279574637 -0700 +++ b/lib/librte_mempool/rte_mempool.c 2014-05-02 16:31:13.279574637 -0700

[dpdk-dev] [PATCH 2/5] dont inline string functions

2014-05-02 Thread Stephen Hemminger
It makes no sense to inline string functions, in fact snprintf can't be inlined because the function supports variable number of arguments. Signed-off-by: Stephen Hemminger --- lib/librte_eal/bsdapp/eal/Makefile |1 lib/librte_eal/common/eal_common_string_fns.c | 96 +++

[dpdk-dev] [PATCH 1/5] spelling fixes

2014-05-02 Thread Stephen Hemminger
Signed-off-by: Stephen Hemminger --- lib/librte_eal/bsdapp/eal/eal.c |2 +- lib/librte_eal/bsdapp/eal/include/exec-env/rte_kni_common.h |2 +- lib/librte_eal/common/include/i686/arch/rte_atomic.h | 10 +- lib/librte_eal/common/include/rt

[dpdk-dev] [PATCH 0/5] Various patches to 1.6.0r2

2014-05-02 Thread Stephen Hemminger
These are updated versions of some of the earlier patches I sent. Plus some more changes that are helpful when interacting with mempool/zone etc.

[dpdk-dev] [PATCH] mk: sort config templates listing

2014-05-02 Thread Thomas Monjalon
The config templates can be seen with "make showconfigs", "make config" or "make help". It's easier to read if it's sorted. Signed-off-by: Thomas Monjalon --- mk/rte.sdkconfig.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk ind

[dpdk-dev] [PATCH 01/15 v2] makefiles: Fixed -share command line option error

2014-05-02 Thread Thomas Monjalon
2014-05-02 09:01, Neil Horman: > On Fri, May 02, 2014 at 02:22:17PM +0200, Thomas Monjalon wrote: > > 2014-05-02 07:09, Neil Horman: > > > On Wed, Apr 30, 2014 at 01:42:12AM +0200, Thomas Monjalon wrote: > > > > 2014-04-16 09:51, Neil Horman: > > > > > The shared libraries built with the current ma

[dpdk-dev] [PATCH 01/15 v2] makefiles: Fixed -share command line option error

2014-05-02 Thread Thomas Monjalon
2014-05-02 07:09, Neil Horman: > On Wed, Apr 30, 2014 at 01:42:12AM +0200, Thomas Monjalon wrote: > > 2014-04-16 09:51, Neil Horman: > > > The shared libraries built with the current makefile set produce static > > > libraries rather than actual shared objects. This is due to several > > > missing

[dpdk-dev] [PATCH RFC] eal: change default per socket memory allocation

2014-05-02 Thread Venkatesan, Venky
Agree with Anatoly - I would much rather not change legacy option behaviour that has existed for a while, especially when --socket-mem is available to do exactly what is needed. -Venky -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Burakov, Anatoly Sent: Friday

[dpdk-dev] [PATCH 16/16] [RFC] [VFIO] Adding support for VFIO to setup.sh

2014-05-02 Thread Burakov, Anatoly
Hi Stephen, > > > > # > > +# Unloads VFIO modules. > > +# > > +remove_vfio_module() > > +{ > > + echo "Unloading any existing VFIO module" > > + /sbin/lsmod | grep -s vfio > /dev/null > > + if [ $? -eq 0 ] ; then > > + sudo /sbin/rmmod vfio-pci > > + sudo /sbin/rmmod vfi

[dpdk-dev] [PATCH 01/15 v2] makefiles: Fixed -share command line option error

2014-05-02 Thread Neil Horman
On Fri, May 02, 2014 at 02:22:17PM +0200, Thomas Monjalon wrote: > 2014-05-02 07:09, Neil Horman: > > On Wed, Apr 30, 2014 at 01:42:12AM +0200, Thomas Monjalon wrote: > > > 2014-04-16 09:51, Neil Horman: > > > > The shared libraries built with the current makefile set produce static > > > > librari

[dpdk-dev] [PATCH 00/16] [RFC] [VFIO] Add VFIO support to DPDK

2014-05-02 Thread Burakov, Anatoly
Hi Chris, > hmm, vfio requires iommu support, however virtio pmd? That's correct, virtio will not work with VFIO as it stands. However it's not the fault of this patch but rather lack of emulated IOMMU on the guest :-) Best regards, Anatoly Burakov DPDK SW Engineer

[dpdk-dev] [PATCH 00/16] [RFC] [VFIO] Add VFIO support to DPDK

2014-05-02 Thread Burakov, Anatoly
Hi Stephen, > Will this work in guest? or only on bare metal? VFIO is Linux-only, and in theory will be able to work on the guest, but not at the moment, since it requires IOMMU. There was a GSoC proposal for KVM to do IOMMU implementation, and there were a few AMD IOMMU-emulation patches float

[dpdk-dev] [PATCH RFC] eal: change default per socket memory allocation

2014-05-02 Thread Burakov, Anatoly
Hi again David/Didier, > Can I suggest to do an RTE_MAX between (internal_config.memory - > total_mem) and (internal_config.memory * cpu_per_socket[socket_id] + > rte_lcore_count() - 1) / rte_lcore_count() ? I don't think it's a good idea > to go > over the requested amount. Let the last core hav

[dpdk-dev] [PATCH 01/15 v2] makefiles: Fixed -share command line option error

2014-05-02 Thread Neil Horman
On Wed, Apr 30, 2014 at 01:42:12AM +0200, Thomas Monjalon wrote: > 2014-04-16 09:51, Neil Horman: > > The shared libraries built with the current makefile set produce static > > libraries rather than actual shared objects. This is due to several missing > > options that are required to correctly b

[dpdk-dev] [dpdk-announce] virtio-net-pmd 1.2 released

2014-05-02 Thread Thomas Monjalon
The new release can be downloaded here: http://dpdk.org/browse/virtio-net-pmd/tag/?id=v1.2 Changelog - fixes for: * probing failed for PCI id having letters * Tx queue header was wrongly initialized - enhancements: * various c

[dpdk-dev] [dpdk-announce] vmxnet3-usermap 1.2 released

2014-05-02 Thread Thomas Monjalon
The new release can be downloaded here: http://dpdk.org/browse/vmxnet3-usermap/tag/?id=v1.2 Changelog - enhancements: * various cleanups * RPM recipe -- Thomas

[dpdk-dev] [dpdk-announce] memnic 1.1 released

2014-05-02 Thread Thomas Monjalon
The new release can be downloaded here: http://dpdk.org/browse/memnic/tag/?id=v1.1 Changelog - fixes for: * race condition when transmitting to host * build for Linux >= 3.3 - enhancements: * statistics in PMD

[dpdk-dev] [dpdk-announce] DPDK 1.6.0r2 released

2014-05-02 Thread Thomas Monjalon
The new release can be downloaded here: http://dpdk.org/browse/dpdk/tag/?id=v1.6.0r2 Changelog - fixes for: * various build errors * initialization with NUMA * rbx register corruption * offload flags were lost when clo