> > As hardware supports RSS in VF, the patches add that support in driver. In
> > addition, minor improvements are added for defining macro with constant.
> >
> > v2 changes:
> > * Removed support of updating/querying redirection table, as it
> > will be implemented in another patches later.
>
2014-10-20 18:26, Pablo de Lara:> Commit fbde27f1 (ethdev: get default Rx/Tx
configuration from dev info),
> introduced a bug, which caused memory corruption in dev_info.
> To get RX/TX configuration, both rx/tx queue setup functions were calling
> dev_info_get from PMDs, so dev_info structure was
> > The maximum mount contiguous memory regions for FreeBSD is limited by
> > RTE_CONTIGMEM_MAX_NUM_BUFS, a pointer to each region is stored in
> > static void * contigmem_buffers[RTE_CONTIGMEM_MAX_NUM_BUFS]
> >
> > A user can specify a greater amount via hw.contigmem.num_buffers,
> > while the al
Hello readers,
We are currently targetting a new release (1.8.0) in few weeks.
It would be good to have most of the important pending patches in.
But writing and sending code is only the first part. After come the reviews.
Before integration, we need to validate the design of the new features,
ch
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shivapriya Hiremath
> Sent: Monday, October 20, 2014 2:59 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Why do we need iommu=pt?
>
> Hi,
>
> My question is that if the Poll mode driver used the DMA kernel i
Hi Alan,
2014-10-20 15:26, Carew, Alan:
> A comment on my own patch.
>
> Making the size of result_buf consistent across each OS and keeping it as
> large
> as the Linux BUFSIZ(8192) doesn't really address the core issue.
>
> In the event that a user of librte_cmdline creates a custom context w
Hi,
I'm trying to send packets from an application to it self, meaning smac ==
dmac.
I'm working with intel 82599 virtual function. But it seems that these
packets are lost.
Is there a software/hw limitation I'm missing here (some additional
anti-spoofing)? AFAIK modern NICs with sriov are mini s
Hi Satish,
Yes, you can change the pipe configuration during run-time, but in a slightly
different way. The way to do it is by defining multiple pipe profiles at the
port level initialization time and reassigning the pipe to a different level at
run-time.
The pipe profiles are statically defin
Commit fbde27f1 (ethdev: get default Rx/Tx configuration from dev info),
introduced a bug, which caused memory corruption in dev_info.
To get RX/TX configuration, both rx/tx queue setup functions were calling
dev_info_get from PMDs, so dev_info structure was not being reseted
before being populated
2014-10-20 16:24, Bruce Richardson:
> I'm happy to inform you all that DPDK has been accepted into the FreeBSD
> ports collection. Installing DPDK on FreeBSD should now be as simple as
> running "make install" in the "/usr/ports/net/dpdk" folder and following the
> resulting instructions to acti
Hi Marc,
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marc Sune
> Sent: Friday, October 17, 2014 10:17 PM
> To:
> Subject: [dpdk-dev] Memory corruption in librte_ether?
>
> Hi all,
>
> I was rebasing the KNI mempool v4 patch(I have it finalised, but wan
These changes are a conversion of the Linux Getting Started Guide from an
MSWord file to Sphinx rst files.
The following changes since commit 075e064089e1c2b6899db58c69be1a387eb5ffa7:
mk: fix doc cleaning (2014-10-17 17:44:06 +0200)
are available in the git repository at:
git://dpdk.org/ne
Hi all,
I'm happy to inform you all that DPDK has been accepted into the FreeBSD
ports collection. Installing DPDK on FreeBSD should now be as simple as
running "make install" in the "/usr/ports/net/dpdk" folder and following the
resulting instructions to active the kernel modules needed.
DPDK
When using test-pmd with flow director in FreeBSD, the application will
segfault/Bus error while parsing the command-line. This is due to how
each commands result structure is represented during parsing, where the offsets
for each tokens value is stored in a character array(char result_buf[BUFSIZ])
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Monday, October 20, 2014 4:49 PM
> To: dev at dpdk.org
> Cc: Richardson, Bruce
> Subject: Re: [dpdk-dev] DPDK in FreeBSD ports collection
>
> 2014-10-20 16:24, Bruce Richardson:
> > I'm happy to info
The unit test can be used to measure cycles per packet in different rx/tx
rouines.
The NIC works in loopback mode. So it doesn't require test equipment to measure
throughput.
As result, the unit test shows the average cycles per packet consuming.
When doing the test, make sure the link is UP.
Us
adding support to allow packet burst generator to create packets in 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
v3 update:
# Codes refine according to the feedback.
1. add ether_format_addr to rte_ether.h
2. fix typo in code comments.
3. %lu to %PRIu64, fixing 32-bit targets compilation err
# merge 2 small incremental patches to the first one.
The whole unit test as a single patch in [PATCH v3 2/2]
#
2014-10-20 12:45, Walukiewicz, Miroslaw:
> > > /* fields to support TX offloads */
> > > - union {
> > > - uint16_t l2_l3_len; /**< combined l2/l3 lengths as single var
> > */
> > > - struct {
> > > - uint16_t l3_len:9; /**< L3 (IP) Header Length. */
> > > -
A comment on my own patch.
Making the size of result_buf consistent across each OS and keeping it as large
as the Linux BUFSIZ(8192) doesn't really address the core issue.
In the event that a user of librte_cmdline creates a custom context with a
result structure > 8192 bytes then this problem wi
Hi,
My question is that if the Poll mode driver used the DMA kernel interface
to set up its mappings appropriately, would it still require that iommu=pt
be set?
What is the purpose of setting iommu=pt ?
Thank you.
Thanks a lot Cristian!!
It is really helpful information.
On Mon, Oct 20, 2014 at 12:21 PM, Dumitrescu, Cristian <
cristian.dumitrescu at intel.com> wrote:
> Hi Satish,
>
> Yes, you can change the pipe configuration during run-time, but in a
> slightly different way. The way to do it is by defin
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Monday, October 20, 2014 3:51 PM
> To: Walukiewicz, Miroslaw
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] pmd: Add generic support for TCP TSO
> (Transmit Segmentation Offload)
>
> 2014-
Provides filter_ctrl ops in i40e driver.
- i40e_dev_filter_ctrl
For kinds of filter, only provides empty functions.
Contributors can enrich them based on filter features on fortville.
Signed-off-by: Jingjing Wu
---
lib/librte_pmd_i40e/i40e_ethdev.c | 63 +++
Define new APIs to support configure multi-kind filters using same APIs,
instead of creating each API set for each kind of filter.
- rte_eth_dev_filter_supported
- rte_eth_dev_filter_ctrl
Filter types, operations, and structures are defined specifically in new
header file lib/librte_eth/rte_dev_
new filter APIs definition in ethdev
define filter_ctrl ops in i40e driver
v2 changes:
remove OP from the name of filter opeartions
add API implementation in i40e.
correct comments
Jingjing Wu (2):
librte_ether: new filter APIs definition
i40e: define filter_ctrl ops in i40e driver
li
Hi Miroslaw,
I'll try to comment your patch, but I don't know if you'll receive it.
Indeed, you didn't reply to the previous comments.
Please configure your email client to receive these emails.
This is not a write-only list.
2014-10-20 05:42, miroslaw.walukiewicz at intel.com:
> Add new PKT_TX_
On Mon, Oct 20, 2014 at 10:36:01AM +0100, Bruce Richardson wrote:
> On Sun, Oct 19, 2014 at 10:08:29AM -0700, Matthew Hall wrote:
> > 1.7.1 with a few minor clang compatibility patches in the example apps
>
> Rather than trying to tune the results yourself, maybe you could look to
> merge in the
Hi Thomas,
Thank for your comments. My responses are inline.
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Monday, October 20, 2014 1:30 PM
> To: Walukiewicz, Miroslaw
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] pmd: Add generic su
new vhost example is ready. Add example makefile
Signed-off-by: Huawei Xie
---
examples/vhost/Makefile | 60 +
1 file changed, 60 insertions(+)
create mode 100644 examples/vhost/Makefile
diff --git a/examples/vhost/Makefile b/examples/vhost/Makef
mergeable feature doesn't work with latest mbuf change.
find that we could disable IXGBE_INC_VECTOR as a workaround.
root cause is WIP.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
ind
add branch hint
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index b2b92e9..fb22df4 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -1012,7 +1012,7 @@
minimal adjustment
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 15cb493..b2b92e9 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -49,10 +
vmdq_rx_q minior change
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index e0bd452..15cb493 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -1722,13 +17
other vhost APIs
rte_vhost_driver_register: register vhost driver
rte_vhost_driver_callback_register: register new_device/destroy_device
callback
rte_vhost_driver_session_start: start vhost session loop
rte_vhost_feature_disable: disable merge-able feature
r
remove gpa_to_vva macro and base_index parameter.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 42 +-
1 file changed, 1 insertion(+), 41 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index bbfdef6..aaac88b 100644
--- a/
in new vhost example, the packet passed to virtio_tx_route has been allocated
mbuf, so there is no need to allocate mbuf for it.
use vlan offload to transmit vlan tagged packet.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 65 ---
1 file
in switch_worker and virtio_tx_local, rte_vhost_enqueue_burst is called to
push host packets to guest VM.
before enqueue packets to guest VM, vhost example uses configure-able retry
logic to wait for
enough vring entries.
in switch_worker, rte_vhost_dequeue_burst is called to get packets from gues
add hpa(host physical address) region generation/destroy logic.
gpa<->hpa memory translation regions are generated at new_device, when a
virtio device is ready for packet processing.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 44 +++-
1 file cha
define vhost_dev data structure.
change reference to virtio_dev to vhost_dev.
vhost example use vdev data structure for switching related logic and
container for virtio_dev.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 269 --
examples/vho
check_hpa_regions, fill_hpa_memory_regions and hpa memory region data structure
are added back.
zero copy logic will be implemented in vhost example.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 147 ++
examples/vhost/main.h | 15 ++
Those functions are integrated into the user space vhost library.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 806 --
1 file changed, 806 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index c23d453..11d5d17 1006
This patch copies two files main.c/main.h from most recent vhost example as
the base for new vhost example.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 3727 +
examples/vhost/main.h | 86 ++
2 files changed, 3813 insertions(+)
create m
New vhost example is a transform of old vhost example.
It calls vhost library API to receive/transmit packets from guest VM.
zero copy logic is kept in vhost example.
Huawei Xie (14):
copy old vhost example files main.c/main.h as the base of new vhost example
remove virtio_dev_(merge_)rx, copy
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson
> Sent: Friday, October 17, 2014 2:18 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] test: fbk hash - fix errors with large nb entries
>
> The four-byte-key (fbk) autotest was allocati
i40e hardware supports RSS in VF, the code changes are to add
this support.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.h| 6 ++
lib/librte_pmd_i40e/i40e_ethdev_vf.c | 142 +++
2 files changed, 148 insertions(+)
v2 changes:
* Updating/que
To reuse code, 'i40e_config_hena()' and 'i40e_parse_hena()' and
their relevant macros need to be extern, and then can be used for
both PF and VF parts.
Signed-off-by: Helin Zhang
---
lib/librte_pmd_i40e/i40e_ethdev.c | 34 ++
lib/librte_pmd_i40e/i40e_ethdev.h | 34
Forced type conversion is not needed to define a macro with
constant. The alternate is to let compiler use the default width,
or specify the width with suffix of 'U', 'UL', 'ULL', etc.
Signed-off-by: Helin Zhang
---
lib/librte_ether/rte_ethdev.h | 47 ++-
As hardware supports RSS in VF, the patches add that support
in driver. In addition, minor improvements are added for
defining macro with constant.
v2 changes:
* Removed support of updating/querying redirection table, as it
will be implemented in another patches later.
* Removed changes in testp
Thank you Matthew.
On closer inspection, I see that DPDK is simply using pthreads and
pthread_get/set_affinity() to bind to particular cores(as specified in
coremask) so no real magic there as you said...
Looking at the load_balancer app for inspiration.
--Kam
On Sat, Oct 18, 2014 at 1:38 PM, M
On Sun, Oct 19, 2014 at 10:08:29AM -0700, Matthew Hall wrote:
> 1.7.1 with a few minor clang compatibility patches in the example apps
Rather than trying to tune the results yourself, maybe you could look to
merge in the following patch set also, to offload responsibility for the
driver settings
Acked-by: Cunming Liang
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Helin Zhang
> Sent: Monday, October 20, 2014 10:58 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 0/3] add i40e RSS support in VF
>
> As hardware supports RSS in VF, the patch
Acked-by: Jijiang Liu
> -Original Message-
> From: Zhang, Helin
> Sent: Monday, October 20, 2014 10:58 AM
> To: dev at dpdk.org
> Cc: Cao, Waterman; Zhang, Helin
> Subject: [PATCH v3 0/3] add i40e RSS support in VF
>
> As hardware supports RSS in VF, the patches add that support in drive
From: Miroslaw Walukiewicz
Add new PKT_TX_TCP_SEG flag
Add new fields in the tx offload fields indicating MSS and L4 len
Signed-off-by: Mirek Walukiewicz
---
lib/librte_mbuf/rte_mbuf.h | 23 ++-
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/lib/librte_mb
Hi,
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie
> Sent: Monday, October 20, 2014 12:38 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 00/14] new vhost example
>
> New vhost example is a transform of old vhost example.
> It calls vhost l
> -Original Message-
> From: Wu, Jingjing
> Sent: Saturday, October 18, 2014 12:02 AM
> To: Thomas Monjalon
> Cc: dev at dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition
>
>
>
> > -Original Message-
> > From: Thomas Monjalon [mailto:thomas
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Friday, October 17, 2014 3:40 PM
> To: Liu, Jijiang
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet
> identification in librte_pmd_i40e
>
> 2014-10-17 05:58,
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Friday, October 17, 2014 3:48 PM
> To: Liu, Jijiang
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v5 4/8]librte_ether:add a common filter API
>
> 2014-10-17 06:53, Liu, Jijiang:
> > From:
Hi Thomas
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Saturday, October 18, 2014 4:59 AM
> To: Zhang, Helin
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 2/3] i40e: extern two functions and relevant
> macros
>
> 2014-09-19 09:14,
As to this API implementation in i40e, there are some common codes should be
included in this patch.
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Friday, October 17, 2014 5:08 PM
> To: Wu, Jingjing
> Cc: dev at dpdk.org
> Subject:
Hi Marc
It's OK, as my comments is helpful confirmed by you. Thank you for the patience!
Regards,
Helin
> -Original Message-
> From: Marc Sune [mailto:marc.sune at bisdn.de]
> Sent: Friday, October 17, 2014 5:26 PM
> To: Zhang, Helin
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH
61 matches
Mail list logo