Re: [dpdk-dev] [RFC] eventdev: add event adapter for ethernet Rx queues

2017-06-19 Thread Jerin Jacob
-Original Message- > Date: Wed, 24 May 2017 10:00:22 +0530 > From: "Rao, Nikhil" > To: Jerin Jacob , Gage Eads > > CC: dev@dpdk.org, tho...@monjalon.net, bruce.richard...@intel.com, > harry.van.haa...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > narender.vang...@intel.com,

[dpdk-dev] [PATCH] doc: fix typos in virtio howto guide

2017-06-19 Thread Yong Wang
Signed-off-by: Yong Wang --- doc/guides/howto/virtio_user_as_exceptional_path.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/howto/virtio_user_as_exceptional_path.rst b/doc/guides/howto/virtio_user_as_exceptional_path.rst index 0bbcd3f..3f99fe8 100644 ---

Re: [dpdk-dev] [PATCH 01/38] eal: add support for 24 40 and 48 bit operations

2017-06-19 Thread Shreyansh Jain
Hello Adrien, On Friday 16 June 2017 04:04 PM, Adrien Mazarguil wrote: Hi Shreyansh, On Fri, Jun 16, 2017 at 09:21:35AM +, Shreyansh Jain wrote: Hi Bruce, -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: Friday, June 16, 2017 2:27 PM To: Shreyan

Re: [dpdk-dev] [PATCH] eal: add Bus log type

2017-06-19 Thread Shreyansh Jain
Hello Thomas, On Wednesday 24 May 2017 11:08 AM, Shreyansh Jain wrote: Signed-off-by: Shreyansh Jain --- This was missed while adding the rte_bus code. (But, this is not a fix) Also, I couldn't find any maintainer listed for common/include/* code in MAINTAINERS, so, sending 'to' dev@ list

Re: [dpdk-dev] [PATCH v5 0/2] Balanced allocation of hugepages

2017-06-19 Thread Hemant Agrawal
On 6/14/2017 11:41 AM, Ilya Maximets wrote: On 08.06.2017 18:44, Sergio Gonzalez Monroy wrote: On 08/06/2017 13:14, Bruce Richardson wrote: On Thu, Jun 08, 2017 at 02:21:58PM +0300, Ilya Maximets wrote: Hi everyone, I just want to clarify current status of these patches. As I understand, movi

Re: [dpdk-dev] [PATCH] lpm: fix index of tbl8

2017-06-19 Thread Bruce Richardson
On Mon, Jun 19, 2017 at 12:14:38PM +0800, Wei Dai wrote: > From v20 to v1604, number of tlb8 can be up to 1<<24, > (uint8_t) or (uint16_t) may truncate the number of > index of tlb8 in v1604 and cause wrong number. > > Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") > Cc: sta...@dpdk.org >

Re: [dpdk-dev] [PATCH 0/2] Allow application set mempool handle

2017-06-19 Thread Hemant Agrawal
On 6/1/2017 1:35 PM, Santosh Shukla wrote: Some platform can have two different NICs for example external PCI Intel 40G card and Integrated NIC like vNIC/octeontx/dpaa2. Both NICs like to use their preferred pool e.g. external PCI card/ vNIC's preferred pool would be the ring based pool and octe

Re: [dpdk-dev] [PATCH 0/2] Allow application set mempool handle

2017-06-19 Thread Jerin Jacob
-Original Message- > Date: Mon, 19 Jun 2017 17:22:46 +0530 > From: Hemant Agrawal > To: Santosh Shukla , > olivier.m...@6wind.com, dev@dpdk.org > CC: jerin.ja...@caviumnetworks.com > Subject: Re: [PATCH 0/2] Allow application set mempool handle > User-Agent: Mozilla/5.0 (Windows NT 6.1; W

[dpdk-dev] next techboard meeting

2017-06-19 Thread Thomas Monjalon
The next meeting of the techboard will happen on IRC #dpdk-board, at 3pm UTC, this Wednesday 21th of June. The agenda is updated here: https://annuel.framapad.org/p/r.0c3cc4d1e011214183872a98f6b5c7db

Re: [dpdk-dev] [PATCH] maintainers: claim responsability for xen

2017-06-19 Thread Thomas Monjalon
Thanks Jianfeng for giving new ideas. There is not much activity on Xen side. Is there someone working on DPDK+Xen? Any news? The technical board requested to re-consider Xen support in DPDK. It will be discussed in the next techboard meeting: https://annuel.framapad.org/p/r.0c3cc4d1e0112

Re: [dpdk-dev] [RFC] proposal of allowing personal/project repos on DPDK.org

2017-06-19 Thread Thomas Monjalon
Hi, 01/06/2017 07:07, Tiwei Bie: > We'd like to make a proposal of making DPDK.org allow hosting > some personal/project repos, which could be very useful when > someone wants to try some experimental projects in DPDK. It has been discussed during the last technical board meeting. The board was n

[dpdk-dev] [PATCH] doc: Minor typo in documentation

2017-06-19 Thread McCullough, Harrison
Signed-off-by: Harrison McCullough --- doc/guides/linux_gsg/enable_func.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst index 04e066c..15f53b1 100644 --- a/doc/guides/linux_gsg/enable_func.rst

Re: [dpdk-dev] [PATCH 01/38] eal: add support for 24 40 and 48 bit operations

2017-06-19 Thread Wiles, Keith
> On Jun 19, 2017, at 6:00 AM, Shreyansh Jain wrote: > > Hello Adrien, > > On Friday 16 June 2017 04:04 PM, Adrien Mazarguil wrote: >> Hi Shreyansh, >> On Fri, Jun 16, 2017 at 09:21:35AM +, Shreyansh Jain wrote: >>> Hi Bruce, >>> -Original Message- From: Bruce Richardson

Re: [dpdk-dev] [PATCH v5 1/3] lib: add Generic Receive Offload API framework

2017-06-19 Thread Tan, Jianfeng
On 6/18/2017 3:21 PM, Jiayu Hu wrote: Generic Receive Offload (GRO) is a widely used SW-based offloading technique to reduce per-packet processing overhead. It gains performance by reassembling small packets into large ones. This patchset is to support GRO in DPDK. To support GRO, this patch im

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

2017-06-19 Thread Tan, Jianfeng
On 6/18/2017 3:21 PM, Jiayu Hu wrote: In this patch, we introduce six APIs to support TCP/IPv4 GRO. Those functions are not used outside of this library. Don't make it as extern visible. - gro_tcp_tbl_create: create a TCP reassembly table, which is used to merge packets. Will tcp6

Re: [dpdk-dev] [PATCH v5 1/3] lib: add Generic Receive Offload API framework

2017-06-19 Thread Stephen Hemminger
On Sun, 18 Jun 2017 15:21:07 +0800 Jiayu Hu wrote: > +/** > + * This is the main reassembly API used in lightweight mode, which > + * merges numbers of packets at a time. After it returns, applications > + * can get GROed packets immediately. Applications don't need to > + * flush packets manuall

[dpdk-dev] [PATCH] ether: add support for vtune task tracing

2017-06-19 Thread ilia . kurakin
From: Ilia Kurakin The patch adds tracing of loop iterations that yielded no packets in a DPDK application. It is using ITT task API: https://software.intel.com/en-us/node/544206 We suppose the flow of using this tracing would assume the user has ITT lib and header on his machine and re-buil

Re: [dpdk-dev] [git pull] virtio changes for 17.08-rc1

2017-06-19 Thread Thomas Monjalon
16/06/2017 14:16, Yuanhan Liu: > Please consider pulling following virtio changes for 17.08-rc1 at > git://dpdk.org/next/dpdk-next-virtiomaster Pulled, thanks

Re: [dpdk-dev] [PATCH v2] test/test_mbuf: remove mempool global var

2017-06-19 Thread Thomas Monjalon
08/06/2017 16:28, Santosh Shukla: > Let test_mbuf alloc and free mempool. > > Cc: sta...@dpdk.org > Signed-off-by: Santosh Shukla Why Cc stable? Is it fixing something?

Re: [dpdk-dev] [PATCH] eal: add Bus log type

2017-06-19 Thread Thomas Monjalon
19/06/2017 13:03, Shreyansh Jain: > > --- a/lib/librte_eal/common/include/rte_log.h > > +++ b/lib/librte_eal/common/include/rte_log.h > > @@ -87,6 +87,7 @@ extern struct rte_logs rte_logs; > > #define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */ > > #define RTE_LOGTYPE_EFD 1

Re: [dpdk-dev] [PATCH] vfio: allow to map other memory regions

2017-06-19 Thread Thomas Monjalon
Hi, Some comments below 24/05/2017 13:17, Pawel Wodkowski: > Currently it is not possible to use memory that is not owned by DPDK to > perform DMA. This scenarion might be used in vhost applications (like > SPDK) where guest send its own memory table. To fill this gap provide > API to allow regist

Re: [dpdk-dev] [PATCH v3] app/testpmd: add parameter to start forwarding TX first

2017-06-19 Thread Thomas Monjalon
15/06/2017 14:05, De Lara Guarch, Pablo: > > Add parameter to start forwarding sending first > > a burst of packets, which is useful when testing > > a loopback connection. > > > > This was already implemented as an internal command, > > but adding it as a parameter is interesting, as it > > allow

Re: [dpdk-dev] [PATCH v3] app/testpmd: print statistics periodically

2017-06-19 Thread Thomas Monjalon
15/06/2017 03:48, Pablo de Lara: > +print_stats(void) > +{ > + uint8_t i; > + const char clr[] = { 27, '[', '2', 'J', '\0' }; > + const char topLeft[] = { 27, '[', '1', ';', '1', 'H', '\0' }; Spotted a CamelCase ;) Is there a punishment planned in the contributor's guide? > +

Re: [dpdk-dev] [PATCH] lpm: fix index of tbl8

2017-06-19 Thread Thomas Monjalon
19/06/2017 13:25, Bruce Richardson: > On Mon, Jun 19, 2017 at 12:14:38PM +0800, Wei Dai wrote: > > From v20 to v1604, number of tlb8 can be up to 1<<24, > > (uint8_t) or (uint16_t) may truncate the number of > > index of tlb8 in v1604 and cause wrong number. > > > > Fixes: dc81ebbacaeb ("lpm: exte

Re: [dpdk-dev] [PATCH] app/testpmd: always build VF and MACsec functions

2017-06-19 Thread Wu, Jingjing
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, June 15, 2017 7:02 PM > To: Wu, Jingjing > Cc: Lu, Wenzhuo ; dev@dpdk.org > Subject: [PATCH] app/testpmd: always build VF and MACsec functions > > These functions are supported only on ixgbe. > H

Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-19 Thread Wu, Jingjing
> +/* > * Avoids to check link status when starting/stopping a port. > */ > uint8_t no_link_check = 0; /* check by default */ > @@ -1422,6 +1427,15 @@ static void eth_event_callback(uint8_t port_id, > if (port->need_reconfig > 0) { > port->need_reconfig = 0

Re: [dpdk-dev] [PATCH v5 1/3] lib: add Generic Receive Offload API framework

2017-06-19 Thread Jiayu Hu
On Mon, Jun 19, 2017 at 08:55:00AM -0700, Stephen Hemminger wrote: > On Sun, 18 Jun 2017 15:21:07 +0800 > Jiayu Hu wrote: > > > +/** > > + * This is the main reassembly API used in lightweight mode, which > > + * merges numbers of packets at a time. After it returns, applications > > + * can get

Re: [dpdk-dev] [PATCH 3/3] app/testpmd: changed example to parse options from cfg file

2017-06-19 Thread Wu, Jingjing
> + > +#ifdef RTE_LIBRTE_CFGFILE > +/* Load config file path from command line */ static char * > +cfgfile_load_path(int argc, char **argv) { > + int i; > + > + for (i = 0; i < argc; i++) { > + if (!strcmp("--cfgfile-path", argv[i])) { > + if (i < argc) > +

Re: [dpdk-dev] [PATCH 2/2] app/testpmd: add support for different aggregation mode in IEEE802.3ad bonding

2017-06-19 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Friday, May 26, 2017 10:35 PM > To: Doherty, Declan > Cc: dev@dpdk.org; Mrzyglod, DanielX T > Subject: [dpdk-dev] [PATCH 2/2] app/testpmd: add support for different > aggregation mode in

Re: [dpdk-dev] [PATCH] net/i40e: fix param check to avoid division by 0

2017-06-19 Thread Wu, Jingjing
> -Original Message- > From: Yong Wang [mailto:wang.yon...@zte.com.cn] > Sent: Monday, June 12, 2017 5:07 PM > To: Zhang, Helin ; Wu, Jingjing > Cc: dev@dpdk.org; Yong Wang > Subject: [PATCH] net/i40e: fix param check to avoid division by 0 > > In function i40e_vsi_config_tc_queue_mapp

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

2017-06-19 Thread Jiayu Hu
Hi Jianfeng, On Mon, Jun 19, 2017 at 11:43:20PM +0800, Tan, Jianfeng wrote: > > > On 6/18/2017 3:21 PM, Jiayu Hu wrote: > > In this patch, we introduce six APIs to support TCP/IPv4 GRO. > > Those functions are not used outside of this library. Don't make it as > extern visible. But they are ca

[dpdk-dev] [PATCH v3] test: add delay time in test alarm

2017-06-19 Thread Qiming Yang
Because accuracy of timing to the microsecond is not guaranteed in rte_eal_alarm_set, this function will not be called before the requested time, but may be called a period of time afterwards which can not be calculated. In order to ensure test alarm running success, this patch added the delay time

Re: [dpdk-dev] [PATCH v2] test/test_mbuf: remove mempool global var

2017-06-19 Thread santosh
On Tuesday 20 June 2017 02:07 AM, Thomas Monjalon wrote: > 08/06/2017 16:28, Santosh Shukla: >> Let test_mbuf alloc and free mempool. >> >> Cc: sta...@dpdk.org >> Signed-off-by: Santosh Shukla > Why Cc stable? > Is it fixing something? > w/o this fix, application can't run more than once. Reason:

[dpdk-dev] [PATCH] net/mlx5: fix TSO segment size

2017-06-19 Thread Shahaf Shuler
In case on multi segment packet, the TSO segment size was taken from the last segment. This may lead to incorrect values in case not all segments are initialized with the field. Fixing it by taking the value from the first segment. Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO") Cc: sta...

Re: [dpdk-dev] [RFC] proposal of allowing personal/project repos on DPDK.org

2017-06-19 Thread Tiwei Bie
On Mon, Jun 19, 2017 at 03:29:29PM +0200, Thomas Monjalon wrote: > Hi, > > 01/06/2017 07:07, Tiwei Bie: > > We'd like to make a proposal of making DPDK.org allow hosting > > some personal/project repos, which could be very useful when > > someone wants to try some experimental projects in DPDK. >

Re: [dpdk-dev] [PATCH] app/testpmd: always build VF and MACsec functions

2017-06-19 Thread Tiwei Bie
On Thu, Jun 15, 2017 at 01:02:21PM +0200, Thomas Monjalon wrote: > These functions are supported only on ixgbe. [...] > @@ -3013,15 +3013,21 @@ set_vf_traffic(portid_t port_id, uint8_t is_rx, > uint16_t vf, uint8_t on) > > if (diag == 0) > return; > - if(is_rx) > + if