This patch support multiple queues feature in DPDK based virtio-net frontend.
It firstly gets max queue number of virtio-net from virtio pci configuration
and then send command to negotiate the queue numer with backend;
when receiving and transmiting packets, negotiated multiple virtio-net queues
An automated unit test for the new API to allow a ring to be used as an
ethdev. Verifies that expected enqueue/dequeue functionality still
works.
Signed-off-by: Bruce Richardson
---
app/test/test_ring.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/app/test/test_
Add in a pair of functions which meet the criteria for rx_burst and
tx_burst, which then allow a ring to be used as though it were an
ethdev, so that code can be written agnostically. Provide a convertion
function that takes a single ring and returns an index of the ethdev
corresponding to it.
Sig
This allows us to get the ethdev structure definition without a full
set of additional headers from other libs being included.
To ensure compilation, add new includes to C files that needed mbuf
header without explicitly including it.
Signed-off-by: Bruce Richardson
---
app/test-pmd/cmdline.c
This patch set aims to provide a shorter simpler alternative the public API
functions for using rings as ethdevs provided by the librte_pmd_ring library.
This alternative just provides simple RX and TX burst functions and a
conversion API, without any of the complexities present in the pmd_ring
Hello,
[This message was previously sent to "contact us" on 01.org... they
directed me to
post here instead... ]
My company is developing secure networking technology and we are currently
building a prototype of our system using the dpdk as the underlying
communications platform. So far so good
Hi Neil,
2014-05-16 11:28, Neil Horman:
> Ping, so whats the status on the rest of this series? You said you would
> integrate it with 1.7.0, but you've applied several dozen patches ahead of
> it (many of which were posted after it), and as a result, it no longer
> applies. I assume you're plan
Hi Oliver,
>Yes, recalculating the pseudo-header checksum without the ip_len
>is a slow down. This slow down should however be compared to the
>operation in progress. When you do TSO, you are generally transmitting
>a large TCP packet (several KB), and the cost of the TCP stack is
>probably much
2014-05-02 16:42, 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.
commits:
356cb73 mempool: add iterator function
58f8a1d memzone: add iterator function
e5ac7c2 eal: don't inl
2014-05-06 12:52, Burakov, Anatoly:
> Hi Stephen,
>
> > 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
> >
2014-05-16 10:18, Olivier Matz:
> This patch series adds a makefile to build all examples supported
> by the configuration. It helps to check that all examples compile
> after a dpdk modification.
>
> After applying the patches, it is possible to build all examples for
> given targets, given the i
2014-05-09 15:31, David Marchand:
> Trying to install headers for an external library using DPDK exported
> makefile rte.extshared.mk results in following error :
>
> $ cd dpdk
> $ make install DESTDIR=/home/marchand/myapp/staging/plop
> T=x86_64-default-linuxapp-gcc $ cd ~/myapp
> $ make RTE_SDK=
> Display port number and MAC address at start up.
> It is useful when configuring a packet generator.
>
> Signed-off-by: Zijie Pan
Acked-by: Thomas Monjalon
Applied for version 1.7.0.
--
Thomas
2014-04-30 15:30, David Marchand:
> When starting/stopping ports, a link status check on all available ports is
> done. This can be annoying when cables are not plugged at the time.
> Default behavior is untouched.
>
> Signed-off-by: David Marchand
Acked-by: Thomas Monjalon
Applied for version
> From: Ivan Boule
>
> Add a new specific packet processing engine in the "testpmd" application
> that only replies to ARP requests and to ICMP echo requests.
> For this purpose, a new "icmpecho" forwarding mode is provided that can be
> dynamically selected with the following testpmd command:
>
> > Having a function to list forwarding engines helps to show them
> > in cli help and in parameters usage witout duplicating code.
> >
> > Signed-off-by: Thomas Monjalon
>
> Acked by: Ivan Boule
Applied for version 1.7.0.
--
Thomas
Hi Cyril,
2014-04-03 10:30, Cyril Chemparathy:
> This patch series contains a few minor extensions to test-pmd. These
> changes have been added primarily for convenience while testing out various
> scenarios with DPDK.
>
> Cyril Chemparathy (6):
> test-pmd: add support for single port loopback
On Fri, May 16, 2014 at 07:15:11PM +0100, Bruce Richardson wrote:
> This patch set aims to provide a shorter simpler alternative the public API
> functions for using rings as ethdevs provided by the librte_pmd_ring library.
> This alternative just provides simple RX and TX burst functions and a
> When doing diagnostic function, it is useful to have a ability
> to iterate over all memzones.
>
> Signed-off-by: Stephen Hemminger
Acked-by: Olivier Matz
Hi Stephen,
> +void rte_mempool_walk(void (*func)(const struct rte_mempool *, void *),
> + void *arg)
> +{
> + struct rte_mempool *mp = NULL;
> + struct rte_mempool_list *mempool_list;
> +
> + if ((mempool_list =
> + RTE_TAILQ_LOOKUP_BY_IDX(RTE_TAILQ_MEMPOOL,
Hi Konstantin,
On 05/15/2014 06:30 PM, Ananyev, Konstantin wrote:
> With the current DPDK implementation the upper code would still be different
> for TCP checksum (without segmentation) and TCP segmentation:
> different flags in mbuf, with TSO you need to setup l4_len and mss fields
> inside mb
Description: while running a periodic timer's callback, if another
timer is manipulated, the updated flag is raised
preventing the periodic timer to reload.
Fix: move
updated flag from priv_timer to rte_timer stucture (one
per core)
Signed-off-by: Vadim Suraev
---
lib/librte_timer/rte_timer
Description: when going running, the
pending count is not incremented.
Fix: decremend
pending when going running. Then, if periodic,
increment, if one shot - do nothing
Signed-off-by: Vadim Suraev
---
lib/librte_timer/rte_timer.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
two timer bugs fixed
lib/librte_timer/rte_timer.c | 21 ++---
lib/librte_timer/rte_timer.h |7 ++-
2 files changed, 16 insertions(+), 12 deletions(-)
--
1.7.9.5
On Mon, Apr 21, 2014 at 10:59:25AM -0400, Neil Horman wrote:
> Disconnect compile time linkage between eal library / applications and pmd's
>
> I noticed that, while tinkering with dpdk, building for shared libraries still
> resulted in all the test applications linking to all the built pmd's, des
Add the command "port config X rss-hash-key key" in the 'testpmd'
application to configure the RSS hash key used to compute the RSS
hash of input [IP] packets received on port X.
Signed-off-by: Ivan Boule
---
app/test-pmd/cmdline.c | 96 +++-
app/tes
1) Add a new function "rss_hash_conf_get" in the PMD API to retrieve the
current configuration of the RSS functions and/or of the RSS key used
by a NIC to compute the RSS hash of input packets.
The new function uses the existing data structure "rte_eth_rss_conf" for
returning the RSS ha
The function cmd_config_rss_parsed() associated with the command
"port config rss all" required to first stop all ports, in order to
then entirely re-configure all ports with the new RSS hash computation
parameters.
Use now the new function rte_eth_dev_rss_hash_conf_update() that dynamically
only c
1) Add a new function "rss_hash_update" in the PMD API to dynamically
update the RSS flags and/or the RSS key used by a NIC to compute the RSS
hash of input packets.
The new function uses the existing data structure "rte_eth_rss_conf" for
the argument that contains the new hash flags an
Each entry of the RSS redirection table (RETA) of igb and ixgbe ports
contains a 4-bit RX queue index, thus imposing RSS RX queue indices to
be strictly lower than 16.
In addition, if a RETA entry is configured with a RX queue index that is
strictly lower than 16, but is greater or equal to the num
This set of patches allows to dynamically get and set the RSS configuration
of a port:
- rss functions (IPv4/IPv6//UDP/TCP ...)
- rss hash key
Changes included in v2:
- Rename functions "rss_hash_conf_update" to "rss_hash_update"
- In RSS hash update functions of igb and ixgbe PMDs, add tests
th
It is now possible to build all projects from the examples/ directory
using one command from root directory.
Some illustration of what is possible:
- build examples in the DPDK tree for one target
# install the x86_64-default-linuxapp-gcc in
# ${RTE_SDK}/x86_64-default-linuxapp-gcc directory
It is not allowed to reference a an absolute file name in SRCS-y.
A VPATH has to be used, else the dependencies won't be checked
properly.
Signed-off-by: Olivier Matz
---
examples/netmap_compat/bridge/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/examples/netma
The example does not compile as the linker complains about duplicated
symbols.
Remove -lsched from LDLIBS, it is already present in rte.app.mk and
added by the DPDK framework automatically.
Signed-off-by: Olivier Matz
---
examples/qos_sched/Makefile | 2 --
1 file changed, 2 deletions(-)
diff
It is now possible to build all examples by doing the following:
user at droids:~/dpdk.org$ cd examples
user at droids:~/dpdk.org/examples$ make RTE_SDK=${PWD}/.. \
RTE_TARGET=x86_64-default-linuxapp-gcc
Signed-off-by: Olivier Matz
---
examples/Makefile | 68 ++
Signed-off-by: Olivier Matz
---
examples/l2fwd-ivshmem/Makefile | 9 +
examples/multi_process/Makefile | 16 +++-
examples/multi_process/client_server_mp/Makefile | 15 ++-
examples/quota_watermark/Makefile| 12 +++
This makefile can be included by a project that needs to build several
applications or libraries that are located in different directories.
Signed-off-by: Olivier Matz
---
mk/rte.extsubdir.mk | 53 +
1 file changed, 53 insertions(+)
create mod
This patch series adds a makefile to build all examples supported
by the configuration. It helps to check that all examples compile
after a dpdk modification.
After applying the patches, it is possible to build all examples for
given targets, given the installation directory:
# first, install t
On 5/16/2014 7:22 AM, Thomas Monjalon wrote:
> Hi Cyril,
>
> 2014-04-03 10:30, Cyril Chemparathy:
>> This patch series contains a few minor extensions to test-pmd. These
>> changes have been added primarily for convenience while testing out various
>> scenarios with DPDK.
>>
>> Cyril Chemparathy (
On 05/15/2014 06:08 PM, Thomas Monjalon wrote:
> Having a function to list forwarding engines helps to show them
> in cli help and in parameters usage witout duplicating code.
>
> Signed-off-by: Thomas Monjalon
> ---
> app/test-pmd/cmdline.c| 52
> +++
Problems with lib rte_malloc:
1. Rte_malloc searches a heap's entire free list looking for
the best fit, resulting in linear complexity.
2. Heaps store free blocks in a singly-linked list, resulting
in linear complexity when rte_free needs to remove an
adjacent block.
3. The library
Hi Sim,
2014-05-14 18:44, Helmut Sim:
> I made the required change in order to support the 82541GI chipset and I
> was able to bind it successfully to the igb_uio
Don't hesitate to submit a patch after having validated that it's working
well.
Thanks
--
Thomas
42 matches
Mail list logo