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(
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.
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
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
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 +++
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
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.
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
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
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
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
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
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
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
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
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
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
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
The new release can be downloaded here:
http://dpdk.org/browse/vmxnet3-usermap/tag/?id=v1.2
Changelog
- enhancements:
* various cleanups
* RPM recipe
--
Thomas
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
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
21 matches
Mail list logo