Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues

2017-08-08 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Thursday, August 3, 2017 1:23 AM > To: Eads, Gage > Cc: Rao, Nikhil ; dev@dpdk.org; tho...@monjalon.net; > Richardson, Bruce ; Van Haaren, Harry > ; hemant.agra...@nxp.com; > nipun.gu...@nxp.com; Van

[dpdk-dev] [dpdk-announce] DPDK 17.08 released

2017-08-08 Thread Thomas Monjalon
A new major release is available: http://fast.dpdk.org/rel/dpdk-17.08.tar.xz Some highlights: - x86 requires SSE4.2 - more ARM optimizations using NEON - service cores API - GRO library - traffic management API (QoS) - ethdev flow fuzzy match

Re: [dpdk-dev] [RFC] ethdev: add ioctl-like API to control device specific features

2017-08-08 Thread Wiles, Keith
> On Aug 8, 2017, at 1:02 PM, Stephen Hemminger > wrote: > > On Tue, 8 Aug 2017 17:28:19 + > "Wiles, Keith" wrote: > >> Fix format. >> >>> On Aug 4, 2017, at 6:58 AM, Ferruh Yigit wrote: >>> >>> On 8/3/2017 8:53 PM, Thomas Monjalon wrote: 03/08/2017 18:15, Stephen Hemminger: >

Re: [dpdk-dev] [RFC] ethdev: add ioctl-like API to control device specific features

2017-08-08 Thread Stephen Hemminger
On Tue, 8 Aug 2017 17:28:19 + "Wiles, Keith" wrote: > Fix format. > > > On Aug 4, 2017, at 6:58 AM, Ferruh Yigit wrote: > > > > On 8/3/2017 8:53 PM, Thomas Monjalon wrote: > >> 03/08/2017 18:15, Stephen Hemminger: > >>> On Thu, 3 Aug 2017 14:21:38 +0100 > >>> Bruce Richardson wrote: >

Re: [dpdk-dev] [PATCH 2/2] eventdev: bump library version

2017-08-08 Thread Thomas Monjalon
08/08/2017 16:48, Jerin Jacob: > Bumping the library version to reflect the ABI change, where > rte_event_pmd_pci_probe(), rte_event_pmd_pci_remove(), > rte_event_pmd_vdev_init(), rte_event_pmd_vdev_uninit() > functions removed from the library. > > Fixes: b1b3d9f90502 ("eventdev: make vdev init a

Re: [dpdk-dev] [RFC] ethdev: add ioctl-like API to control device specific features

2017-08-08 Thread Wiles, Keith
Fix format. > On Aug 4, 2017, at 6:58 AM, Ferruh Yigit wrote: > > On 8/3/2017 8:53 PM, Thomas Monjalon wrote: >> 03/08/2017 18:15, Stephen Hemminger: >>> On Thu, 3 Aug 2017 14:21:38 +0100 >>> Bruce Richardson wrote: >>> On Thu, Aug 03, 2017 at 01:21:35PM +0100, Chilikin, Andrey wrote: >>>

Re: [dpdk-dev] [PATCH] doc: notify EAL ABI change

2017-08-08 Thread Thomas Monjalon
08/08/2017 16:26, Gaetan Rivet: > Signed-off-by: Gaetan Rivet > --- > doc/guides/rel_notes/release_17_08.rst | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) Applied and merged with ABIVER bump, thanks

Re: [dpdk-dev] [PATCH] eal: bump ABI version for PCI, bus and devargs work

2017-08-08 Thread Thomas Monjalon
08/08/2017 16:26, Gaetan Rivet: > 1. PCI domain field in PCI address structure grew from 16 to 32 bits. > >From: 463ced957c3f ("pci: increase domain storage to 32 bits") > > 2. rte_bus structure gaining new ops. > >From: 3a8f0bc68a90 ("bus: add method to find device") >From: 7c8810f4

Re: [dpdk-dev] [RFC] ethdev: add ioctl-like API to control device specific features

2017-08-08 Thread Wiles, Keith
On Aug 4, 2017, at 6:58 AM, Ferruh Yigit mailto:ferruh.yi...@intel.com>> wrote: On 8/3/2017 8:53 PM, Thomas Monjalon wrote: 03/08/2017 18:15, Stephen Hemminger: On Thu, 3 Aug 2017 14:21:38 +0100 Bruce Richardson mailto:bruce.richard...@intel.com>> wrote: On Thu, Aug 03, 2017 at 01:21:35PM +010

Re: [dpdk-dev] [PATCH v1] doc: add template release notes for 17.11

2017-08-08 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, August 8, 2017 2:50 PM > To: Mcnamara, John > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] doc: add template release notes for > 17.11 > > Hi, > > + librte_timer.so.1 > > + librte

Re: [dpdk-dev] [RFC] ethdev: add ioctl-like API to control device specific features

2017-08-08 Thread Stephen Hemminger
On Tue, 8 Aug 2017 09:32:07 +0100 Ferruh Yigit wrote: > On 8/4/2017 1:56 PM, Bruce Richardson wrote: > > On Fri, Aug 04, 2017 at 12:58:01PM +0100, Ferruh Yigit wrote: > >> On 8/3/2017 8:53 PM, Thomas Monjalon wrote: > >>> 03/08/2017 18:15, Stephen Hemminger: > On Thu, 3 Aug 2017 14:21:

[dpdk-dev] [PATCH 1/2] doc: fix v17.05 release note

2017-08-08 Thread Jerin Jacob
librte_eventdev.so.1 was introduced in v17.05, and it missed to update in release_17_05 release notes. Fixes: 222555480a7f9 ("version: 17.05.0") Cc: sta...@dpdk.org Reported-by: Thomas Monjalon Signed-off-by: Jerin Jacob --- doc/guides/rel_notes/release_17_05.rst | 1 + 1 file changed, 1 inser

[dpdk-dev] [PATCH 2/2] eventdev: bump library version

2017-08-08 Thread Jerin Jacob
Bumping the library version to reflect the ABI change, where rte_event_pmd_pci_probe(), rte_event_pmd_pci_remove(), rte_event_pmd_vdev_init(), rte_event_pmd_vdev_uninit() functions removed from the library. Fixes: b1b3d9f90502 ("eventdev: make vdev init and uninit functions optional") Fixes: 9a826

[dpdk-dev] [PATCH] doc: notify EAL ABI change

2017-08-08 Thread Gaetan Rivet
Signed-off-by: Gaetan Rivet --- doc/guides/rel_notes/release_17_08.rst | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_17_08.rst b/doc/guides/rel_notes/release_17_08.rst index a137aa7..a723252 100644 --- a/doc/guides/rel_notes/release_17

[dpdk-dev] [PATCH] eal: bump ABI version for PCI, bus and devargs work

2017-08-08 Thread Gaetan Rivet
1. PCI domain field in PCI address structure grew from 16 to 32 bits. From: 463ced957c3f ("pci: increase domain storage to 32 bits") 2. rte_bus structure gaining new ops. From: 3a8f0bc68a90 ("bus: add method to find device") From: 7c8810f43f6e ("bus: introduce device plug/unplug") Fr

Re: [dpdk-dev] [PATCH v1] doc: add template release notes for 17.11

2017-08-08 Thread Thomas Monjalon
Hi, Thanks for sending the next release notes so quickly. Unfortunately... 08/08/2017 14:31, John McNamara: > +The libraries prepended with a plus sign were incremented in this version. > + > +.. code-block:: diff > + > + librte_acl.so.2 > + librte_bitratestats.so.1 > + librte_cfgfile

Re: [dpdk-dev] [PATCH v3] ethdev: add return code to rte_eth_stats_reset()

2017-08-08 Thread Thomas Monjalon
08/08/2017 13:03, Christian Ehrhardt: > On Tue, Aug 8, 2017 at 11:02 AM, Van Haaren, Harry < > harry.van.haa...@intel.com> wrote: > > > > > > Some devices do not support reset of eth stats. An application may > > > need to know not to clear shadow stats if the device cannot. > > > > > > rte_eth_st

[dpdk-dev] [PATCH] net/bonding: fix bonding in 8023ad mode

2017-08-08 Thread Jacek Piasecki
This patch blocks possibility to set master bonding by rte_eth_bond_mode_set() in 802.3ad mode, as the API doesn't prevent this. Fixes: 6d72657ce379 ("net/bonding: add other aggregator modes") Cc: danielx.t.mrzyg...@intel.com Signed-off-by: Jacek Piasecki --- drivers/net/bonding/rte_eth_bond_ap

Re: [dpdk-dev] [PATCH v1] doc: update release notes for 17.08

2017-08-08 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, August 7, 2017 12:17 PM > To: Mcnamara, John > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] doc: update release notes for 17.08 > > 04/08/2017 16:20, John McNamara: > > Fix grammar, spelling

[dpdk-dev] [PATCH v1] doc: add template release notes for 17.11

2017-08-08 Thread John McNamara
Add template release notes for DPDK 17.11 with inline comments and explanations of the various sections. Signed-off-by: John McNamara --- doc/guides/rel_notes/index.rst | 1 + doc/guides/rel_notes/release_17_11.rst | 199 + 2 files changed, 200 insertion

Re: [dpdk-dev] [PATCH v4] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Burakov, Anatoly
> From: Jonas Pfefferle [mailto:j...@zurich.ibm.com] > Sent: Tuesday, August 8, 2017 12:17 PM > To: Burakov, Anatoly > Cc: dev@dpdk.org; a...@ozlabs.ru; Jonas Pfefferle > Subject: [PATCH v4] vfio: fix sPAPR IOMMU DMA window size > > DMA window size needs to be big enough to span all memory segme

[dpdk-dev] [PATCH v4] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle
DMA window size needs to be big enough to span all memory segment's physical addresses. We do not need multiple levels of IOMMU tables as we already span ~70TB of physical memory with 16MB hugepages. Signed-off-by: Jonas Pfefferle --- v2: * roundup to next power 2 function without loop. v3: * Re

Re: [dpdk-dev] [PATCH v3] ethdev: add return code to rte_eth_stats_reset()

2017-08-08 Thread Christian Ehrhardt
On Tue, Aug 8, 2017 at 11:02 AM, Van Haaren, Harry < harry.van.haa...@intel.com> wrote: > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Harton > > Sent: Monday, August 7, 2017 6:39 PM > > To: tho...@monjalon.net > > Cc: dev@dpdk.org; David Harton > > Subject: [dpdk-dev] [PATCH v3]

Re: [dpdk-dev] [PATCH v3] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle1
"Burakov, Anatoly" wrote on 08/08/2017 11:43:43 AM: > From: "Burakov, Anatoly" > To: Jonas Pfefferle1 > Cc: "a...@ozlabs.ru" , "dev@dpdk.org" > Date: 08/08/2017 11:43 AM > Subject: RE: [PATCH v3] vfio: fix sPAPR IOMMU DMA window size > > > From: Jonas Pfefferle1 [mailto:j...@zurich.ibm.com] >

Re: [dpdk-dev] [PATCH v3] ethdev: add return code to rte_eth_stats_reset()

2017-08-08 Thread David Harton (dharton)
> -Original Message- > From: Van Haaren, Harry [mailto:harry.van.haa...@intel.com] > Sent: Tuesday, August 08, 2017 5:03 AM > To: David Harton (dharton) ; tho...@monjalon.net > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3] ethdev: add return code to > rte_eth_stats_reset() > > > Fr

Re: [dpdk-dev] [PATCH] doc: API change notice for librte_meter

2017-08-08 Thread Thomas Monjalon
04/08/2017 15:19, Cristian Dumitrescu: > Signed-off-by: Cristian Dumitrescu > Acked-by: John McNamara > Acked-by: Jasvinder Singh > Acked-by: Radu Nicolau > Acked-by: David Hunt Applied, thanks

Re: [dpdk-dev] [PATCH] doc: announce API change in crypto driver allocation

2017-08-08 Thread Thomas Monjalon
03/08/2017 12:43, Akhil Goyal: > On 8/3/2017 6:32 AM, Pablo de Lara wrote: > > rte_cryptodev_allocate_driver() function gets one parameter > > (rte_driver), as the cryptodev_driver structure is > > allocated inside the function with rte_malloc. > > > > This function is called from a constructor fu

Re: [dpdk-dev] [PATCH] doc: announce crypto vdev init removal

2017-08-08 Thread Thomas Monjalon
03/08/2017 12:42, Akhil Goyal: > On 8/3/2017 7:42 AM, Pablo de Lara wrote: > > In order to remove all dependencies on vdev for cryptodev, > > the implementation of rte_cryptodev_vdev_pmd_init() function > > needs to be moved to rte_cryptodev_vdev.h, and all crypto > > vdevs will include it, and the

Re: [dpdk-dev] [PATCH v3] doc: announce API and ABI change for ethdev

2017-08-08 Thread Thomas Monjalon
> > This is an API/ABI change notice for DPDK 17.11 announcing the redefinition > > of > > port_id. port_id is currently defined as uint8_t, which is limited to the > > range 0 to > > 255. A larger range is required for vdev scalability. > > > > It is necessary for a redefinition of port_id to e

Re: [dpdk-dev] [PATCH] doc: announce ABI change for cryptodev and ethdev

2017-08-08 Thread Thomas Monjalon
08/08/2017 07:03, Shahaf Shuler: > Monday, August 7, 2017 9:07 PM, Boris Pismenny: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > 04/08/2017 07:26, Hemant Agrawal: > > > > On 8/3/2017 9:02 PM, Akhil Goyal wrote: > > > > > Support for security operations is planned to be added in eth

Re: [dpdk-dev] [PATCH] ethdev: add notice for planned name size change

2017-08-08 Thread Thomas Monjalon
> > > VMBUS support will use GUID in eth_dev_data name field which requires > > > at least 37 characters. Plan for increase in size now. > > > > > > Signed-off-by: Stephen Hemminger > > > --- > > > +* ethdev: An ABI change is planned for 17.11 for the structure > > eth_dev_data. > > Isn't it bette

Re: [dpdk-dev] [PATCH v3] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Burakov, Anatoly
> From: Jonas Pfefferle1 [mailto:j...@zurich.ibm.com] > Sent: Tuesday, August 8, 2017 10:30 AM > To: Burakov, Anatoly > Cc: a...@ozlabs.ru; dev@dpdk.org > Subject: RE: [PATCH v3] vfio: fix sPAPR IOMMU DMA window size > > "Burakov, Anatoly" wrote on 08/08/2017 > 11:15:24 AM: > > > From: "Burakov

Re: [dpdk-dev] [PATCH v3] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle1
"Burakov, Anatoly" wrote on 08/08/2017 11:15:24 AM: > From: "Burakov, Anatoly" > To: Jonas Pfefferle > Cc: "dev@dpdk.org" , "a...@ozlabs.ru" > Date: 08/08/2017 11:18 AM > Subject: RE: [PATCH v3] vfio: fix sPAPR IOMMU DMA window size > > From: Jonas Pfefferle [mailto:j...@zurich.ibm.com] > > Se

Re: [dpdk-dev] [PATCH v3] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Burakov, Anatoly
From: Jonas Pfefferle [mailto:j...@zurich.ibm.com] > Sent: Tuesday, August 8, 2017 9:41 AM > To: Burakov, Anatoly > Cc: dev@dpdk.org; a...@ozlabs.ru; Jonas Pfefferle > Subject: [PATCH v3] vfio: fix sPAPR IOMMU DMA window size > > DMA window size needs to be big enough to span all memory segment'

Re: [dpdk-dev] Why IVSHMEM was removed since 16.11 ?

2017-08-08 Thread Burakov, Anatoly
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Furong > Sent: Tuesday, August 8, 2017 8:26 AM > To: dev@dpdk.org > Subject: [dpdk-dev] Why IVSHMEM was removed since 16.11 ? > > The release notes of dpdk-16.11 had shown that IVSHMEM was removed > due to some design issues. > > So, what are

Re: [dpdk-dev] [PATCH v3] ethdev: add return code to rte_eth_stats_reset()

2017-08-08 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Harton > Sent: Monday, August 7, 2017 6:39 PM > To: tho...@monjalon.net > Cc: dev@dpdk.org; David Harton > Subject: [dpdk-dev] [PATCH v3] ethdev: add return code to > rte_eth_stats_reset() > > Some devices do not support reset of eth s

Re: [dpdk-dev] using rte_flow via tespmd with Intel X552

2017-08-08 Thread Ferruh Yigit
On 8/2/2017 2:41 PM, Adrien Mazarguil wrote: > Hi Wenzhuo, > > On Wed, Aug 02, 2017 at 01:00:47PM +, Lu, Wenzhuo wrote: >> Hi, >> >>> -Original Message- >>> From: Zhao1, Wei >>> Sent: Wednesday, August 2, 2017 3:28 AM >>> To: TETSURO NAKAMURA >>> Cc: TAKADA Naoki ; Satoshi NISHIYAMA >

Re: [dpdk-dev] [PATCH] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle1
"Ananyev, Konstantin" wrote on 08/08/2017 10:27:28 AM: > From: "Ananyev, Konstantin" > To: Alexey Kardashevskiy , Jonas Pfefferle > , "Burakov, Anatoly" > Cc: "dev@dpdk.org" > Date: 08/08/2017 10:27 AM > Subject: RE: [dpdk-dev] [PATCH] vfio: fix sPAPR IOMMU DMA window size > > > > > -Origi

Re: [dpdk-dev] [PATCH v2] doc: announce ABI change for cryptodev and ethdev

2017-08-08 Thread Akhil Goyal
Hi Pablo, On 8/8/2017 1:38 PM, De Lara Guarch, Pablo wrote: Hi Akhil, -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Tuesday, August 8, 2017 8:10 AM To: dev@dpdk.org; Doherty, Declan ; tho...@monjalon.net; Nicolau, Radu ; avia...@mellanox.com; bor...@mellanox.c

[dpdk-dev] [PATCH v3] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle
DMA window size needs to be big enough to span all memory segment's physical addresses. We do not need multiple levels of IOMMU tables as we already span ~70TB of physical memory with 16MB hugepages. Signed-off-by: Jonas Pfefferle --- v2: * roundup to next power 2 function without loop. v3: * Re

Re: [dpdk-dev] [PATCH v3] doc: announce ethdev API change for detach flag

2017-08-08 Thread Thomas Monjalon
31/07/2017 11:40, Gaetan Rivet: > The flag RTE_ETH_DEV_DETACHABLE will disappear. > > This flag is not needed anymore following the hotplug work done for > v17.08. It can be removed, its function is now implicitly made available > by the relevant EAL and rte_bus implementations. > > Signed-off-by

Re: [dpdk-dev] [RFC] ethdev: add ioctl-like API to control device specific features

2017-08-08 Thread Ferruh Yigit
On 8/4/2017 1:56 PM, Bruce Richardson wrote: > On Fri, Aug 04, 2017 at 12:58:01PM +0100, Ferruh Yigit wrote: >> On 8/3/2017 8:53 PM, Thomas Monjalon wrote: >>> 03/08/2017 18:15, Stephen Hemminger: On Thu, 3 Aug 2017 14:21:38 +0100 Bruce Richardson wrote: > On Thu, Aug 03, 2017 a

[dpdk-dev] [PATCH v2] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle
DMA window size needs to be big enough to span all memory segment's physical addresses. We do not need multiple levels of IOMMU tables as we already span ~70TB of physical memory with 16MB hugepages. Signed-off-by: Jonas Pfefferle --- v2: * roundup to next power 2 function without loop. lib/libr

Re: [dpdk-dev] [PATCH] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Alexey Kardashevskiy > Sent: Tuesday, August 8, 2017 10:38 AM > To: Jonas Pfefferle ; Burakov, Anatoly > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vfio: fix sPAPR IOMMU DMA window size > > On 08/08/1

Re: [dpdk-dev] [PATCH v2] doc: announce ABI change for cryptodev and ethdev

2017-08-08 Thread De Lara Guarch, Pablo
Hi Akhil, > -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, August 8, 2017 8:10 AM > To: dev@dpdk.org; Doherty, Declan ; > tho...@monjalon.net; Nicolau, Radu ; > avia...@mellanox.com; bor...@mellanox.com; > hemant.agra...@nxp.com; De Lara Guarch, Pablo

Re: [dpdk-dev] [PATCH] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Jonas Pfefferle1
Alexey Kardashevskiy wrote on 08/08/2017 09:38:00 AM: > From: Alexey Kardashevskiy > To: Jonas Pfefferle , anatoly.bura...@intel.com > Cc: dev@dpdk.org > Date: 08/08/2017 09:38 AM > Subject: Re: [PATCH] vfio: fix sPAPR IOMMU DMA window size > > On 08/08/17 01:11, Jonas Pfefferle wrote: > > DMA w

Re: [dpdk-dev] [PATCH] vfio: fix sPAPR IOMMU DMA window size

2017-08-08 Thread Alexey Kardashevskiy
On 08/08/17 01:11, Jonas Pfefferle wrote: > DMA window size needs to be big enough to span all memory segment's > physical addresses. We do not need multiple levels of IOMMU tables > as we already span ~70TB of physical memory with 16MB hugepages. > > Signed-off-by: Jonas Pfefferle > --- > lib/l

[dpdk-dev] Why IVSHMEM was removed since 16.11 ?

2017-08-08 Thread Furong
The release notes of dpdk-16.11 had shown that IVSHMEM was removed due to some design issues. So, what are these issues? Thanks!

[dpdk-dev] [PATCH v2] doc: announce ABI change for cryptodev and ethdev

2017-08-08 Thread Akhil Goyal
Support for security operations is planned to be added in ethdev and cryptodev for the 17.11 release. For this following changes are required. - rte_cryptodev and rte_eth_dev structures need to be added new parameter rte_security_ops which extend support for security ops to the corresponding drive