[dpdk-dev] [PATCH v5] devtools: rework abi checker script

2017-10-05 Thread Olivier Matz
The initial version of the script had some limitations: - cannot work on a non-clean workspace - environment variables are not documented - no compilation log in case of failure - return success even it abi is incompatible This patch addresses these issues and rework the code. Signed-off-by: Oliv

Re: [dpdk-dev] [PATCH v7 4/8] ethdev: add GTP items to support flow API

2017-10-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 29, 2017 11:51 PM > To: Wu, Jingjing > Cc: Chilikin, Andrey ; dev@dpdk.org > Subject: [PATCH v7 4/8] ethdev: add GTP items to support flow API > > This patch adds GTP, GTPC and GTPU items for > generic flow API, and als

Re: [dpdk-dev] [PATCH v7 8/8] net/i40e: enable cloud filter for GTP-C and GTP-U

2017-10-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 29, 2017 11:51 PM > To: Wu, Jingjing > Cc: Chilikin, Andrey ; dev@dpdk.org > Subject: [PATCH v7 8/8] net/i40e: enable cloud filter for GTP-C and GTP-U > > This patch sets TEID of GTP-C and GTP-U as filter type > by repl

Re: [dpdk-dev] [PATCH v6 4/8] ethdev: add GTP items to support flow API

2017-10-05 Thread Wu, Jingjing
> -Original Message- > From: Sean Harte [mailto:sea...@gmail.com] > Sent: Tuesday, October 3, 2017 4:57 PM > To: Adrien Mazarguil > Cc: Xing, Beilei ; Wu, Jingjing > ; Chilikin, > Andrey ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 4/8] ethdev: add GTP items to support flow > API

Re: [dpdk-dev] [PATCH v4 4/4] eventdev: Add tests for event eth Rx adapter APIs

2017-10-05 Thread Pavan Nikhilesh Bhagavatula
On Thu, Oct 05, 2017 at 11:27:53AM +0530, Rao, Nikhil wrote: > On 10/3/2017 5:06 PM, Pavan Nikhilesh Bhagavatula wrote: > >On Fri, Sep 22, 2017 at 02:47:14AM +0530, Nikhil Rao wrote: > > > >Hi Nikhil, > > > > > >>Add unit tests for rte_event_eth_rx_adapter_xxx() APIs > >> > >>Signed-off-by: Nikhil

Re: [dpdk-dev] [PATCH v4 3/4] eventdev: Add eventdev ethernet Rx adapter

2017-10-05 Thread Rao, Nikhil
On 10/3/2017 7:22 PM, Jerin Jacob wrote: -Original Message- Date: Sun, 24 Sep 2017 23:46:51 +0530 From: "Rao, Nikhil" To: Jerin Jacob CC: bruce.richard...@intel.com, gage.e...@intel.com, dev@dpdk.org, tho...@monjalon.net, harry.van.haa...@intel.com, hemant.agra...@nxp.com, nipun.gu

[dpdk-dev] [PATCH v8 3/7] ethdev: add GTP items to support flow API

2017-10-05 Thread Beilei Xing
This patch adds GTP, GTPC and GTPU items for generic flow API, and also exposes item fields through the flow command. Signed-off-by: Beilei Xing Acked-by: Adrien Mazarguil Acked-by: Jingjing Wu --- app/test-pmd/cmdline_flow.c | 40 ++ app/test-pmd/config.c

[dpdk-dev] [PATCH v8 0/7] net/i40e: GPT-C and GTP-U enabling

2017-10-05 Thread Beilei Xing
This patch set enables RSS/FDIR/cloud filter for GPT-C and GTP-U. v8 changes: - Remove 'enable RSS for new pctype' as it can be set with the configuration in Kirill's patch. - Resolve conflicts. v7 changes: - Distinguish GTP-C request and response message in mbuf description. - Clarify GTP

[dpdk-dev] [PATCH v8 1/7] mbuf: support GTP in software packet type parser

2017-10-05 Thread Beilei Xing
Add support of GTP-C and GTP-U tunnels in rte_net_get_ptype(). Signed-off-by: Beilei Xing Acked-by: Olivier Matz --- lib/librte_mbuf/rte_mbuf_ptype.c | 2 ++ lib/librte_mbuf/rte_mbuf_ptype.h | 32 2 files changed, 34 insertions(+) diff --git a/lib/librte_mbuf/

[dpdk-dev] [PATCH v8 5/7] net/i40e: add FDIR support for GTP-C and GTP-U

2017-10-05 Thread Beilei Xing
This patch adds FDIR support for GTP-C and GTP-U. The input set of GTP-C and GTP-U is TEID. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.h | 30 + drivers/net/i40e/i40e_fdir.c | 216 - drivers/net/i40e/i40e_flow.c | 267

[dpdk-dev] [PATCH v8 4/7] net/i40e: finish integration FDIR with generic flow API

2017-10-05 Thread Beilei Xing
rte_eth_fdir_* structures are still used in FDIR functions. This patch adds i40e private FDIR related structures and functions to finish integration FDIR with generic flow API. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.h | 83 ++- drivers/net/i40e/i40e_fdir.c | 487 +

[dpdk-dev] [PATCH v8 6/7] net/i40e: add cloud filter parsing function for GTP

2017-10-05 Thread Beilei Xing
This patch adds i40e_flow_parse_gtp_filter parsing function for GTP-C and GTP-U to support cloud filter. Signed-off-by: Beilei Xing Acked-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.h | 2 + drivers/net/i40e/i40e_flow.c | 153 + 2 files changed,

[dpdk-dev] [PATCH v8 2/7] net/i40e: update ptype and pctype info

2017-10-05 Thread Beilei Xing
Update new packet type and new pctype info when downloading profile. Signed-off-by: Beilei Xing Acked-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 312 drivers/net/i40e/i40e_ethdev.h | 24 drivers/net/i40e/rte_pmd_i40e.c | 6 +- 3 files

[dpdk-dev] [PATCH v8 7/7] net/i40e: enable cloud filter for GTP-C and GTP-U

2017-10-05 Thread Beilei Xing
This patch sets TEID of GTP-C and GTP-U as filter type by replacing existed filter types inner_mac and TUNNEL_KEY. This configuration will be set when adding GTP-C or GTP-U filter rules, and it will be invalid only by NIC core reset. Signed-off-by: Beilei Xing Acked-by: Jingjing Wu --- drivers/

Re: [dpdk-dev] [PATCH] test/crypto: fix dpaa2_sec macros and definitions

2017-10-05 Thread De Lara Guarch, Pablo
Hi Akhil, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Akhil Goyal > Sent: Tuesday, October 3, 2017 10:29 AM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > ; hemant.agra...@nxp.com; > sta...@dpdk.org; Akhil Goyal > Subject: [dpdk-dev] [PA

Re: [dpdk-dev] [PATCH v8 0/7] net/i40e: GPT-C and GTP-U enabling

2017-10-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, October 5, 2017 4:15 PM > To: Wu, Jingjing > Cc: Chilikin, Andrey ; dev@dpdk.org > Subject: [PATCH v8 0/7] net/i40e: GPT-C and GTP-U enabling > > This patch set enables RSS/FDIR/cloud filter for GPT-C and GTP-U. > > v8 changes

Re: [dpdk-dev] [PATCH] pci/uio: enable prefetchable resources mapping

2017-10-05 Thread Bruce Richardson
On Thu, Oct 05, 2017 at 01:06:41AM +0100, Ferruh Yigit wrote: > On 6/3/2017 11:57 PM, Changpeng Liu wrote: > > For PCI prefetchable resources, Linux will create a > > write combined file as well, the library will try > > to map resourceX_wc file first, if the file does > > not exist, then it will m

Re: [dpdk-dev] [PATCH v6 4/8] ethdev: add GTP items to support flow API

2017-10-05 Thread Adrien Mazarguil
On Thu, Oct 05, 2017 at 08:06:38AM +, Wu, Jingjing wrote: > > > > -Original Message- > > From: Sean Harte [mailto:sea...@gmail.com] > > Sent: Tuesday, October 3, 2017 4:57 PM > > To: Adrien Mazarguil > > Cc: Xing, Beilei ; Wu, Jingjing > > ; Chilikin, > > Andrey ; dev@dpdk.org > > S

Re: [dpdk-dev] [PATCH v5 1/9] net/i40e: add API to convert VF MAC to VF id

2017-10-05 Thread Hunt, David
Hi Santosh, On 4/10/2017 4:41 PM, santosh wrote: Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: From: "Sexton, Rory" Need a way to convert a vf id to a pf id on the host so as to query the pf for relevant statistics which are used for the frequency changes in the vm_powe

Re: [dpdk-dev] [PATCH] pci/uio: enable prefetchable resources mapping

2017-10-05 Thread Bruce Richardson
On Thu, Oct 05, 2017 at 09:28:34AM +0100, Bruce Richardson wrote: > On Thu, Oct 05, 2017 at 01:06:41AM +0100, Ferruh Yigit wrote: > > On 6/3/2017 11:57 PM, Changpeng Liu wrote: > > > For PCI prefetchable resources, Linux will create a > > > write combined file as well, the library will try > > > to

Re: [dpdk-dev] [PATCH v2] examples/l3fwd: pass flow arguments when start app

2017-10-05 Thread Wu, Jingjing
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Monday, October 2, 2017 1:24 AM > To: Li, Xiaoyun > Cc: Wu, Jingjing ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] examples/l3fwd: pass flow arguments when > start app > > On Sat, 30 Sep 20

[dpdk-dev] [PATCH v3 00/19] Vhost-user: Implement device IOTLB support

2017-10-05 Thread Maxime Coquelin
This v3 lists the feature in the release note, and fixes the bug in is_vring_iotlb_update() reported by Yuanhan. The purpose of this series is to add support for VIRTIO_F_IOMMU_PLATFORM feature, by implementing device IOTLB in the vhost-user backend. It improves the guest safety by enabling the po

[dpdk-dev] [PATCH v3 01/19] Revert "vhost: workaround MQ fails to startup"

2017-10-05 Thread Maxime Coquelin
This reverts commit 04d81227960b5c1cf2f11f492100979ead20c526. As agreed when this workaround was introduced, it can be reverted as Qemu v2.10 that fixes the issue is now out. The reply-ack feature is required for vhost-user IOMMU support. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vho

[dpdk-dev] [PATCH v3 02/19] vhost: make error handling consistent in rx path

2017-10-05 Thread Maxime Coquelin
In the non-mergeable receive case, when copy_mbuf_to_desc() call fails the packet is skipped, the corresponding used element len field is set to vnet header size, and it continues with next packet/desc. It could be a problem because it does not know why it failed, and assume the desc buffer is larg

[dpdk-dev] [PATCH v3 03/19] vhost: prepare send_vhost_message() to slave requests

2017-10-05 Thread Maxime Coquelin
send_vhost_message() is currently only used to send replies, so it modifies message flags to perpare the reply. With upcoming channel for backend initiated request, this function can be used to send requests. This patch introduces a new send_vhost_reply() that does the message flags modifications

Re: [dpdk-dev] [PATCH v4 2/9] lib/librte_power: add extra msg type for policies

2017-10-05 Thread Hunt, David
Hi Santosh, On 4/10/2017 4:36 PM, santosh wrote: Hi David, On Wednesday 04 October 2017 02:45 PM, David Hunt wrote: Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- my 2cent: General comment on implementation approach: IMO, we should avoid PMD de

Re: [dpdk-dev] [PATCH v6 4/8] ethdev: add GTP items to support flow API

2017-10-05 Thread Wu, Jingjing
> -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Thursday, October 5, 2017 4:30 PM > To: Wu, Jingjing > Cc: Sean Harte ; Xing, Beilei ; > Chilikin, > Andrey ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 4/8] ethdev: add GTP items to support

[dpdk-dev] [PATCH v3 04/19] vhost: add support to slave requests channel

2017-10-05 Thread Maxime Coquelin
Currently, only QEMU sends requests, the backend sends replies. In some cases, the backend may need to send requests to QEMU, like IOTLB miss events when IOMMU is supported. This patch introduces a new channel for such requests. QEMU sends a file descriptor of a new socket using VHOST_USER_SET_SLA

[dpdk-dev] [PATCH v3 05/19] vhost: declare missing IOMMU-related definitions for old kernels

2017-10-05 Thread Maxime Coquelin
These defines and enums have been introduced in upstream kernel v4.8, and backported to RHEL 7.4. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h i

[dpdk-dev] [PATCH v3 06/19] vhost: add iotlb helper functions

2017-10-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/Makefile | 4 +- lib/librte_vhost/iotlb.c | 259 ++ lib/librte_vhost/iotlb.h | 70 + lib/librte_vhost/vhost.c | 1 + lib/librte_vhost/vhost.h | 6 ++ 5 files changed, 338 inserti

[dpdk-dev] [PATCH v3 07/19] vhost: iotlb: add pending miss request list and helpers

2017-10-05 Thread Maxime Coquelin
In order to be able to handle other ports or queues while waiting for an IOTLB miss reply, a pending list is created so that waiter can return and restart later on with sending again a miss request. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/iotlb.c | 97

Re: [dpdk-dev] [PATCH v5 2/9] lib/librte_power: add extra msg type for policies

2017-10-05 Thread Hunt, David
Hi Santosh, On 4/10/2017 4:47 PM, santosh wrote: Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- Glad that ifdef clutter removed. Few nits though.. lib/librte_power/channel_c

[dpdk-dev] [PATCH v3 08/19] vhost-user: add support to IOTLB miss slave requests

2017-10-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost_user.c | 25 + lib/librte_vhost/vhost_user.h | 3 +++ 2 files changed, 28 insertions(+) diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c index 0ba66e193..3df5c5755 100644 --- a/lib/librte

[dpdk-dev] [PATCH v3 09/19] vhost: initialize vrings IOTLB caches

2017-10-05 Thread Maxime Coquelin
The per-virtqueue IOTLB cache init is done at virtqueue init time. init_vring_queue() now takes vring id as parameter, so that the IOTLB cache mempool name can be generated. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 32 +++- 1 file changed, 27 inse

[dpdk-dev] [PATCH v3 10/19] vhost-user: handle IOTLB update and invalidate requests

2017-10-05 Thread Maxime Coquelin
Vhost-user device IOTLB protocol extension introduces VHOST_USER_IOTLB message type. The associated payload is the vhost_iotlb_msg struct defined in Kernel, which in this was can be either an IOTLB update or invalidate message. On IOTLB update, the virtqueues get notified of a new entry. Signed-o

[dpdk-dev] [PATCH v3 12/19] vhost: use the guest IOVA to host VA helper

2017-10-05 Thread Maxime Coquelin
Replace rte_vhost_gpa_to_vva() calls with vhost_iova_to_vva(), which requires to also pass the mapped len and the access permissions needed. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 71 +++ 1 file changed, 58 insertions(+), 13 del

[dpdk-dev] [PATCH v3 13/19] vhost: enable rings at the right time

2017-10-05 Thread Maxime Coquelin
When VHOST_USER_F_PROTOCOL_FEATURES is negotiated, the ring is not enabled when started, but enabled through dedicated VHOST_USER_SET_VRING_ENABLE request. When not negotiated, the ring is started in enabled state, at VHOST_USER_SET_VRING_KICK request time. Signed-off-by: Maxime Coquelin --- li

[dpdk-dev] [PATCH v3 11/19] vhost: introduce guest IOVA to backend VA helper

2017-10-05 Thread Maxime Coquelin
This patch introduces vhost_iova_to_vva() function to translate guest's IO virtual addresses to backend's virtual addresses. When IOMMU is enabled, the IOTLB cache is queried to get the translation. If missing from the IOTLB cache, an IOTLB_MISS request is sent to Qemu, and IOTLB cache is queried

[dpdk-dev] [PATCH v3 14/19] vhost: don't dereference invalid dev pointer after its reallocation

2017-10-05 Thread Maxime Coquelin
numa_realloc() reallocates the virtio_net device structure and updates the vhost_devices[] table with the new pointer if the rings are allocated different NUMA node. Problem is that vhost_user_msg_handler() still dereferences old pointer afterward. This patch prevents this by fetching again the d

Re: [dpdk-dev] [PATCH v3 2/4] net/mrvl: add mrvl net pmd driver

2017-10-05 Thread Tomasz Duszynski
On Wed, Oct 04, 2017 at 05:59:11PM +0100, Ferruh Yigit wrote: > On 10/4/2017 9:59 AM, Tomasz Duszynski wrote: > > On Wed, Oct 04, 2017 at 01:24:27AM +0100, Ferruh Yigit wrote: > >> On 10/3/2017 12:51 PM, Tomasz Duszynski wrote: > >>> Add support for the Marvell PPv2 (Packet Processor v2) 1/10 Gbps

[dpdk-dev] [PATCH v3 15/19] vhost: postpone rings addresses translation

2017-10-05 Thread Maxime Coquelin
This patch postpones rings addresses translations and checks, as addresses sent by the master shuld not be interpreted as long as ring is not started and enabled[0]. When protocol features aren't negotiated, the ring is started in enabled state, so the addresses translations are postponed to vhost

[dpdk-dev] [PATCH v3 16/19] vhost-user: translate ring addresses when IOMMU enabled

2017-10-05 Thread Maxime Coquelin
When IOMMU is enabled, the ring addresses set by the VHOST_USER_SET_VRING_ADDR requests are guest's IO virtual addresses, whereas Qemu virtual addresses when IOMMU is disabled. When enabled and the required translation is not in the IOTLB cache, an IOTLB miss request is sent, but being called by t

Re: [dpdk-dev] [PATCH v5 3/9] examples/vm_power_mgr: add vcpu to pcpu mapping

2017-10-05 Thread Hunt, David
Hi Santosh, On 4/10/2017 4:58 PM, santosh wrote: Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/channel_manager.c | 62 +

[dpdk-dev] [PATCH v3 17/19] vhost-user: iommu: postpone device creation until ring are mapped

2017-10-05 Thread Maxime Coquelin
Translating the start addresses of the rings is not enough, we need to be sure all the ring is made available by the guest. It depends on the size of the rings, which is not known on SET_VRING_ADDR reception. Furthermore, we need to be be safe against vring pages invalidates. This patch introduce

[dpdk-dev] [PATCH v3 18/19] vhost: iommu: Invalidate vring in case of matching IOTLB invalidate

2017-10-05 Thread Maxime Coquelin
As soon as a page used by a ring is invalidated, the access_ok flag is cleared, so that processing threads try to map them again. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 14 ++ lib/librte_vhost/vhost.h | 1 + lib/librte_vhost/vhost_user.c | 38 +++

[dpdk-dev] [PATCH v3 19/19] vhost: enable IOMMU support

2017-10-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- doc/guides/rel_notes/release_17_11.rst | 4 lib/librte_vhost/vhost.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_17_11.rst b/doc/guides/rel_notes/release_17_11.rst index 170f4f916..c0fc4

Re: [dpdk-dev] [PATCH v5 4/9] examples/vm_power_mgr: add scale to medium freq fn

2017-10-05 Thread Hunt, David
Hi Santosh, On 4/10/2017 5:04 PM, santosh wrote: Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/power_manager.c | 15 +++ examples/vm_pow

Re: [dpdk-dev] [PATCH v2 03/12] cryptodev: extend cryptodev to support security APIs

2017-10-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, October 3, 2017 2:14 PM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > ; hemant.agra...@nxp.com; Nicolau, > Radu ; bor...@mellanox.com; > avia...@mellanox.com; tho...@monjalon.net; s

[dpdk-dev] [dpdk-announce] CFP Deadline for DPDK Summit North America

2017-10-05 Thread O'Driscoll, Tim
The original CFP deadline for our DPDK Summit North America expired yesterday. This has now been extended to Friday October 13th (note that the website currently says Wednesday 13th but that's just a typo and will be corrected). So, if you were planning to submit a proposal but didn't make the d

Re: [dpdk-dev] [PATCH v2 05/12] lib/librte_mbuf: add security crypto flags and mbuf fields

2017-10-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, October 3, 2017 2:14 PM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > ; hemant.agra...@nxp.com; Nicolau, > Radu ; bor...@mellanox.com; > avia...@mellanox.com; tho...@monjalon.net; s

Re: [dpdk-dev] [PATCH v4 3/4] eventdev: Add eventdev ethernet Rx adapter

2017-10-05 Thread Rao, Nikhil
On 10/2/2017 4:09 PM, Jerin Jacob wrote: -Original Message- Date: Mon, 2 Oct 2017 15:58:56 +0530 From: "Rao, Nikhil" To: Jerin Jacob CC: bruce.richard...@intel.com, gage.e...@intel.com, dev@dpdk.org, tho...@monjalon.net, harry.van.haa...@intel.com, hemant.agra...@nxp.com, nipun.gu.

Re: [dpdk-dev] API in dpdk to get total free physical memory

2017-10-05 Thread Burakov, Anatoly
On 05-Oct-17 6:56 AM, Venumadhav Josyula wrote: Hi All, Like 'rte_eal_get_physmem_size' api to the total size of the physical memory. Is there an API to get to get total free memory physical memory available ? We want such API we are planning to implement such API for the same /* get the tota

Re: [dpdk-dev] [PATCH v5 4/9] examples/vm_power_mgr: add scale to medium freq fn

2017-10-05 Thread santosh
Hi David, On Thursday 05 October 2017 02:17 PM, Hunt, David wrote: > Hi Santosh, > > > On 4/10/2017 5:04 PM, santosh wrote: >> Hi David, >> >> >> On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: >>> Signed-off-by: Nemanja Marjanovic >>> Signed-off-by: Rory Sexton >>> Signed-off-by: Davi

Re: [dpdk-dev] [PATCH v2 0/2] ethdev: add support for raw flow type for flow director

2017-10-05 Thread Rybalchenko, Kirill
Hi Thomas, As Ferruh rightly said, this feature does not affect any other drivers except i40e. It was implemented as a temporary measure to accelerate adoption of new protocols in DPDK. It does not eliminate importance of rte_flow. As you can see, we've already added GTP as a part of rte_flow. (se

Re: [dpdk-dev] [PATCH v2 0/9] Add support for AES-CCM

2017-10-05 Thread Zhang, Roy Fan
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, September 21, 2017 2:11 PM > To: Doherty, Declan ; Trahe, Fiona > ; Jain, Deepak K ; Griffin, > John > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH v2 0/9]

Re: [dpdk-dev] [PATCH v2 11/12] crypto/dpaa2_sec: add support for protocol offload ipsec

2017-10-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, October 3, 2017 2:14 PM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > ; hemant.agra...@nxp.com; Nicolau, > Radu ; bor...@mellanox.com; > avia...@mellanox.com; tho...@monjalon.net; s

Re: [dpdk-dev] [PATCH v4 2/9] lib/librte_power: add extra msg type for policies

2017-10-05 Thread santosh
Hi David, On Thursday 05 October 2017 02:08 PM, Hunt, David wrote: > > Hi Santosh, > > On 4/10/2017 4:36 PM, santosh wrote: >> Hi David, >> >> >> On Wednesday 04 October 2017 02:45 PM, David Hunt wrote: >>> Signed-off-by: Nemanja Marjanovic >>> Signed-off-by: Rory Sexton >>> Signed-off-by: Davi

[dpdk-dev] [RFC] sched: parameterize QoS traffic-classes and queues

2017-10-05 Thread alangordondewar
From: Alan Dewar The DPDK QoS framework has hierarchy of QoS scheduling elements: port, subport, pipe, traffic-class and queue. The first two levels of the hierarchy are flexible (port and subport) in the number child nodes that each parent can have, but from the pipe layer down the number of ch

Re: [dpdk-dev] [PATCH v5 1/9] net/i40e: add API to convert VF MAC to VF id

2017-10-05 Thread santosh
On Thursday 05 October 2017 02:01 PM, Hunt, David wrote: > Hi Santosh, > > On 4/10/2017 4:41 PM, santosh wrote: >> Hi David, >> >> >> On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: >>> From: "Sexton, Rory" >>> >>> Need a way to convert a vf id to a pf id on the host so as to query the p

Re: [dpdk-dev] [PATCH 09/10] app/test-crypto-perf: fix memory leak

2017-10-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz > Sent: Monday, September 11, 2017 4:14 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 09/10] app/test-crypto-perf: fix memory leak > > data is allocated but never freed. > > Fixes: f8be1786b1b8

Re: [dpdk-dev] [PATCH] virtio: use pointer to replace memcpy

2017-10-05 Thread Zhang, Roy Fan
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhiyong Yang > Sent: Friday, August 11, 2017 3:13 AM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; y...@fridaylinux.org; Yang, Zhiyong > > Subject: [dpdk-dev] [PATCH] virtio: use pointer to replace memcpy

[dpdk-dev] [PATCH v4 2/7] net/mlx4: restore full Rx support bypassing Verbs

2017-10-05 Thread Ophir Munk
From: Moti Haimovsky This patch adds support for accessing the hardware directly when handling Rx packets eliminating the need to use Verbs in the Rx data path. The number of scatters is limited to one. Signed-off-by: Vasily Philipov Signed-off-by: Moti Haimovsky Signed-off-by: Ophir Munk --

[dpdk-dev] [PATCH v4 1/7] net/mlx4: add simple Tx bypassing Verbs

2017-10-05 Thread Ophir Munk
From: Moti Haimovsky Modify PMD to send single-buffer packets directly to the device bypassing the Verbs Tx post and poll routines. Signed-off-by: Moti Haimovsky Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_prm.h | 120 +++ drivers/net/mlx4/mlx4_rxtx.c | 337 +

[dpdk-dev] [PATCH v4 3/7] net/mlx4: restore Rx scatter support

2017-10-05 Thread Ophir Munk
Calculate the number of scatters on the fly according to the maximum expected packet size. Signed-off-by: Vasily Philipov Signed-off-by: Ophir Munk --- drivers/net/mlx4/mlx4_rxq.c | 64 +--- drivers/net/mlx4/mlx4_rxtx.c | 11 +--- drivers/net/mlx4/ml

[dpdk-dev] [PATCH v4 0/7] new mlx4 datapath bypassing ibverbs

2017-10-05 Thread Ophir Munk
v4 (Ophir): - Split "net/mlx4: restore Rx scatter support" commit from "net/mlx4: restore full Rx support bypassing Verbs" commit v3 (Adrien): - Drop a few unrelated or unnecessary changes such as the removal of MLX4_PMD_TX_MP_CACHE. - Move device checksum support detection code to its previo

[dpdk-dev] [PATCH v4 4/7] net/mlx4: restore Tx gather support

2017-10-05 Thread Ophir Munk
From: Moti Haimovsky This patch adds support for transmitting packets spanning over multiple buffers. In this patch we also take into consideration the amount of entries a packet occupies in the TxQ when setting the report-completion flag of the chip. Signed-off-by: Moti Haimovsky Acked-by: Ad

[dpdk-dev] [PATCH v4 7/7] net/mlx4: add loopback Tx from VF

2017-10-05 Thread Ophir Munk
From: Moti Haimovsky This patch adds loopback functionality used when the chip is a VF in order to enable packet transmission between VFs and PF. Signed-off-by: Moti Haimovsky Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_rxtx.c | 33 + drivers/net/mlx4/

[dpdk-dev] [PATCH v4 5/7] net/mlx4: restore Tx checksum offloads

2017-10-05 Thread Ophir Munk
From: Moti Haimovsky This patch adds hardware offloading support for IPv4, UDP and TCP checksum calculation, including inner/outer checksums on supported tunnel types. Signed-off-by: Moti Haimovsky Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c| 11 +++ drivers/net/mlx

[dpdk-dev] [PATCH v4 6/7] net/mlx4: restore Rx offloads

2017-10-05 Thread Ophir Munk
From: Moti Haimovsky This patch adds hardware offloading support for IPV4, UDP and TCP checksum verification, including inner/outer checksums on supported tunnel types. It also restores packet type recognition support. Signed-off-by: Vasily Philipov Signed-off-by: Moti Haimovsky Acked-by: Adr

Re: [dpdk-dev] [PATCH v2] test/crypto: remove crypto perf tests

2017-10-05 Thread Zhang, Roy Fan
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, October 4, 2017 7:49 AM > To: Doherty, Declan ; > hemant.agra...@nxp.com; akhil.go...@nxp.com; > jerin.ja...@caviumnetworks.com; Trahe, Fiona ; > Jain, Deepak K ; Griffin, John > >

Re: [dpdk-dev] [PATCH 10/10] app/test-crypto-perf: fix compilation with -Og

2017-10-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz > Sent: Monday, September 11, 2017 4:14 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 10/10] app/test-crypto-perf: fix compilation > with -Og > > The compilation with gcc-6.3.0 and EXTRA_CFLAGS=

Re: [dpdk-dev] [PATCH v6 1/3] eal/x86: run-time dispatch over memcpy

2017-10-05 Thread Ananyev, Konstantin
> diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map > b/lib/librte_eal/linuxapp/eal/rte_eal_version.map > index 8c08b8d..15a2fe9 100644 > --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map > +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map > @@ -241,5 +241,6 @@ EXPERIMENTAL { >

Re: [dpdk-dev] [PATCH v6 1/3] eal/x86: run-time dispatch over memcpy

2017-10-05 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Thursday, October 5, 2017 10:37 AM > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin ; > dev@dpdk.org; Thomas Monjalon > (thomas.monja...@6wind.com) > Subject

Re: [dpdk-dev] [PATCH v6 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-05 Thread Ananyev, Konstantin
> +efd_value_t > +efd_lookup_internal_avx2(const efd_hashfunc_t *group_hash_idx, > + const efd_lookuptbl_t *group_lookup_table, > + const uint32_t hash_val_a, const uint32_t hash_val_b) > +{ > +#ifdef CC_SUPPORT_AVX2 > + efd_value_t value = 0; > + uint32_t i = 0; >

[dpdk-dev] [PATCH v1 0/7] Flow API helpers enhancements

2017-10-05 Thread Adrien Mazarguil
This series brings enhancements to various rte_flow helpers: - Allow applications to use rte_flow_error_set() by making it part of the public interface and documenting it as such. - Address rte_flow_copy()'s limitations by replacing it with the more versatile rte_flow_conv(). This new functio

[dpdk-dev] [PATCH v1 2/7] ethdev: replace flow API object copy function

2017-10-05 Thread Adrien Mazarguil
rte_flow_copy() is bound to duplicate flow rule descriptions (attributes, pattern and list of actions, all at once), however applications sometimes need more freedom, for instance the ability to duplicate only one of the underlying objects (a single pattern item or action) or retrieve other propert

[dpdk-dev] [PATCH v1 1/7] ethdev: expose flow API error helper

2017-10-05 Thread Adrien Mazarguil
rte_flow_error_set() is a convenient helper to initialize error objects. Since there is no fundamental reason to prevent applications from using it, expose it through the public interface after modifying its return value from positive to negative. This is done for consistency with the rest of the

[dpdk-dev] [PATCH v1 3/7] ethdev: add flow API item/action name conversion

2017-10-05 Thread Adrien Mazarguil
This provides a means for applications to retrieve the name of flow pattern items and actions. Signed-off-by: Adrien Mazarguil --- doc/guides/prog_guide/rte_flow.rst | 1 + lib/librte_ether/rte_flow.c| 62 + lib/librte_ether/rte_flow.h| 52 +++

[dpdk-dev] [PATCH v1 4/7] app/testpmd: rely on flow API conversion function

2017-10-05 Thread Adrien Mazarguil
This commit replaces all local information about pattern items and actions as well as flow rule duplication code with calls to rte_flow_conv(). Signed-off-by: Adrien Mazarguil --- app/test-pmd/config.c | 293 ++-- app/test-pmd/testpmd.h | 7 +- 2 files

[dpdk-dev] [PATCH v1 6/7] ethdev: generate flow API conversion header

2017-10-05 Thread Adrien Mazarguil
Add script and build target to generate rte_flow_conv.h (used by rte_flow_conv()) from rte_flow.h. Although the resulting header file is internal and not public, this is not done automatically since it is versioned in the source tree. Developers can update it after making changes to rte_flow.h by

[dpdk-dev] [PATCH v1 7/7] ethdev: update flow API conversion header

2017-10-05 Thread Adrien Mazarguil
Synchronize rte_flow_conv() capabilities with rte_flow.h. Signed-off-by: Adrien Mazarguil --- lib/librte_ether/rte_flow_conv.h | 12 1 file changed, 12 insertions(+) diff --git a/lib/librte_ether/rte_flow_conv.h b/lib/librte_ether/rte_flow_conv.h index 2244970..7e165a2 100644 --- a

[dpdk-dev] [PATCH v1 5/7] ethdev: enhance flow API item/action descriptions

2017-10-05 Thread Adrien Mazarguil
Enhance description structure with information about embedded flexible arrays in order to handle items and actions through a common function without any dedicated code for special cases. This commit also moves descriptions to a separate header file for clarity. Signed-off-by: Adrien Mazarguil --

Re: [dpdk-dev] [PATCH v4 2/9] lib/librte_power: add extra msg type for policies

2017-10-05 Thread Hunt, David
On 5/10/2017 10:21 AM, santosh wrote: Hi David, On Thursday 05 October 2017 02:08 PM, Hunt, David wrote: Hi Santosh, On 4/10/2017 4:36 PM, santosh wrote: Hi David, On Wednesday 04 October 2017 02:45 PM, David Hunt wrote: Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Sig

Re: [dpdk-dev] [PATCH v3] vhost: Expose virtio interrupt need on rte_vhost API

2017-10-05 Thread Jens Freimann
Adding maintainers to Cc On Sat, Sep 23, 2017 at 08:31:37PM +, Jan Scheurich wrote: [...] Today this information is hidden inside the rte_vhost library and not accessible to users of the API. This patch adds a function to the API to query it. Since you add to the API please also document i

Re: [dpdk-dev] [PATCH v6 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-05 Thread Li, Xiaoyun
Yes. Sorry about that. > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, October 5, 2017 17:41 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v6 3/3] efd: run-time dispatch over x86 EFD functions > > > >

[dpdk-dev] [PATCH v7 0/6] Support TCP/IPv4, VxLAN, and GRE GSO in DPDK

2017-10-05 Thread Mark Kavanagh
Generic Segmentation Offload (GSO) is a SW technique to split large packets into small ones. Akin to TSO, GSO enables applications to operate on large packets, thus reducing per-packet processing overhead. To enable more flexibility to applications, DPDK GSO is implemented as a standalone library.

[dpdk-dev] [PATCH v7 4/6] gso: add GRE GSO support

2017-10-05 Thread Mark Kavanagh
This patch adds GSO support for GRE-tunneled packets. Supported GRE packets must contain an outer IPv4 header, and inner TCP/IPv4 headers. They may also contain a single VLAN tag. GRE GSO doesn't check if all input packets have correct checksums and doesn't update checksums for output packets. Addi

[dpdk-dev] [PATCH v7 2/6] gso: add TCP/IPv4 GSO support

2017-10-05 Thread Mark Kavanagh
From: Jiayu Hu This patch adds GSO support for TCP/IPv4 packets. Supported packets may include a single VLAN tag. TCP/IPv4 GSO doesn't check if input packets have correct checksums, and doesn't update checksums for output packets (the responsibility for this lies with the application). Additional

[dpdk-dev] [PATCH v7 1/6] gso: add Generic Segmentation Offload API framework

2017-10-05 Thread Mark Kavanagh
From: Jiayu Hu Generic Segmentation Offload (GSO) is a SW technique to split large packets into small ones. Akin to TSO, GSO enables applications to operate on large packets, thus reducing per-packet processing overhead. To enable more flexibility to applications, DPDK GSO is implemented as a st

[dpdk-dev] [PATCH v7 3/6] gso: add VxLAN GSO support

2017-10-05 Thread Mark Kavanagh
This patch adds a framework that allows GSO on tunneled packets. Furthermore, it leverages that framework to provide GSO support for VxLAN-encapsulated packets. Supported VxLAN packets must have an outer IPv4 header (prepended by an optional VLAN tag), and contain an inner TCP/IPv4 packet (with an

[dpdk-dev] [PATCH v7 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-05 Thread Mark Kavanagh
From: Jiayu Hu This patch adds GSO support to the csum forwarding engine. Oversized packets transmitted over a GSO-enabled port will undergo segmentation (with the exception of packet-types unsupported by the GSO library). GSO support is disabled by default. GSO support may be toggled on a per-p

[dpdk-dev] [PATCH v7 6/6] doc: add GSO programmer's guide

2017-10-05 Thread Mark Kavanagh
Add programmer's guide doc to explain the design and use of the GSO library. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- MAINTAINERS| 6 + .../generic_segmentation_offload_lib.rst | 256 +++ .../prog_guide/img/gso-output-s

[dpdk-dev] [PATCH v4 1/2] doc: add generic compilation doc for all sample apps

2017-10-05 Thread Marko Kovacevic
From: Herakliusz Lipiec Moved duplicated, and occasionally outdated, doc sections from each of the sample app guides chapters to a common chapter at the start. This reduces the duplication in the docs and provides a single point of reference for compiling the sample apps. Fixes: d0dff9ba445e ("

[dpdk-dev] [PATCH v4 2/2] doc: add new introduction to sample app guides

2017-10-05 Thread Marko Kovacevic
Add new Introduction Section into the sample app guides. Signed-off-by: Marko Kovacevic --- doc/guides/faq/faq.rst | 2 +- doc/guides/sample_app_ug/dist_app.rst | 2 + doc/guides/sample_app_ug/exception_path.rst| 2 +- doc/guides/sample_app_

Re: [dpdk-dev] [PATCH v6 1/3] eal/x86: run-time dispatch over memcpy

2017-10-05 Thread Li, Xiaoyun
> -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, October 5, 2017 17:37 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org; Thomas Monjalon > (thomas.monja...@6wind.com) > Subject: RE: [PATCH v6 1/3] eal/x86: run-time dispatch over

Re: [dpdk-dev] [PATCH v6 1/3] eal/x86: run-time dispatch over memcpy

2017-10-05 Thread Richardson, Bruce
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, October 5, 2017 12:19 PM > To: Ananyev, Konstantin ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org; Thomas Monjalon > (thomas.monja...@6wind.com) > Subject: RE: [PATCH v6 1/3] eal/x86: run-time dispatch o

Re: [dpdk-dev] [PATCH v6 1/3] eal/x86: run-time dispatch over memcpy

2017-10-05 Thread Li, Xiaoyun
Another thing, if add 17.11, the end is 17.08 or EXPERIMENTAL? Best Regards, Xiaoyun Li > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Li, Xiaoyun > Sent: Thursday, October 5, 2017 19:19 > To: Ananyev, Konstantin ; Richardson, > Bruce > Cc: Lu, Wenzhuo ; Zh

Re: [dpdk-dev] [PATCH v4 0/7] new mlx4 datapath bypassing ibverbs

2017-10-05 Thread Adrien Mazarguil
On Thu, Oct 05, 2017 at 09:33:05AM +, Ophir Munk wrote: > v4 (Ophir): > - Split "net/mlx4: restore Rx scatter support" commit from "net/mlx4: > restore full Rx support bypassing Verbs" commit > > v3 (Adrien): > - Drop a few unrelated or unnecessary changes such as the removal of > MLX4_PM

Re: [dpdk-dev] [PATCH v8 1/7] mbuf: support GTP in software packet type parser

2017-10-05 Thread Sean Harte
On 5 October 2017 at 09:14, Beilei Xing wrote: > Add support of GTP-C and GTP-U tunnels in rte_net_get_ptype(). > > Signed-off-by: Beilei Xing > Acked-by: Olivier Matz > --- > lib/librte_mbuf/rte_mbuf_ptype.c | 2 ++ > lib/librte_mbuf/rte_mbuf_ptype.h | 32 > 2

Re: [dpdk-dev] [PATCH v8 3/7] ethdev: add GTP items to support flow API

2017-10-05 Thread Sean Harte
On 5 October 2017 at 09:14, Beilei Xing wrote: > This patch adds GTP, GTPC and GTPU items for > generic flow API, and also exposes item fields > through the flow command. > > Signed-off-by: Beilei Xing > Acked-by: Adrien Mazarguil > Acked-by: Jingjing Wu > --- > app/test-pmd/cmdline_flow.c

  1   2   3   4   >