Hello all,
I am back from holidays; thanks for all the
patches/reviews/comments done during last weeks.
I'd like to have a version 1.7.1, ideally at the end of this week.
For the coming days,
- first priority is to integrate bug fixes
- some changes which do not imply API could be part of
Implement standard virtio controls for enabling and disabling
promiscious and multicast.
Signed-off-by: Stephen Hemminger
--- a/lib/librte_pmd_virtio/virtio_ethdev.c 2014-08-25 19:00:16.754586819
-0700
+++ b/lib/librte_pmd_virtio/virtio_ethdev.c 2014-08-25 19:02:48.019397658
-0700
@@ -
Change order of initialiazation to match Linux kernel.
Don't blow away control queue by doing reset when stopped.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_virtio/virtio_ethdev.c | 50 ++
lib/librte_pmd_virtio/virtio_rxtx.c |2 +
2 files change
Since vq_alignment is constant (always 4K), it does not
need to be part of the vring struct.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_virtio/virtio_ethdev.c |1 -
lib/librte_pmd_virtio/virtio_rxtx.c |2 +-
lib/librte_pmd_virtio/virtqueue.h |3 +--
3 files changed, 2
Cleanup virtio code by eliminating unnecessary nesting of
virtio hardware structure inside adapter structure.
Also allows removing unneeded macro, making code clearer.
---
lib/librte_pmd_virtio/virtio_ethdev.c | 31 +++
lib/librte_pmd_virtio/virtio_ethdev.h |9 --
Implement VLAN stripping in software. This allows application
to be device independent.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_virtio/virtio_ethdev.c |2 ++
lib/librte_pmd_virtio/virtio_pci.h|1 +
lib/librte_pmd_virtio/virtio_rxtx.c | 20 ++--
3 fil
It is helpful to allow device drivers that don't support hardware
VLAN stripping to emulate this in software.
Signed-off-by: Stephen Hemminger
---
lib/librte_ether/rte_ether.h | 69 +++
1 file changed, 69 insertions(+)
--- a/lib/librte_ether/rte_ether
Virtio has link state interrupt which can be used.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_virtio/virtio_ethdev.c | 78 ++
lib/librte_pmd_virtio/virtio_pci.c| 22 +
lib/librte_pmd_virtio/virtio_pci.h|4 +
3 files changed, 86 i
Starting driver with link down should be ok, it is with every
other driver. So just allow it.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_virtio/virtio_ethdev.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
--- a/lib/librte_pmd_virtio/virtio_ethdev.c 2014-08-25 19:
The DPDK driver only has to deal with the case of running on PCI
and with SMP. In this case, the code can use the weaker barriers
instead of using hard (fence) barriers. This will help performance.
The rationale is explained in Linux kernel virtio_ring.h.
To make it clearer that this is a virtio t
For clarity make the setup of PCI resources for Linux
into a function rather than block of code #ifdef'd in middle
of dev_init.
---
lib/librte_pmd_virtio/virtio_ethdev.c | 76 +++---
1 file changed, 43 insertions(+), 33 deletions(-)
--- a/lib/librte_pmd_virtio/virti
These are untested patches to merge functionality from
Brocade/vyatta DPDK virtio driver back into the Intel DPDK 1.7 driver.
Use them and merge them if you want. But test first, these are compile
tested only.
On Tue, 26 Aug 2014 01:05:16 +
"Ouyang, Changchun" wrote:
> Hi Stephen,
>
> My response below.
>
> Thanks
> Changchun
>
>
> > -Original Message-
> > From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> > Sent: Tuesday, August 26, 2014 8:13 AM
> > To: Ouyang, Changchu
The .log below shows your two 10G ports link are up.
Which CPU are you using now and how many processor sockets do you have? If you
used a platform with two processor sockets, make sure to use correct core mask
to specify cores rx/tx packets from 10G NIC connecting to local socket. For you
cas
Some drivers need ability to access PCI config (for example for power
management). This adds an abstraction to do this; only implemented
on Linux, but should be possible on BSD.
Signed-off-by: Stephen Hemminger
--- a/lib/librte_eal/common/include/rte_pci.h 2014-06-24 09:20:05.651993525
-0700
I have 7 patches for vmxnet3 but don't have time/infrastructure to test them
before 1.7.1 freeze this Friday. Anybody want to give them a working over?
Hi,
Can you please run the following command with loopback cable between the ports
build/app/testpmd -c7 -n3 -- -i --nb-cores=2 --nb-ports=2
Thanks,
From: Al Patel [mailto:alps@gmail.com]
Sent: Monday, August 25, 2014 9:36 AM
To: Jayakumar, Muthurajan
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev
The cmd_ring_release can be called twice if queue has already
been released. This cause crash on shutdown.
Signed-off-by: Stephen Hemminger
--- a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c 2014-08-25 17:39:04.544119911
-0700
+++ b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c 2014-08-25 17:39:04.54
On Fri, 01 Aug 2014 16:50:06 +0200
Thomas Monjalon wrote:
> 2014-07-25 10:50, Stephen Hemminger:
> > The driver must listen to broadcast packets, like other devices.
> > Otherwise protocols like ARP won't work!
> >
> > Signed-off-by: Stephen Hemminger
>
> > - vmxnet3_dev_set_rxmode(hw, VMXNE
2014-08-14 16:54, Ouyang Changchun:
> v3 change:
> - Investigate the comments from Huawei and fix one potential issue of wrong
> offset to
> the number of descriptor in buffer; also fix other tiny comments.
>
> v2 change:
> - Resolve conflicts with the tip code;
> - And resolve 2 issues:
>-
On Mon, 25 Aug 2014 13:41:34 +0400
Sergey Mironov wrote:
> Hi. I've found more data on this issue. My machine (CB-8970) is
> equipped with two ixgbe and six e1000 ports + one more e1000 port as
> management interface.
> I ask the DPDK to allocate 3 TX queues and 3 RX queues for each of 8
> workin
On Mon, 25 Aug 2014 10:09:31 +0800
Ouyang Changchun wrote:
> This patch adds new API in virtio for supporting promiscuous and allmulticast
> enabling and disabling.
>
> Signed-off-by: Changchun Ouyang
> Acked-by: Huawei Xie
> Acked-by: Cunming Liang
>
> ---
> lib/librte_pmd_virtio/virtio_e
> This patch support mergeable RX feature and thus support jumbo frame RX and TX
> in user space vhost(as virtio backend).
>
> On RX, it secures enough room from vring to accommodate one complete scattered
> packet which is received by PMD from physical port, and then copy data from
> mbuf to vri
> This patch mainly includes 2 changes. One is in testpmd to add command
> testing specific RX/TX queue start/stop in Port X. Another change is in
> i40e, which implemented rx/tx_queue_start/stop in both PF and VF driver.
> In the meanwhile, support field start_rx_per_q in i40e_dev_rx_queue_setup
>
Hi Neil,
> -Original Message-
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> Sent: Thursday, August 21, 2014 9:15 PM
> To: dev at dpdk.org
> Cc: Ananyev, Konstantin; thomas.monjalon at 6wind.com; Neil Horman
> Subject: [PATCHv3] librte_acl make it build/work for 'default' target
>
Can you please do the following steps as in Quick start guide
http://dpdk.org/doc/quick-start
Thanks,
Extract sources.
tar xf dpdk.tar.gz
cd dpdk
Build libraries and kernel module (Linux headers are needed).
make config T=x86_64-native-linuxapp-gcc
make
The next steps must be done as root.
Load
> > IPv6 will run NDP with multicast packets, but multicast packets will be
> > filtered
> > by i40e driver by default. So we need to enable multicast when promiscuous
> > mode is on, or IPv6 will fail on these cards when running testpmd and kni
> > app.
> >
> > Signed-off-by: Ding Heng
>
> Re
> - i40e force link up/down
> - i40e autoneg/force speed
>
> v2, fix warnning complain on gcc 4.6.3
>
> Signed-off-by: Cunming Liang
> Acked-by: Helin Zhang
> Acked-by: Chen Jing D(Mark)
> Tested-by: Xu HuilongX
Applied for version 1.7.1.
Thanks
--
Thomas
> > i40e was failing to run in XEN domain0, as the physical memory for adminq
> > DMA should be allocated and translated in a different way for XEN domain0.
> > So
> > rte_memzone_reserve_bounded() should be used for DMA memory allocation,
> > and rte_mem_phy2mch() should be used for DMA memory add
adding support to allow packet burst generator to create packets of differenct
sizes
Signed-off-by: Cunming Liang
Acked-by: Declan Doherty
---
app/test/packet_burst_generator.c | 26 +-
app/test/packet_burst_generator.h | 11 ---
app/test/test_link_bonding.c
Signed-off-by: Cunming Liang
---
app/test/commands.c | 43 +-
app/test/test.h | 1 +
app/test/test_pmd_perf.c | 214 +++
3 files changed, 237 insertions(+), 21 deletions(-)
diff --git a/app/test/commands.c b/app/test/commands.
Signed-off-by: Cunming Liang
Acked-by: Bruce Richardson
---
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
index fe39ca2..92e07de 100644
--- a/lib/librte
Signed-off-by: Cunming Liang
Acked-by: Bruce Richardson
---
app/test/commands.c | 38 ++
app/test/test.h | 1 +
app/test/test_pmd_perf.c | 175 +++
3 files changed, 185 insertions(+), 29 deletions(-)
diff --git a/app/test/com
Signed-off-by: Cunming Liang
Acked-by: Bruce Richardson
---
app/test/Makefile | 1 +
app/test/commands.c | 41 +++
app/test/packet_burst_generator.c | 4 +-
app/test/test.h | 6 +
app/test/test_pmd_perf.c| 620 ++
It provides unit test to measure cycles/packet in NIC loopback mode.
It simply gives the average cycles of IO used per packet without test equipment.
When doing the test, make sure the link is UP.
There's two stream control mode support, one is continues, another is burst.
The former continues to
Forgot to CC to all
-- Forwarded message --
From: Sergey Mironov
Date: 2014-08-25 13:40 GMT+04:00
Subject: Re: [dpdk-dev] ixgbe network card has dev_info.max_rx_queues == 0
To: Alex Markuze
Hi. I've found more data on this issue. My machine (CB-8970) is
equipped with two ixgbe
HI Jayakumar,
I did. I don' that unbind script in my version (I am using 1.6)
root at fe-ucs48:~/dpdk-1.6.0r1# ./tools/pci_unbind.py --status
Network devices using IGB_UIO driver
:0e:00.0 '82599EB 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=
Hi,
I am doing a basic test with testpmd per the getting started page.
I connected two 1g in back to back mode and executed:
sudo ./build/app/testpmd -c 0xF -n 4 -- -i --portmask=0x2 --nb-cores=2
start (and start tx_first)
stop
I see 0 counters for rx/tx.
I removed the two 1g from uio driver
Hi,
The PDF docs for 1.7.0 were generated differently than before, causing all
figures to be changed to low-resolution bitmaps. Figure 2 in the Programming
Guide also has now unreadable text.
Is it possible to get the PDF docs for 1.7.x generated like they were
previously, using distiller?
Mik
- i40e force link up/down
- i40e autoneg/force speed
v2, fix warnning complain on gcc 4.6.3
Signed-off-by: Cunming Liang
Acked-by: Helin Zhang
Acked-by: Chen Jing D(Mark)
Tested-by: Xu HuilongX
---
app/test-pmd/cmdline.c| 17 +++--
lib/librte_pmd_i40e/i40e_ethdev.c | 141 +
This patch specifies rx_mode as 0 for 2 samples: vmdq and vhost-xen
because the multicast feature is not available currently for both samples.
Signed-off-by: Changchun Ouyang
Acked-by: Huawei Xie
Acked-by: Cunming Liang
---
examples/vhost_xen/main.c | 1 +
examples/vmdq/main.c | 1 +
2 f
This patch adds new API in virtio for supporting promiscuous and allmulticast
enabling and disabling.
Signed-off-by: Changchun Ouyang
Acked-by: Huawei Xie
Acked-by: Cunming Liang
---
lib/librte_pmd_virtio/virtio_ethdev.c | 98 ++-
1 file changed, 97 insertions
This patch is to let vhost receive and forward multicast and broadcast packets,
add promiscuous option into command line; and set VMDQ RX mode as:
ETH_VMDQ_ACCEPT_BROADCAST|ETH_VMDQ_ACCEPT_MULTICAST if promisc mode is on.
Signed-off-by: Changchun Ouyang
Acked-by: Huawei Xie
Acked-by: Cunming Lia
This patch set VM offload register according to VMDQ config for e1000
PMD to support multicast and broadcast packets.
Signed-off-by: Changchun Ouyang
Acked-by: Huawei Xie
Acked-by: Cunming Liang
---
lib/librte_pmd_e1000/igb_rxtx.c | 20
1 file changed, 20 insertions(+)
d
This patch adds new field of rx mode in VMDQ config; and set the register
PFVML2FLT
for IXGBE PMD, this makes VMDQ receive multicast and broadcast packets.
Signed-off-by: Changchun Ouyang
Acked-by: Huawei Xie
Acked-by: Cunming Liang
---
lib/librte_ether/rte_ethdev.h | 1 +
lib/librte_pm
This patch series support multicast feature in virtio and vhost.
The vhost backend enables the promiscuous mode and config
ETH_VMDQ_ACCEPT_BROADCAST
and ETH_VMDQ_ACCEPT_MULTICAST in VMDQ offload register to receive the multicast
and broadcast packets.
The virtio frontend provides the functionalit
46 matches
Mail list logo