Adapt to Xen at runtime.
Signed-off-by: Stephen Hemminger
---
v2 - fix typo where virt to phys is done
drivers/net/fm10k/fm10k_ethdev.c | 47 +---
1 file changed, 6 insertions(+), 41 deletions(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm
Handle Xen support at runtime.
Signed-off-by: Stephen Hemminger
---
drivers/net/i40e/i40e_ethdev.c | 9
drivers/net/i40e/i40e_fdir.c | 5 +--
drivers/net/i40e/i40e_rxtx.c | 94 --
3 files changed, 19 insertions(+), 89 deletions(-)
diff --git a/
Adapt DMA memory for Xen at runtime.
Signed-off-by: Stephen Hemminger
---
drivers/net/ixgbe/ixgbe_rxtx.c | 47 ++
1 file changed, 6 insertions(+), 41 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c
index a598a72..
Use common code to handle Xen support at runtime.
Signed-off-by: Stephen Hemminger
---
drivers/net/e1000/em_rxtx.c | 38 --
drivers/net/e1000/igb_rxtx.c | 41 ++---
2 files changed, 10 insertions(+), 69 deletions(-)
diff -
The code to create aligned DMA regions was copy-n-pasted throughout
all the drivers. Since this code has to change now create a common
function that just does the right thing for Xen at runtime.
Signed-off-by: Stephen Hemminger
---
lib/librte_ether/rte_ethdev.c | 24
lib
Add memory infrastructure for runtime Xen DOM0 support.
Signed-off-by: Stephen Hemminger
---
lib/librte_eal/common/include/rte_memory.h | 30 -
lib/librte_eal/linuxapp/eal/eal_memory.c | 7
lib/librte_eal/linuxapp/eal/eal_xen_memory.c | 2 +-
lib/librte_mempool/rte_m
It should be possible to build a single application or library
that will work both in Xen and non-Xen environment. Any special
case handling should be done at runtime.
Rebased to current DPDK source.
Stephen Hemminger (6):
xen: allow determining DOM0 at runtime
ethdev: add common function for
On Wed, 21 Oct 2015 16:40:08 +0200
Thomas Monjalon wrote:
> 2015-09-30 10:30, Stephen Hemminger:
> > On Wed, 30 Sep 2015 10:14:09 +0200
> > David Marchand wrote:
> > > On Tue, Sep 29, 2015 at 2:44 AM, Stephen Hemminger <
> > > stephen at networkplumber.org> wrote:
> > > > It should be possible t
On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote:
> On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote:
> > On Wed, Oct 21, 2015 at 05:26:18PM +0300, Michael S. Tsirkin wrote:
> > > On Wed, Oct 21, 2015 at 08:48:15PM +0800, Yuanhan Liu wrote:
> > > > > Please note that fo
Hi,
I got this issue in recent update esxi 5.5
VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD, VMXNET3_CMD_ACTIVATE_DEV)
status = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_CMD);
status is not 0, so device can not be activated.
Has anybody got same problem?
Thanks,
Bin
--
This message is for the desi
Signed-off-by: Yuanhan Liu
---
doc/guides/rel_notes/release_2_2.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 4f75cff..612ddd9 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides/rel_no
By setting VHOST_USER_PROTOCOL_F_MQ protocol feature bit, and
VIRTIO_NET_F_MQ feature bit.
Signed-off-by: Yuanhan Liu
Acked-by: Flavio Leitner
---
lib/librte_vhost/vhost_user/virtio-net-user.h | 4 +++-
lib/librte_vhost/virtio-net.c | 1 +
2 files changed, 4 insertions(+), 1 del
From: Changchun Ouyang
This message is used to enable/disable a specific vring queue pair.
The first queue pair is enabled by default.
Signed-off-by: Changchun Ouyang
Signed-off-by: Yuanhan Liu
Acked-by: Flavio Leitner
---
v7: invoke vring_state_changed() callback once for each queue pair.
From: Changchun Ouyang
The old code adjusts the config bytes we want to read depending on
what kind of features we have, but we later cast the entire buf we
read with "struct virtio_net_config", which is obviously wrong.
The wrong config reading results to a dead loop at virtio_send_command()
wh
From: Changchun Ouyang
Do not use VIRTIO_RXQ or VIRTIO_TXQ anymore; use the queue_id
instead, which will be set to a proper value for a specific queue
when we have multiple queue support enabled.
For now, queue_id is still set with VIRTIO_RXQ or VIRTIO_TXQ,
so it should not break anything.
Sign
All queue pairs, including the default (the first) queue pair,
are allocated dynamically, when a vring_call message is received
first time for a specific queue pair.
This is a refactor work for enabling vhost-user multiple queue;
it should not break anything as it does no functional changes:
we do
To tell the frontend (qemu) how many queue pairs we support.
And it is initiated to VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX.
Signed-off-by: Yuanhan Liu
Acked-by: Flavio Leitner
---
lib/librte_vhost/vhost_user/vhost-net-user.c | 7 +++
lib/librte_vhost/vhost_user/vhost-net-user.h | 1 +
2 files cha
The two protocol features messages are introduced by qemu vhost
maintainer(Michael) for extendting vhost-user interface. Here is
an excerpta from the vhost-user spec:
Any protocol extensions are gated by protocol feature bits,
which allows full backwards compatibility on both master
an
This patch set enables vhost-user multiple queue feature.
v8:
- put SET_VRING_ENABLE() patch before the patch actually
enable mq, since that make more sense.
- don't change the kickfd reset behavior for patch 3
- move virt_queue field to the end of virtio_net struct.
- commen
Changes in v4:
Check merge-able feature when select simple rx/tx functions.
simple rx/tx func is chose when merge-able rx is disabled and user specifies
single segment and
no offload support.
Signed-off-by: Huawei Xie
---
drivers/net/virtio/virtio_rxtx.c | 15 +++
1 file changed, 1
Changes in v4:
- move virtio_xmit_cleanup ahead to free descriptors earlier
Changes in v3:
- Remove return at the end of void function
- Remove always_inline attribute for virtio_xmit_cleanup
bulk free of mbufs when clean used ring.
shift operation of idx could be saved if vq_free_cnt means
free s
With fixed avail ring, we don't need to get desc idx from avail ring.
virtio driver only has to deal with desc ring.
This patch uses vector instruction to accelerate processing desc ring.
Signed-off-by: Huawei Xie
---
drivers/net/virtio/virtio_ethdev.h | 2 +
drivers/net/virtio/virtio_rxt
fill avail ring with blank mbufs in virtio_dev_vring_start
Signed-off-by: Huawei Xie
---
drivers/net/virtio/Makefile | 2 +-
drivers/net/virtio/virtio_rxtx.c| 6 ++-
drivers/net/virtio/virtio_rxtx.h| 3 ++
drivers/net/virtio/virtio_rxtx_simple.c | 84 ++
Changes in V4:
- fix the error in tx ring layout chart in this commit message.
In DPDK based switching envrioment, mostly vhost runs on a dedicated core
while virtio processing in guest VMs runs on different cores.
Take RX for example, with generic implementation, for each guest buffer,
a) virtio
Changes in v3:
- Remove unnecessary NULL test for rte_free
- Remove unnecessary assign of local var vq after free
Add software RX ring in virtqueue.
Add fake_mbuf in virtqueue for wraparound processing.
Use global simple_rxtx to indicate whether simple rxtx is enabled
Signed-off-by: Huawei Xie
-
Would move all rx/tx related declarations into this header file in future.
Add RTE_VIRTIO_PMD_MAX_BURST.
Signed-off-by: Huawei Xie
---
drivers/net/virtio/virtio_ethdev.c | 1 +
drivers/net/virtio/virtio_rxtx.c | 1 +
drivers/net/virtio/virtio_rxtx.h | 34 ++
Changes in v2:
- Remove the configure macro
- Enable simple R/TX processing when user specifies simple txq flags
- Reword some comments and commit messages
Changes in v3:
- Remove unnecessary NULL test for rte_free
- Remove unnecessary assign of local var after free
- Remove return at the end of v
On Thu, Oct 22, 2015 at 09:49:58AM +, Xie, Huawei wrote:
> On 10/21/2015 11:48 AM, Yuanhan Liu wrote:
> > All queue pairs, including the default (the first) queue pair,
> > are allocated dynamically, when a vring_call message is received
> > first time for a specific queue pair.
> >
> > This is
On 2015/10/21 19:22, Bruce Richardson wrote:
> On Wed, Oct 21, 2015 at 09:25:12AM +0300, Panu Matilainen wrote:
>> On 10/21/2015 07:35 AM, Tetsuya Mukawa wrote:
>>> On 2015/10/19 22:27, Richardson, Bruce wrote:
> -Original Message-
> From: Panu Matilainen [mailto:pmatilai at redhat.
The patch introduces a new PMD. This PMD is implemented as thin wrapper
of librte_vhost. It means librte_vhost is also needed to compile the PMD.
The vhost messages will be handled only when a port is started. So start
a port first, then invoke QEMU.
The PMD has 2 parameters.
- iface: The parame
These variables are needed to be able to manage one of virtio devices
using both vhost library APIs and vhost PMD.
For example, if vhost PMD uses current callback handler and private data
provided by vhost library, A DPDK application that links vhost library
cannot use some of vhost library APIs. T
The patch introduces a new PMD. This PMD is implemented as thin wrapper
of librte_vhost.
I've submitted below patches in former patch sets. But it seems some issues
were fixed already.
- [PATCH 1/3] vhost: Fix return value of GET_VRING_BASE message
- [PATCH 2/3] vhost: Fix RESET_OWNER handling
> Michal Jastrzebski (1):
> qos_sched: fix example modification to use librte_cfgfile
>
> Jasvinder Singh (1):
> librte_cfgfile(rte_cfgfile.h): modify the macros values
Applied with more meaningful titles:
examples/qos_sched: remove duplicated cfgfile library
cfgfile: increase
2015-10-13 14:23, David Marchand:
> On Tue, Oct 13, 2015 at 11:13 AM, David Marchand
> > christoph.gysin at gmail.com> wrote:
> >> Is there anything I can do to help getting this merged?
> >
> > This is ok for me, cc-ing Thomas.
>
> Thought I already did, but just in case,
> Acked-by: David March
On Wed, Oct 21, 2015 at 05:26:18PM +0300, Michael S. Tsirkin wrote:
> On Wed, Oct 21, 2015 at 08:48:15PM +0800, Yuanhan Liu wrote:
> > > Please note that for virtio devices, guest is supposed to
> > > control the placement of incoming packets in RX queues.
> >
> > I may not follow you.
> >
> > En
From: "Chen Jing D(Mark)"
Update 2.2 release notes, add descriptions for Vector PMD implementation
in fm10k driver.
Signed-off-by: Chen Jing D(Mark)
---
doc/guides/rel_notes/release_2_2.rst |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/guides/rel_notes/releas
From: "Chen Jing D(Mark)"
Vector RX function will process 4 packets at a time. When the RX
ring wrapps to the tail and the left descriptor size is not multiple
of 4, SW will overwrite memory that not belongs to it and cause crash.
The fix will allocate additional 4 HW/SW spaces at the tail to avo
From: "Chen Jing D(Mark)"
Add func fm10k_set_tx_function to decide the best TX func in
fm10k_dev_tx_init.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h|1 +
drivers/net/fm10k/fm10k_ethdev.c | 38 --
2 files changed, 37 insertio
From: "Chen Jing D(Mark)"
Add 2 funcs to reset TX queue and mbuf release when Vector TX
applied.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k_rxtx_vec.c | 68
1 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/drivers/net/fm10
From: "Chen Jing D(Mark)"
Vector TX use different way to manage TX queue, it's necessary
to use different functions to reset TX queue and release mbuf
in TX queue. So, introduce 2 function pointers to do such ops.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h|9 +++
From: "Chen Jing D(Mark)"
Add Vector TX func fm10k_xmit_pkts_vec to transmit packets.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |5 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 150
2 files changed, 155 insertions(+), 0 deletion
From: "Chen Jing D(Mark)"
Since Vector RX use different variables to trace RX HW ring, it
leads to need different func to release mbuf properly.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |1 +
drivers/net/fm10k/fm10k_ethdev.c |6 ++
drivers/net/fm10k
From: "Chen Jing D(Mark)"
Add func fm10k_set_rx_function to decide best RX func in
fm10k_dev_rx_init
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h|1 +
drivers/net/fm10k/fm10k_ethdev.c | 36
2 files changed, 33 insertions(+),
From: "Chen Jing D(Mark)"
Add func fm10k_recv_scattered_pkts_vec to receive chained packets
with SSE instructions.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |2 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 88
2 files changed,
From: "Chen Jing D(Mark)"
Add func fm10k_rx_vec_condition_check to check if Vector RX
func can be applied.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |1 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 31 +++
2 files changed, 32 insertions
From: "Chen Jing D(Mark)"
Add func fm10k_recv_raw_pkts_vec to parse raw packets, in which
includes possible chained packets.
Add func fm10k_recv_pkts_vec to receive single mbuf packet.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |1 +
drivers/net/fm10k/fm10k_rxt
From: "Chen Jing D(Mark)"
Add 2 functions, in which using SSE instructions to parse RX desc
to get pkt_type and ol_flags in mbuf.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k_rxtx_vec.c | 127
1 files changed, 127 insertions(+), 0 deletions
From: "Chen Jing D(Mark)"
Add function fm10k_rxq_rearm to re-allocate mbuf for used desc
in RX HW ring.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h |9
drivers/net/fm10k/fm10k_ethdev.c |3 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 90 ++
From: "Chen Jing D(Mark)"
Add new function fm10k_params_init to initialize all fm10k related
variables.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k_ethdev.c | 34 ++
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/drivers/net/
From: "Chen Jing D(Mark)"
Add condition check in rx_queue_setup func. If number of RX desc
can't satisfy vPMD requirement, record it into a variable. Or
call fm10k_rxq_vec_setup to initialize Vector RX.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/fm10k.h | 11 ---
From: "Chen Jing D(Mark)"
Add new file fm10k_rxtx_vec.c and add it into compiling.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/fm10k/Makefile |1 +
drivers/net/fm10k/fm10k_rxtx_vec.c | 45
2 files changed, 46 insertions(+), 0 deletions(-)
From: "Chen Jing D(Mark)"
v2:
- Fix a typo issue
- Fix an improper prefetch in vector RX function, in which prefetches
un-initialized mbuf.
- Remove limitation on number of desc pointer in vector RX function.
- Re-organize some comments.
- Add a new patch to fix a crash issue in vector RX
On Thu, Oct 22, 2015 at 10:07:10PM +0800, Yuanhan Liu wrote:
> On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote:
> > On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote:
> > > On Wed, Oct 21, 2015 at 05:26:18PM +0300, Michael S. Tsirkin wrote:
> > > > On Wed, Oct 21, 2015
Add xstats() functions and statistic strings.
Signed-off-by: Harry van Haaren
---
drivers/net/fm10k/fm10k_ethdev.c | 87
1 file changed, 87 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index a69c990..acd6
Add implementation of xstats() functions in i40evf PMD.
Signed-off-by: Harry van Haaren
---
drivers/net/i40e/i40e_ethdev_vf.c | 89 +--
1 file changed, 86 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_et
Add xstats functions to i40e PMD, allowing extended statistics
to be retrieved from the NIC and exposed to the DPDK.
Signed-off-by: Harry van Haaren
---
drivers/net/i40e/i40e_ethdev.c | 265 +++--
1 file changed, 258 insertions(+), 7 deletions(-)
diff --git a
Add xstats() functions and stat strings as necessary to ixgbevf PMD.
Signed-off-by: Harry van Haaren
---
drivers/net/ixgbe/ixgbe_ethdev.c | 51 ++--
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/i
Updated and add statistic strings as used by xstats_get().
Signed-off-by: Harry van Haaren
---
drivers/net/ixgbe/ixgbe_ethdev.c | 295 ---
1 file changed, 273 insertions(+), 22 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixg
Add xstats functionality to igbvf PMD, adding
necessary statistic strings.
Signed-off-by: Harry van Haaren
---
drivers/net/e1000/igb_ethdev.c | 62 +-
1 file changed, 55 insertions(+), 7 deletions(-)
diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/n
Add xstats_get() and xstats_reset() functions to igb
driver, and the neccessary strings to expose these
NIC statistics.
Signed-off-by: Harry van Haaren
---
drivers/net/e1000/igb_ethdev.c | 136 +++--
1 file changed, 131 insertions(+), 5 deletions(-)
diff --gi
Add xstats() functions and statistic strings to virtio PMD.
Signed-off-by: Harry van Haaren
---
drivers/net/virtio/virtio_ethdev.c | 98 +-
drivers/net/virtio/virtio_rxtx.c | 32 +
drivers/net/virtio/virtqueue.h | 4 ++
3 files changed, 132
Update the strings used for presenting stats to adhere
to the scheme previously presented. Updated xstats_get()
function to handle Q information only if xstats() is not
implemented in the PMD, providing the PMD with the needed
flexibility to expose its extended Q stats.
Signed-off-by: Harry van Ha
Add extended statistic section to the programmers
guide, poll mode driver section. This section describes
how the strings stats are formatted, and how the client
code can use this to gather information about the stat.
Signed-off-by: Harry van Haaren
---
doc/guides/prog_guide/poll_mode_drv.rst |
Add release notes for this patchset.
Signed-off-by: Harry van Haaren
---
doc/guides/rel_notes/release_2_2.rst | 12
1 file changed, 12 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 4f75cff..fe93629 100644
--- a/doc/gui
This patchset adds an implementation of the xstats_get() and xstats_reset() API
to the following PMDs: virtio, igb, igbvf, ixgbe, ixgbevf, i40e, i40evf and
fm10k.
The xstats API allows DPDK apps to gain access to extended statistics from each
port on a NIC. These statistics are structured as per a
On Thu, Oct 22, 2015 at 09:51:28AM +0100, Sergio Gonzalez Monroy wrote:
> On 21/10/2015 17:34, Bruce Richardson wrote:
> >On Wed, Oct 21, 2015 at 04:22:45PM +, shesha Sreenivasamurthy (shesha)
> >wrote:
> >>When an application using huge-pages crash or exists, the hugetlbfs
> >>backing files a
This patch fixes a bug in reading the 64 bit register reading
which was causing the total octets counters to show zero.
Now the code reads both the lower and higher 32 bits.
Tested in testpmd, byte values are correct.
Fixes: 805803445a02 ("e1000: support EM devices (also known as e1000/e1000e)")
At the recent DPDK Userspace event in Dublin, Mohammad Abdul Awal gave a brief
talk on the Hyperscan pattern match software. We said at the time that it
wasn't open sourced yet but it would be soon. It's now available at:
https://01.org/hyperscan and https://github.com/01org/hyperscan.
Tim
Sergio,
Your comment regarding remap_all_functions is correct and can be fixed
by unlinking in remap_all_hugepages() too. However, regarding you comment
that ?unmap_unneeded_hugepages? will fail ? in the
unmap_unneeded_hugepages() we do not unlink if final_va is equal to NULL
guarded by RTE_EAL_S
On Thu, Oct 22, 2015 at 08:55:41AM +0300, Panu Matilainen wrote:
> On 10/21/2015 10:15 PM, Olivier MATZ wrote:
> >Hi Mario,
> >
> >On 10/20/2015 11:17 AM, Bruce Richardson wrote:
> >>On Tue, Oct 20, 2015 at 12:21:00AM +, Arevalo, Mario Alfredo C wrote:
> >>>Hi folks,
> >>>
> >>> Good day,
From: Raslsn Darawsheh
In case of creating bond device without add any slaves and
quit from testpmd, application crashed since rx/tx queues
are NULL.
add checking of this paramters before trying to free.
Signed-off-by: Raslsn Darawsheh
Signed-off-by: Yaacov Hazan
---
drivers/net/bonding/rte_
> -Original Message-
> From: Zhang, Helin
> Sent: Thursday, October 22, 2015 3:28 PM
> To: dev at dpdk.org
> Cc: Pei, Yulong; Liu, Yong; Wu, Jingjing; Zhang, Helin
> Subject: [PATCH v2 0/2] i40e: Enlarge the number of supported queues
>
> It enlarges the number of supported queues to har
This patch will drop flow control frames from being transmitted
from VSIs.
With this patch in place a malicious VF cannot send flow control
or PFC packets out on the wire.
V2:
Reword the comments.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_pf.c | 43 ++
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_2_2.rst | 1 +
drivers/net/vmxnet3/vmxnet3_ethdev.c | 33 +
2 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.r
add PCI Port Hotplug support to the vmxnet3 PMD
This patch depends on 4 patches from the following patch set:
-remove-pci-driver-from-vdevs.patch
0001-librte_eal-add-RTE_KDRV_NONE-for-vdevs.patch
0002-librte_ether-add-fields-from-rte_pci_driver-to-rte_e.patch
0003-librte_ether-add-function-r
It enlarges the number of supported queues to hardware allowed
maximum. There was a software limitation of 64 per physical port
which is not reasonable.
Signed-off-by: Helin Zhang
---
config/common_bsdapp | 3 +-
config/common_linuxapp | 3 +-
drivers/net/i40e/i40e_ethdev.c
It adjusts the number of queues for RSS from power of 2 to any as
long as it does not exceeds the hardware allowed.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_ethdev.c| 8
drivers/net/i40e/i40e_ethdev_vf.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --gi
It enlarges the number of supported queues to hardware allowed
maximum. There was a software limitation of 64 per physical port
which is not reasonable.
v2 changes:
Fixed issues of using wrong configured number of VF queues.
Helin Zhang (2):
i40e: adjust the number of queues for RSS
i40e: Enl
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_2.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index bc9b00f..9d0a4d7 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides/rel_note
Implement the new CLIs for fdir mac vlan and tunnel modes, including
flow_director_filter and flow_director_mask. Set the mask of fdir.
Add, delete or update the entities of filter.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +
drivers/net/ixgbe/ixgbe_fdir.c | 261 +++
The different fdir mode needs different parameters, so, the parameter *mode*
is introduced to the CLI flow_director_filter and flow_director_mask. This
parameter can pormpt the user to input the appropriate parameters for different
mode.
Please be aware, as we should set the fdir mode, the value of
There're fdir mask and supported flow type in the output of the CLI,
show port fdir. But not every parameter has meaning for all the fdir
modes, and the supported flow type is meaningless for mac vlan and
tunnel modes. So, we output different thing for different mode.
Signed-off-by: Wenzhuo Lu
--
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for
fdir new modes, perfect-mac-vlan, perfect-tunnel.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/parameters.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/parameters.c b/app/test-
When a port is enabled, there're default values for the parameters of
fdir mask. For the new parameters, the default values also need to be
set.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testp
Define the new modes and modify the filter and mask structures for
the mac vlan and tunnel modes.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_eth_ctrl.h | 69 ++---
1 file changed, 51 insertions(+), 18 deletions(-)
diff --git a/lib/librte_ether/rte_eth
This patch set adds 2 new flow director modes on Intel x550 NIC.
The 2 new fdir modes are mac vlan mode and tunnel mode.
The mac vlan mode can direct the flow based on the MAC address and VLAN
TCI.
The tunnel mode provides the support for VxLAN and NVGRE. x550 can recognize
VxLAN and NVGRE packets,
This patch refers to the ABI change proposed for
librte_cfgfile(rte_cfgfile.h). In order to allow
for longer names and values, the values of macro
CFG_NAME_LEN and CFG_VAL_LEN is increased.
Signed-off-by: Jasvinder Singh
---
doc/guides/rel_notes/deprecation.rst | 4
doc/guides/rel_notes/rel
From: Michal Jastrzebski
This is a supplement for previous patch that was incomplete.
Previous commit message: This is a modification of qos_sched
example to use librte_cfgfile for parsing configuration file.
Fixes: db935d0171dd ("examples/qos_sched: use librte_cfgfile")
Signed-off-by: Michal J
This patchset is modifying two macros in rte_cfgfile
library thus ABI needs versioning. To meet requirements
of ABI compatibility release notes and Makefile is also
modified. Additionally a fix for qos_sched application is
send as previously it was incomplete in 2.1 and application
was redefining t
On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote:
> On Wed, Oct 21, 2015 at 05:26:18PM +0300, Michael S. Tsirkin wrote:
> > On Wed, Oct 21, 2015 at 08:48:15PM +0800, Yuanhan Liu wrote:
> > > > Please note that for virtio devices, guest is supposed to
> > > > control the placement of inco
changes in v2:
update release notes
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_2_2.rst | 3 +++
examples/vhost_xen/main.c| 8 +---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/re
You are right.
Given this thread updated today
http://dpdk.org/ml/archives/dev/2015-September/023480.html (updates from
today still not there)
It seems I was too quick to jump to conclusion.
Just in case, when bound to i40e, can you run ethtool -i on that interface?
It should show the fw version.
?
Regards,
++Keith Wiles
Intel Corporation
On 10/22/15, 6:56 AM, "Richardson, Bruce" wrote:
>
>
>> -Original Message-
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wiles, Keith
>> Sent: Thursday, October 22, 2015 2:14 PM
>> To: dev at dpdk.org
>> Subject: [dpdk-dev]
On Thu, Oct 22, 2015 at 03:11:36PM +0800, Wenzhuo Lu wrote:
> Define the new modes and modify the filter and mask structures for
> the mac vlan and tunnel modes.
>
> Signed-off-by: Wenzhuo Lu
Hi Wenzhuo,
couple of stylistic comments below, which would help with patch review,
especially
with re
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wiles, Keith
> Sent: Thursday, October 22, 2015 2:14 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] GIT workflow model to help solve some of the problems
>
> I have been looking at the a GIT flow model that se
On Thu, Oct 22, 2015 at 06:45:50PM +0900, Tetsuya Mukawa wrote:
> The patch introduces a new PMD. This PMD is implemented as thin wrapper
> of librte_vhost. It means librte_vhost is also needed to compile the PMD.
> The vhost messages will be handled only when a port is started. So start
> a port f
Arnon Warshavsky wrote on 10/22/2015 12:12:47 PM:
> From: Arnon Warshavsky
> To: Eimear Morrissey/Ireland/IBM at IBMIE
> Cc: dev at dpdk.org
> Date: 10/22/2015 12:12 PM
> Subject: Re: [dpdk-dev] Inconsistent statistics counters for pmd_i40e
>
> You are right.
> Given this thread updated today
>
I have been looking at the a GIT flow model that seems to help with our backlog
problem and how we stage releases.
I found this model a few years ago and find it to be very reasonable and helps
us with development.
http://nvie.com/posts/a-successful-git-branching-model/
The model may not be per
Signed-off-by: Konstantin Ananyev
---
doc/guides/rel_notes/release_2_2.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 4f75cff..33ea399 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/gui
From: "Ananyev, Konstantin"
Signed-off-by: Konstantin Ananyev
---
app/test-pmd/cmdline.c | 48 +++
app/test-pmd/config.c | 77 ++
app/test-pmd/testpmd.h | 2 ++
3 files changed, 127 insertions(+)
diff --git a/app/tes
1 - 100 of 153 matches
Mail list logo