Re: [dpdk-dev] [PATCH 0/2] lib: add TCP IPv4 GRO support

2017-03-23 Thread Wiles, Keith
> On Mar 23, 2017, at 9:23 PM, Hu, Jiayu wrote: > > On Thu, Mar 23, 2017 at 09:12:56PM +0800, Ananyev, Konstantin wrote: >> Hi everyone, >> > -Original Message- > From: Hu, Jiayu > Sent: Thursday, March 23, 2017 6:25 AM > To: Wiles, Keith > Cc: Yuanhan L

Re: [dpdk-dev] [PATCH 0/3] net/i40e: vf port reset

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wei Zhao > Sent: Friday, March 3, 2017 12:56 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 0/3] net/i40e: vf port reset > > The patches mainly finish following functions: > 1) get pf reset vf comamand falg f

Re: [dpdk-dev] [PATCH 8/8] app/testpmd: set TC strict link priority mode

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:25 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 8/8] app/testpmd: set TC strict link priority mode > > Add a CLI to set some TCs' strict li

Re: [dpdk-dev] [PATCH 7/8] app/testpmd: set VF TC TX max bandwidth

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:25 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 7/8] app/testpmd: set VF TC TX max bandwidth > > Add CLI to set a specific TC's max bandwid

Re: [dpdk-dev] [PATCH 5/8] app/testpmd: set VF TX max bandwidth

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:25 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 5/8] app/testpmd: set VF TX max bandwidth > > Add CLI to set a specific VF's TX max bandwid

Re: [dpdk-dev] [PATCH 6/8] app/testpmd: set VF TC TX min bandwidth

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:25 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 6/8] app/testpmd: set VF TC TX min bandwidth > > Add CLI to set TCs' min bandwidth on a spe

Re: [dpdk-dev] [PATCH 4/8] net/i40e: set TC strict priority mode

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:25 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 4/8] net/i40e: set TC strict priority mode > > Set some TCs to strict priority mode. > It's

Re: [dpdk-dev] [PATCH 3/8] net/i40e: set VF TC max bandwidth from PF

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:25 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 3/8] net/i40e: set VF TC max bandwidth from PF > > Set a specific TC's max bandwidth on a V

Re: [dpdk-dev] [PATCH 2/8] net/i40e: allocate VF TC bandwidth from PF

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:24 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 2/8] net/i40e: allocate VF TC bandwidth from PF > > Allocate all TCs' relative bandwidth (p

Re: [dpdk-dev] [PATCH] doc: move i40e know issue to new file

2017-03-23 Thread Lu, Wenzhuo
Hi Qiming, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Qiming Yang > Sent: Friday, March 24, 2017 12:41 PM > To: dev@dpdk.org > Cc: Wu, Jingjing; Yang, Qiming > Subject: [dpdk-dev] [PATCH] doc: move i40e know issue to new file > > This patch moved i40e rela

Re: [dpdk-dev] [PATCH 1/8] net/i40e: set VF max bandwidth from PF

2017-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, February 24, 2017 11:24 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 1/8] net/i40e: set VF max bandwidth from PF > > Support setting VF max bandwidth from PF. >

[dpdk-dev] [PATCH] doc: move i40e know issue to new file

2017-03-23 Thread Qiming Yang
This patch moved i40e related know issues from doc/guides/rel_notes/ known_issues.rst to driver/net/i40e/i40e_know_issues.rst, makes us easy to track the issue about i40e. Signed-off-by: Qiming Yang --- doc/guides/rel_notes/known_issues.rst | 65 --- drivers/net/i

[dpdk-dev] [PATCH] net/ixgbe: fix TC bandwidth setting

2017-03-23 Thread Wenzhuo Lu
4 and 8 TCs are supported on ixgbe. By default there're 8 TCs. So when initializing the device, the bandwidth for 8 TCs is set. When changing the TC number, it's only considered setting the bandwidth for 4 TCs. If the user change the number from 4 to 8, the TCs' bandwidth is not right. Fixes: 0807

Re: [dpdk-dev] [PATCH v6] eventdev: add errno-style return values

2017-03-23 Thread Jerin Jacob
On Thu, Mar 23, 2017 at 05:30:20PM -0500, Gage Eads wrote: > From: "Eads, Gage" > > This commit adds rte_errno return values to rte_event_enqueue_burst() and > rte_event_dequeue_burst(). > > These return values allows user software to differentiate between an > invalid argument (such as an inval

[dpdk-dev] [PATCH 1/1] ethdev: don't consider device state when validating flows

2017-03-23 Thread John Daley
PMDs only consider if a flow would be accepted or not the assuming the device had all it's resources available to it. Since state is not considered, -EEXIST and -EBUSY return codes no longer make sense and are removed. Also clarify the -ENOMEM has nothig to do with device resouces, only host resour

[dpdk-dev] [PATCH 0/1] proposed minor change in rte_flow_validate semantics

2017-03-23 Thread John Daley
Hi, In implementing rte_flow_validate() for the Cisco enic, I got to wondering if the semantics might be slightly off given how I see apps using it. Please forgive me if this has already been discussed, but during runtime, I can't see any reason why rte_flow_validate() would be called when rte_fl

Re: [dpdk-dev] [PATCH 0/2] lib: add TCP IPv4 GRO support

2017-03-23 Thread Jiayu Hu
On Thu, Mar 23, 2017 at 09:12:56PM +0800, Ananyev, Konstantin wrote: > Hi everyone, > > > > > > > > > > > -Original Message- > > > > From: Hu, Jiayu > > > > Sent: Thursday, March 23, 2017 6:25 AM > > > > To: Wiles, Keith > > > > Cc: Yuanhan Liu ; Richardson, Bruce > > > > ; Yigit, Ferruh

Re: [dpdk-dev] [PATCH v2 1/3] app/testpmd: add support for MPLS and GRE items

2017-03-23 Thread Xing, Beilei
Hi Adrien, > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Friday, March 24, 2017 3:39 AM > To: Xing, Beilei > Cc: Wu, Jingjing ; Zhang, Helin > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/3] app/testpmd: add support for MPLS > and GRE it

Re: [dpdk-dev] [PATCH v3 1/5] net/i40e: add pipeline personalization profile processing

2017-03-23 Thread Xing, Beilei
Hi Bernard, > -Original Message- > From: Iremonger, Bernard > Sent: Thursday, March 23, 2017 10:50 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: Zhang, Helin ; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3 1/5] net/i40e: add pipeline > personalization profile processing > > Hi Beilei, >

[dpdk-dev] [PATCH v5 7/7] net/ark: Arkville PMD component integration

2017-03-23 Thread Ed Czeck
* Flesh out device configuration * Add links dev_ops * allow dynamic extension loading Signed-off-by: Shepard Siegel Signed-off-by: John Miller Signed-off-by: Ed Czeck Conflicts: drivers/net/ark/ark_ethdev.c --- doc/guides/nics/features/ark.ini | 15 + drivers/net/ark/ark_ethdev.c

[dpdk-dev] [PATCH v5 5/7] net/ark: Packet TX support initial version

2017-03-23 Thread Ed Czeck
* Core TX packet moving functions * Flesh out ark_adapter struct to support TX code (not all fields used at this patch Signed-off-by: Ed Czeck --- drivers/net/ark/Makefile| 1 + drivers/net/ark/ark_ethdev_tx.c | 507 drivers/net/ark/ark_ethdev_t

[dpdk-dev] [PATCH v5 6/7] net/ark: Packet RX support initial version

2017-03-23 Thread Ed Czeck
* Core RX packet moving functions Signed-off-by: Ed Czeck --- drivers/net/ark/Makefile| 1 + drivers/net/ark/ark_ethdev_rx.c | 680 drivers/net/ark/ark_ethdev_rx.h | 67 3 files changed, 748 insertions(+) create mode 100644 drivers/net/ar

[dpdk-dev] [PATCH v5 3/7] net/ark: provide API hardware module udm and ddm

2017-03-23 Thread Ed Czeck
Provide C-level interface for Arkville's internal HW resources ddm and udm modules Signed-off-by: Ed Czeck --- drivers/net/ark/Makefile | 4 +- drivers/net/ark/ark_ddm.c | 151 +++ drivers/net/ark/ark_ddm.h | 158 drivers/net/ark/ar

[dpdk-dev] [PATCH v5 4/7] net/ark: prrovide api for hardware module pktchkr and pktgen

2017-03-23 Thread Ed Czeck
Provide C-level interface for Arkville's internal HW resources pktchkr and pktgen Signed-off-by: Ed Czeck --- drivers/net/ark/Makefile | 2 + drivers/net/ark/ark_pktchkr.c | 472 drivers/net/ark/ark_pktchkr.h | 118 ++ drivers/net/ark/ark_p

[dpdk-dev] [PATCH v5 1/7] net/ark: PMD for Atomic Rules Arkville driver stub

2017-03-23 Thread Ed Czeck
Enable Arkville on supported configurations Add overview documentation Minimum driver support for valid compile Arkville PMD is not supported on ARM or PowerPC at this time v5: * Address comments from Ferruh Yigit * Added documentation on driver args * Makefile fixes * Safe argument processing *

[dpdk-dev] [PATCH v5 2/7] net/ark: provide api to hardware module mpu, rqp, and pktdir

2017-03-23 Thread Ed Czeck
Provide C-level interface for Arkville's internal HW resources mpu, pktdir, and rqp modules Signed-off-by: Ed Czeck --- drivers/net/ark/Makefile | 4 +- drivers/net/ark/ark_mpu.c| 181 +++ drivers/net/ark/ark_mpu.h| 148 ++

Re: [dpdk-dev] [PATCH v5] eventdev: add errno-style return values

2017-03-23 Thread Eads, Gage
Thanks! Good catch on the html guide. I submitted v6, leaving the "attached" code as is. Thanks, Gage

[dpdk-dev] [PATCH v6] eventdev: add errno-style return values

2017-03-23 Thread Gage Eads
From: "Eads, Gage" This commit adds rte_errno return values to rte_event_enqueue_burst() and rte_event_dequeue_burst(). These return values allows user software to differentiate between an invalid argument (such as an invalid queue_id or sched_type in an enqueued event) and backpressure from the

Re: [dpdk-dev] [PATCH v4 7/7] net/ark: Arkville PMD component integration

2017-03-23 Thread Ed Czeck
On Thu, Mar 23, 2017 at 8:13 AM, Ferruh Yigit wrote: > > > > > +static > > +int > > Can be in same line. Fixed > > > +check_for_ext(struct rte_eth_dev *dev __rte_unused, > > + struct ark_adapter *ark __rte_unused) > > __rte_unused can go away Fixed > Hi Ed, > > Can you give some more

Re: [dpdk-dev] [PATCH v4 6/7] net/ark: Packet RX support initial version

2017-03-23 Thread Ed Czeck
On Thu, Mar 23, 2017 at 8:14 AM, Ferruh Yigit wrote: > > > > +#ifdef RTE_LIBRTE_ARK_DEBUG_RX > > +#define ARK_RX_DEBUG 1 > > +#define ARK_FULL_DEBUG 1 > > This macro is not used. Macro removed

Re: [dpdk-dev] [PATCH v4 5/7] net/ark: Packet TX support initial version

2017-03-23 Thread Ed Czeck
On Thu, Mar 23, 2017 at 8:14 AM, Ferruh Yigit wrote: > > On 3/23/2017 1:03 AM, Ed Czeck wrote: > > Is this function to get dev->data->port_id ? > > "struct ark_adapter" is private date per eth_dev, it is possible to keep > port_id per ark, no need to keep whole array on each ark, if I am now > mi

Re: [dpdk-dev] [PATCH v5 00/14] Wind River Systems AVP PMD

2017-03-23 Thread Vincent Jardin
Le 23 mars 2017 7:28:02 PM "Legacy, Allain" a écrit : -Original Message- From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] Sent: Thursday, March 23, 2017 10:18 AM <...> Hi Allain, Overall PMD looks good to me. Only can you please update documentation based on tech board decisio

Re: [dpdk-dev] [PATCH v4 2/7] net/ark: HW API part 1 of 3

2017-03-23 Thread Ed Czeck
On Thu, Mar 23, 2017 at 7:38 AM, Ferruh Yigit wrote: > > > For patch title, instead of using " HW API part x of y", can you please > describe the content of the patch, like: > > " net/ark: HW API for MPU, pktdir, and RQP modules" Done

Re: [dpdk-dev] [PATCH v4 1/7] net/ark: PMD for Atomic Rules Arkville driver stub

2017-03-23 Thread Ed Czeck
In the next patch set, v5 the following are addressed. > > > > +CONFIG_RTE_LIBRTE_ARK_PMD=n > Is it not tested or known that it is not supported? > > CONFIG_RTE_LIBRTE_IXGBE_PMD=n > > CONFIG_RTE_LIBRTE_I40E_PMD=n > > CONFIG_RTE_LIBRTE_VIRTIO_PMD=y The Ark/PMD is not supported on those architect

Re: [dpdk-dev] [PATCH v2 1/3] app/testpmd: add support for MPLS and GRE items

2017-03-23 Thread Adrien Mazarguil
Hi Beilei, On Thu, Mar 23, 2017 at 06:57:47PM +0800, Beilei Xing wrote: > This patch adds sopport for MPLS and GRE items to generic filter > API. Besides the typo, my previous comment about the title line still stands ("app/testpmd" is not accurate regarding the intent of this patch). > > Signe

Re: [dpdk-dev] [PATCH 21/39] event/octeontx: add stop and close function

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 20/39] event/octeontx: add start function

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 19/39] event/octeontx: add support worker dequeue function

2017-03-23 Thread Eads, Gage
Hi Jerin, > +force_inline uint16_t __hot > +ssows_deq_timeout(void *port, struct rte_event *ev, uint64_t > +timeout_ticks) { > +struct ssows *ws = port; > +uint64_t iter; > +uint16_t ret = 1; > + > +ssows_swtag_wait(ws); > +if (ws->swtag_req) { > +ws->sw

Re: [dpdk-dev] [PATCH 18/39] event/octeontx: add support worker enqueue function

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH v5 00/14] Wind River Systems AVP PMD

2017-03-23 Thread Legacy, Allain
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Thursday, March 23, 2017 10:18 AM <...> > Hi Allain, > > Overall PMD looks good to me. > > Only can you please update documentation based on tech board decision [1]. > > Repeating related part here: > " >

Re: [dpdk-dev] [PATCH 17/39] event/octeontx: add SSO HW device operations

2017-03-23 Thread Eads, Gage
Disregard my previous message -- I see you addressed the checkpatch issues in your cover letter. This patch looks good, so Acked-by: Gage Eads > -Original Message- > From: Eads, Gage > Sent: Wednesday, March 22, 2017 10:29 AM > To: Jerin Jacob ; dev@dpdk.org > Cc: thomas.monja...@6

Re: [dpdk-dev] [PATCH 16/39] event/octeontx: add dump function for easier debugging

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 15/39] event/octeontx: add support dequeue timeout tick conversion

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 14/39] event/octeontx: add support for linking queues to ports

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 13/39] event/octeontx: add support for event ports

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 12/39] event/octeontx: add support for event queues

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 11/39] event/octeontx: add configure function

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH] doc: fix typo in qat ini file

2017-03-23 Thread De Lara Guarch, Pablo
> -Original Message- > From: Trahe, Fiona > Sent: Thursday, March 23, 2017 5:03 PM > To: dev@dpdk.org; De Lara Guarch, Pablo > Cc: Trahe, Fiona; Kusztal, ArkadiuszX > Subject: [PATCH] doc: fix typo in qat ini file > > Fix typo in qat.ini file. > > Signed-off-by: Fiona Trahe Doh... tha

[dpdk-dev] [PATCH] cryptodev: add API note

2017-03-23 Thread Fiona Trahe
Add note to cryptodev API that chained mbufs are not supported in DOCSISBPI mode. Signed-off-by: Fiona Trahe --- lib/librte_cryptodev/rte_crypto_sym.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptod

Re: [dpdk-dev] [PATCH 1/2] net/i40e: enable VF untag drop

2017-03-23 Thread Iremonger, Bernard
Hi Ferruh, > > Subject: Re: [dpdk-dev] [PATCH 1/2] net/i40e: enable VF untag drop > > > > On 3/3/2017 1:59 AM, Qi Zhang wrote: > >> Add a new private API to support the untag drop enable/disable > >> for specific VF. > >> > >> Signed-off-by: Qi Zhang > >> --- > >>>

Re: [dpdk-dev] [PATCH 10/39] event/octeontx: add device capabilities function

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 09/39] event/octeontx: add octeontx eventdev driver

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

[dpdk-dev] [PATCH] ether: fix configure() to use a default for max_rx_pkt_len

2017-03-23 Thread Andriy Berestovskyy
At the moment rte_eth_dev_configure() behaves inconsistent: - for normal frames: out of range max_rx_pkt_len uses a default - for jumbo frames: out of range max_rx_pkt_len gives an error This patch fixes this inconsistency by using a default value for max_rx_pkt_len both for normal and jumbo fra

[dpdk-dev] [PATCH] doc: fix typo in qat ini file

2017-03-23 Thread Fiona Trahe
Fix typo in qat.ini file. Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/features/qat.ini | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/cryptodevs/features/qat.ini b/doc/guides/cryptodevs/features/qat.ini index 0c9c3b6..a3a46eb 100644 --- a/doc/gui

Re: [dpdk-dev] [PATCH v2 2/2] app/testpmd: enable VF untag drop in testpmd

2017-03-23 Thread Ferruh Yigit
On 3/13/2017 4:55 AM, Qi Zhang wrote: > Add command line to support untag drop to specific VF in > testpmd. > > Signed-off-by: Qi Zhang > --- > v2: > - adjust compile option to align with others. > > app/test-pmd/cmdline.c | 99 > ++ doc/guides/t

Re: [dpdk-dev] [PATCH 1/2] net/i40e: enable VF untag drop

2017-03-23 Thread Ferruh Yigit
On 3/14/2017 6:16 PM, Iremonger, Bernard wrote: > Hi Ferruh, Qi, > > > > Subject: Re: [dpdk-dev] [PATCH 1/2] net/i40e: enable VF untag drop > > On 3/3/2017 1:59 AM, Qi Zhang wrote: >> Add a new private API to support the untag drop enable/disable for >> specific VF. >> >>

Re: [dpdk-dev] [PATCH v9 00/22] NXP DPAA2 PMD

2017-03-23 Thread Hemant Agrawal
On 3/23/2017 8:04 PM, Ferruh Yigit wrote: On 3/17/2017 1:08 PM, Hemant Agrawal wrote: (This patches has been split from DPAA2 PMD v8 series [2] as per comments received on ML [3].) The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based network SoC PMD. This version of the driver

Re: [dpdk-dev] [PATCH v1] mempool/dpaa2: add DPAA2 hardware offloaded mempool

2017-03-23 Thread Hemant Agrawal
On 3/22/2017 11:39 AM, Jianbo Liu wrote: Hi Hemant, The 03/17/2017 18:17, Hemant Agrawal wrote: DPAA2 Hardware Mempool handlers allow enqueue/dequeue from NXP's QBMAN hardware block. CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS is set to 'dpaa2', if the pool is enabled. This memory pool currently suppo

Re: [dpdk-dev] Is contiguous hugepages memory still required in latest DPDKs?

2017-03-23 Thread Sergio Gonzalez Monroy
On 23/03/2017 16:24, Ruslan Bilovol wrote: On 03/22/2017 02:08 PM, Ruslan Bilovol wrote: On 03/21/2017 04:41 PM, Sergio Gonzalez Monroy wrote: The DPDK will still try to allocate contiguous hugepages. Since DPDK v16.07 the mempool library is able to create a mempool with multiple chunks of mem

Re: [dpdk-dev] [PATCH 08/39] event/octeontx: add mailbox support

2017-03-23 Thread Eads, Gage
Hi Jerin, I identified a few issues below. Thanks, Gage > +static inline void > +mbox_send_requeust(struct mbox *m, struct octeontx_mbox_hdr *hdr, > +const void *txmsg, uint16_t txsize) "requeust" -> "request" > + > +static inline int > +mbox_wait_response(struct

[dpdk-dev] [PATCH v2 3/3] net/i40e: update destroy tunnel filter function

2017-03-23 Thread Bernard Iremonger
set big_buffer to 1 for QinQ filter in i40e_flow_destroy_tunnel_filter function. Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_flow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index e53ab22..b2f

[dpdk-dev] [PATCH v2 1/3] net/i40e: add QinQ wrapper function

2017-03-23 Thread Bernard Iremonger
Add i40e_dev_cloud_filter_qinq function, and call it from i40e_dev_consistent_tunnel_filter_set function. Replace filter 0x1 with QinQ filter. Signed-off-by: Laura Stroe Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c | 121 +++-- drivers/

[dpdk-dev] [PATCH v2 2/3] net/i40e: parse QinQ pattern

2017-03-23 Thread Bernard Iremonger
add QinQ pattern. add i40e_flow_parse_qinq_pattern function. add i40e_flow_parse_qinq_filter function. Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_flow.c | 194 ++- 1 file changed, 192 insertions(+), 2 deletions(-) diff --git a/drivers/net/

[dpdk-dev] [PATCH v2 0/3] net/i40e: QinQ filter

2017-03-23 Thread Bernard Iremonger
This patchset depends on the following patch sets: [dpdk-dev,v3,1/5] net/i40e: add pipeline personalization profile processing [dpdk-dev,v2,1/4] net/i40e: rework tunnel filter functions [dpdk-dev,v2,1/3] app/testpmd: add support for MPLS and GRE items It adds support for QinQ filters. It uses the

Re: [dpdk-dev] Is contiguous hugepages memory still required in latest DPDKs?

2017-03-23 Thread Ruslan Bilovol
On 03/22/2017 02:08 PM, Ruslan Bilovol wrote: On 03/21/2017 04:41 PM, Sergio Gonzalez Monroy wrote: The DPDK will still try to allocate contiguous hugepages. Since DPDK v16.07 the mempool library is able to create a mempool with multiple chunks of memory. You would still have the contig memory

Re: [dpdk-dev] [RFC] New CLI for DPDK

2017-03-23 Thread Wiles, Keith
> On Mar 10, 2017, at 9:25 AM, Wiles, Keith wrote: > > I would like to request for comments on a new CLI design and get any > feedback. I have attached the cli.rst text, which is still a work in progress > for you review. > > I have also ported the CLI to a version of Pktgen on the ‘dev’ bran

Re: [dpdk-dev] [PATCH 07/39] event/octeontx: add vdev interface functions

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

[dpdk-dev] [PATCH v2] vhost: fix virtio_net false sharing

2017-03-23 Thread Kevin Traynor
The broadcast_rarp field in the virtio_net struct is checked in the dequeue datapath regardless of whether descriptors are available or not. As it is checked with cmpset leading to a write, false sharing on the virtio_net struct can happen between enqueue and dequeue datapaths regardless of whethe

Re: [dpdk-dev] [PATCH 06/39] event/octeontx: probe ssowvf pcie devices

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 05/39] event/octeontx: probe ssovf pcie devices

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH v2] doc: reformat crypto drivers overview

2017-03-23 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Thursday, March 23, 2017 11:39 AM > To: Mcnamara, John > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2] doc: reformat crypto drivers overview > > Follow the approach in the network devices overview, > for the featu

Re: [dpdk-dev] [PATCH] doc: add missing supported algos

2017-03-23 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, March 22, 2017 4:16 PM > To: Mcnamara, John > Cc: Doherty, Declan; dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] doc: add missing supported algos > > AESNI MB supports MD5 and AES XCBC, but it wasn't reflected

Re: [dpdk-dev] [PATCH 00/38] Remove struct eth_driver

2017-03-23 Thread Stephen Hemminger
On Mon, 6 Mar 2017 10:59:52 +0100 Jan Blunck wrote: > This series is removing the PCI specific struct eth_driver from rte_ether. The > PCI drivers are changed to use the newly introduced header-only helpers > instead. Although the virtual drivers did not make use of the ethdev's driver > field t

Re: [dpdk-dev] [PATCH 04/39] event/octeontx: add build and log infrastructure

2017-03-23 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, March 3, 2017 11:28 AM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; Richardson, Bruce > ; Van Haaren, Harry > ; hemant.agra...@nxp.com; Eads, Gage > ; nipun.gu...@nxp.com; > sa

Re: [dpdk-dev] [PATCH 2/3] crypto/scheduler: improve slave configuration

2017-03-23 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty > Sent: Thursday, March 23, 2017 3:10 PM > To: Zhang, Roy Fan; dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: Re: [dpdk-dev] [PATCH 2/3] crypto/scheduler: improve slave > configuration > > On

Re: [dpdk-dev] [PATCH 2/3] crypto/scheduler: improve slave configuration

2017-03-23 Thread Declan Doherty
On 17/02/17 12:01, Fan Zhang wrote: Since the new device configuration API is updated, we can make use of this feature to the crypto scheduler PMD to configure its slaves automatically with the same configurations it got. As originally the slaves have to be manually configured one by one, this pa

[dpdk-dev] [PATCH] eal/bsd: query the cpu count only once

2017-03-23 Thread Bruce Richardson
Rather than querying the number of CPUs on the system multiple times, and printing out the number each time, just query the value from sysctl once and store it for future reuse. Signed-off-by: Bruce Richardson --- lib/librte_eal/bsdapp/eal/eal_lcore.c | 8 +--- 1 file changed, 5 insertions(+

[dpdk-dev] [PATCH] devtools: make log checking script BSD-compatible

2017-03-23 Thread Bruce Richardson
The -e flag to readlink doesn't exist on FreeBSD so change it to -f instead which is present on both BSD and Linux. Error reported is: readlink: illegal option -- e usage: readlink [-fn] [file ...] usage: dirname string [...] ./devtools/check-git-log.sh: /git-log-fixes.sh: not found Fixes

Re: [dpdk-dev] [PATCH 2/3] crypto/scheduler: improve slave configuration

2017-03-23 Thread Declan Doherty
On 17/02/17 12:01, Fan Zhang wrote: Since the new device configuration API is updated, we can make use of this feature to the crypto scheduler PMD to configure its slaves automatically with the same configurations it got. As originally the slaves have to be manually configured one by one, this pa

Re: [dpdk-dev] [PATCH 1/3] cryptodev: change device configuration API

2017-03-23 Thread Declan Doherty
On 17/02/17 12:01, Fan Zhang wrote: This patch changes the device configuration API for rte_cryptodev_ops function prototype, and update all cryptodev PMDs for this change. Signed-off-by: Fan Zhang --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v3 1/5] net/i40e: add pipeline personalization profile processing

2017-03-23 Thread Iremonger, Bernard
Hi Beilei, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Thursday, March 23, 2017 10:02 AM > To: Wu, Jingjing > Cc: Zhang, Helin ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 1/5] net/i40e: add pipeline personalization > profile processin

Re: [dpdk-dev] [PATCH v2 1/2] cryptodev: add api for attach-detach session with queue pair

2017-03-23 Thread Trahe, Fiona
Hi Akhil > -Original Message- > From: akhil.go...@nxp.com [mailto:akhil.go...@nxp.com] > Sent: Thursday, March 23, 2017 8:07 AM > To: dev@dpdk.org > Cc: Gonzalez Monroy, Sergio ; Doherty, > Declan ; De Lara Guarch, Pablo > ; Trahe, Fiona ; > hemant.agra...@nxp.com; Akhil Goyal > Subject:

Re: [dpdk-dev] [PATCH v9 00/22] NXP DPAA2 PMD

2017-03-23 Thread Ferruh Yigit
On 3/17/2017 1:08 PM, Hemant Agrawal wrote: > (This patches has been split from DPAA2 PMD v8 series [2] as per > comments received on ML [3].) > > The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based > network SoC PMD. This version of the driver supports NXP LS208xA, > LS204xA an

Re: [dpdk-dev] [PATCH v1 00/22] NXP DPAA2 FSLMC Bus driver

2017-03-23 Thread Ferruh Yigit
On 3/17/2017 12:36 PM, Hemant Agrawal wrote: > (This patches has been split from DPAA2 PMD v8 series [1] as per > comments received on ML [2].) > > The patchset introduces NXP’s QorIQ-Layerscape DPAA2 Architecture based > fsl-mc bus driver. This version of the driver supports NXP LS208xA, > LS204x

Re: [dpdk-dev] [PATCH v7 02/14] eal: do not panic when CPU isn't supported

2017-03-23 Thread Aaron Conole
Bruce Richardson writes: > On Wed, Mar 22, 2017 at 04:19:28PM -0400, Aaron Conole wrote: >> This adds a new API to check for the eal cpu versions. >> >> It's now possible to gracefully exit the application, or for >> applications which support non-dpdk datapaths working in concert with >> DPDK d

[dpdk-dev] [PATCH v3] mempool: remove non-EAL thread note from header

2017-03-23 Thread Gage Eads
Commit 30e6399892276 ("mempool: support non-EAL thread") added the capability for non-EAL threads to use the mempool library. This commit removes the note indicating that the mempool library cannot be used safely by non-EAL threads. Also, fix a typo. Signed-off-by: Gage Eads --- v2: Changed comm

Re: [dpdk-dev] [PATCH v5 00/14] Wind River Systems AVP PMD

2017-03-23 Thread Ferruh Yigit
On 3/23/2017 11:23 AM, Allain Legacy wrote: > This patch series submits an initial version of the AVP PMD from Wind River > Systems. The series includes shared header files, driver implementation, > and changes to documentation files in support of this new driver. The AVP > driver is a shared mem

Re: [dpdk-dev] [PATCH v7 00/14] eal: Remove most causes of panic on init

2017-03-23 Thread Bruce Richardson
On Wed, Mar 22, 2017 at 04:19:26PM -0400, Aaron Conole wrote: > In many cases, it's enough to simply let the application know that the > call to initialize DPDK has failed. A complete halt can then be > decided by the application based on error returned (and the app could > even attempt a possible

Re: [dpdk-dev] [PATCH] net/thunderx: sync mailbox definitions with Linux PF driver

2017-03-23 Thread Ferruh Yigit
On 3/20/2017 2:10 PM, Jerin Jacob wrote: > - bgx_link_status mbox definition was changed in Linux > commit 1cc702591bae ("net: thunderx: Add ethtool support") > - NIC_MBOX_MSG_RES_BIT related changes were never part of Linux PF driver > > Signed-off-by: Jerin Jacob Applied to dpdk-next-net/maste

Re: [dpdk-dev] [PATCH] net/thunderx: sync mailbox definitions with Linux PF driver

2017-03-23 Thread Ferruh Yigit
On 3/23/2017 2:00 PM, Jerin Jacob wrote: > On Thu, Mar 23, 2017 at 01:26:15PM +, Ferruh Yigit wrote: >> On 3/23/2017 1:20 PM, Jerin Jacob wrote: >>> On Wed, Mar 22, 2017 at 10:33:14AM +, Ferruh Yigit wrote: On 3/22/2017 9:39 AM, Jerin Jacob wrote: > On Tue, Mar 21, 2017 at 02:53:29

Re: [dpdk-dev] [PATCH] net/thunderx: sync mailbox definitions with Linux PF driver

2017-03-23 Thread Jerin Jacob
On Thu, Mar 23, 2017 at 01:26:15PM +, Ferruh Yigit wrote: > On 3/23/2017 1:20 PM, Jerin Jacob wrote: > > On Wed, Mar 22, 2017 at 10:33:14AM +, Ferruh Yigit wrote: > >> On 3/22/2017 9:39 AM, Jerin Jacob wrote: > >>> On Tue, Mar 21, 2017 at 02:53:29PM +, Ferruh Yigit wrote: > On 3/21

Re: [dpdk-dev] [PATCH v7 02/14] eal: do not panic when CPU isn't supported

2017-03-23 Thread Bruce Richardson
On Wed, Mar 22, 2017 at 04:19:28PM -0400, Aaron Conole wrote: > This adds a new API to check for the eal cpu versions. > > It's now possible to gracefully exit the application, or for > applications which support non-dpdk datapaths working in concert with > DPDK datapaths, there no longer is the p

Re: [dpdk-dev] [PATCH v2 46/46] doc: add doc for liquidio

2017-03-23 Thread Ferruh Yigit
On 3/23/2017 5:44 AM, Shijith Thotton wrote: > On Tue, Mar 21, 2017 at 12:33:30PM +, Ferruh Yigit wrote: >> On 3/2/2017 11:32 AM, Shijith Thotton wrote: >>> Added doc/guides/nics/liquidio.rst and >>> doc/guides/nics/features/liquidio.ini. Updated release notes. >>> >>> Signed-off-by: Shijith Th

Re: [dpdk-dev] [PATCH v7 1/3] ethdev: new API to free consumed buffers in Tx ring

2017-03-23 Thread Billy McFall
Thank you for your comments. See inline. On Thu, Mar 23, 2017 at 6:37 AM, Olivier MATZ wrote: > Hi Billy, > > On Wed, 15 Mar 2017 14:02:24 -0400, Billy McFall > wrote: > > Add a new API to force free consumed buffers on Tx ring. API will return > > the number of packets freed (0-n) or error cod

Re: [dpdk-dev] [PATCH] net/thunderx: sync mailbox definitions with Linux PF driver

2017-03-23 Thread Ferruh Yigit
On 3/23/2017 1:20 PM, Jerin Jacob wrote: > On Wed, Mar 22, 2017 at 10:33:14AM +, Ferruh Yigit wrote: >> On 3/22/2017 9:39 AM, Jerin Jacob wrote: >>> On Tue, Mar 21, 2017 at 02:53:29PM +, Ferruh Yigit wrote: On 3/21/2017 2:38 PM, Jerin Jacob wrote: > On Tue, Mar 21, 2017 at 02:31:41

Re: [dpdk-dev] [PATCH] net/thunderx: sync mailbox definitions with Linux PF driver

2017-03-23 Thread Jerin Jacob
On Wed, Mar 22, 2017 at 10:33:14AM +, Ferruh Yigit wrote: > On 3/22/2017 9:39 AM, Jerin Jacob wrote: > > On Tue, Mar 21, 2017 at 02:53:29PM +, Ferruh Yigit wrote: > >> On 3/21/2017 2:38 PM, Jerin Jacob wrote: > >>> On Tue, Mar 21, 2017 at 02:31:41PM +, Ferruh Yigit wrote: > On 3/20

Re: [dpdk-dev] [PATCH v4 1/7] net/ark: PMD for Atomic Rules Arkville driver stub

2017-03-23 Thread Ferruh Yigit
On 3/23/2017 1:03 AM, Ed Czeck wrote: > Enable Arkville on supported configurations > Add overview documentation > Minimum driver support for valid compile > Arkville PMD is not supported on ARM or PowerPC at this time > > v4: > * Address issues report from review > * Add internal comments on driv

Re: [dpdk-dev] [PATCH v2 00/13] introduce fail-safe PMD

2017-03-23 Thread Ferruh Yigit
On 3/8/2017 3:15 PM, Gaetan Rivet wrote: > This PMD intercepts and manages Ethernet device removal events issued by > slave PMDs and re-initializes them transparently when brought back so that > existing applications do not need to be modified to benefit from true > hot-plugging support. > > The s

[dpdk-dev] [PATCH v2 2/3] crypto/scheduler: enable fail-over scheduling mode

2017-03-23 Thread Fan Zhang
This patch enables the fail-over mode in scheduler PMD. Signed-off-by: Fan Zhang --- drivers/crypto/scheduler/Makefile | 1 + drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 7 +++ drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 3 +++ 3 files changed, 11 insertion

[dpdk-dev] [PATCH v2 1/3] crypto/scheduler: add fail-over scheduling mode file

2017-03-23 Thread Fan Zhang
This patch adds the fail-over scheduling mode main source file. Signed-off-by: Fan Zhang --- drivers/crypto/scheduler/scheduler_failover.c | 324 ++ 1 file changed, 324 insertions(+) create mode 100644 drivers/crypto/scheduler/scheduler_failover.c diff --git a/drivers/c

  1   2   3   >