Re: [dpdk-dev] [PATCH 0/8] app/eventdev: add event eth Rx adapter support

2017-12-10 Thread Pavan Nikhilesh Bhagavatula
Hi Jerin, Thanks for the review, will make the chages required and will send out a v2. Pavan. On Sun, Dec 10, 2017 at 01:58:08PM +0530, Jerin Jacob wrote: > -Original Message- > > Date: Wed, 18 Oct 2017 18:09:00 +0530 > > From: Pavan Nikhilesh > > To: bruce.richard...@intel.com, harry.va

[dpdk-dev] [PATCH] examples: remove unnecessary function calls

2017-12-10 Thread Prashant Bhole
Removed rte_eth_dev_info_get() calls and declaration of struct rte_eth_dev_info where info is not used anymore Signed-off-by: Prashant Bhole --- examples/l2fwd-jobstats/main.c | 3 --- examples/l2fwd-keepalive/main.c | 3 --- examples/l2fwd/main.c| 3 --- e

Re: [dpdk-dev] [PATCH 02/16] net/axgbe: add register map and related macros

2017-12-10 Thread Jianbo Liu
The 11/30/2017 08:10, Ravi Kumar wrote: > Signed-off-by: Ravi Kumar > --- > drivers/net/axgbe/axgbe_common.h | 1645 > +- > 1 file changed, 1644 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/axgbe/axgbe_common.h > b/drivers/net/axgbe/axgbe_common.

Re: [dpdk-dev] [PATCH v3 1/2] lib/security: add support for get metadata

2017-12-10 Thread Anoob
Hi Akhil, Can you confirm if you are fine with the approach explained inline. Thanks, Anoob On 12/06/2017 03:13 PM, Radu Nicolau wrote: Hi, On 12/6/2017 7:30 AM, Anoob wrote: Hi Akhil, Radu, Please see inline. Thanks, Anoob On 11/24/2017 05:33 PM, Akhil Goyal wrote: On 11/24/2017 5:29

Re: [dpdk-dev] About pmu cycle counter usage in armv8

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Mon, 11 Dec 2017 14:23:54 +0800 > From: Jia He > To: Jerin Jacob > Cc: "dev@dpdk.org" > Subject: Re: About pmu cycle counter usage in armv8 > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.5.0 > > Hi Jerin Hi Jia. >

Re: [dpdk-dev] About pmu cycle counter usage in armv8

2017-12-10 Thread Jia He
Hi Jerin Ok And I wonder why you haven't met such problem (all rd_tsc() is 0)in your test platform? Did you use an old kernel (older than v4.5-rc1)? root@aw-host:~/linux# git describe da4e4f18afe0 v4.5-rc1-8-gda4e4f1 Maybe you need to give a warning that, the usage of High-resolution cycle

Re: [dpdk-dev] [PATCH] net/i40e: do not turn on flexible payload on driver init

2017-12-10 Thread Xing, Beilei
> -Original Message- > From: Rybalchenko, Kirill > Sent: Friday, December 1, 2017 11:27 PM > To: dev@dpdk.org > Cc: Rybalchenko, Kirill ; Chilikin, Andrey > ; Xing, Beilei ; Wu, > Jingjing > Subject: [PATCH] net/i40e: do not turn on flexible payload on driver init > > Function i40e_GLQF_r

Re: [dpdk-dev] About pmu cycle counter usage in armv8

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Mon, 11 Dec 2017 13:38:25 +0800 > From: Jia He > To: Jerin Jacob , "dev@dpdk.org" > > Subject: About pmu cycle counter usage in armv8 > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.5.0 > > Hi Jerin > > In [1], I me

[dpdk-dev] About pmu cycle counter usage in armv8

2017-12-10 Thread Jia He
Hi Jerin In [1], I met a pmu cycle counter problem (all return value is 0) occasionally. And then I submited a patch to kernel maillist, but was rejected by maintainer at last [2]. He said: "We only intend for the in-kernel perf infrastructure to access pmccntr_el0; nothing else should to

Re: [dpdk-dev] [PATCH] net: update licence for network headers

2017-12-10 Thread Hemant Agrawal
On 12/8/2017 11:52 PM, Andrew Rybchenko wrote: On 12/08/2017 08:29 PM, Ferruh Yigit wrote: On 12/8/2017 2:28 AM, Olivier Matz wrote: To be compliant with the DPDK licensing guidelines, switch to BSD-3-Clause. It can be done safely since the BSD headers from which these files derive also exist a

[dpdk-dev] [PATCH v2 4/4] net/virtio: remove redundant macro definitions for vector Rx

2017-12-10 Thread Tiwei Bie
RTE_VIRTIO_VPMD_RX_BURST and RTE_VIRTIO_VPMD_RX_REARM_THRESH have been defined and used in virtio_rxtx_simple.h, but are defined again in virtio_rxtx_simple_*.c. It just happens to work. So remove the redundant definitions from the *.c files. Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin

[dpdk-dev] [PATCH v2 3/4] net/virtio: remove a redundant macro definition for ctrl vq

2017-12-10 Thread Tiwei Bie
VIRTIO_NET_CTRL_MAC_ADDR_SET is defined two times in virtqueue.h, the second one is obviously not wanted. Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- drivers/net/virtio/virtqueue.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/vi

[dpdk-dev] [PATCH v2 2/4] net/virtio: fix typo in LRO support

2017-12-10 Thread Tiwei Bie
Fixes: 86d59b21468a ("net/virtio: support LRO") Fixes: ec9f3d122a58 ("net/virtio: revert not claiming LRO support") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- drivers/net/virtio/virtio_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v2 1/4] net/virtio: fix vector Rx break caused by rxq flushing

2017-12-10 Thread Tiwei Bie
The vector Rx will be broken if backend has consumed all the descs in the avail ring before the device is started. Because in current implementation, vector Rx will return immediately without refilling the avail ring if the used ring is empty. So we have to refill the avail ring after flushing the

[dpdk-dev] [PATCH v2 0/4] various fixes and cleanups for virtio PMD

2017-12-10 Thread Tiwei Bie
v2: - refine indent for patch 2 - fix a typo in commit log for patch 4 - drop the blank lines squeezing patch Tiwei Bie (4): net/virtio: fix vector Rx break caused by rxq flushing net/virtio: fix typo in LRO support net/virtio: remove a redundant macro definition for ctrl vq net/virtio: re

Re: [dpdk-dev] [PATCH] net/i40e: i40e support mac loopback

2017-12-10 Thread Peng, Yuan
Tested-by: Peng,Yuan - Tested Branch: dpdk master dpdk-17.11-rc1 - Tested Commit: 87607f45bdecc31c33e9b7666b918dc685a10093 - OS: 4.4.0-62-generic - GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 - CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz - NIC: Intel Corporation Ethernet Controller

Re: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues per VF during run time

2017-12-10 Thread Peng, Yuan
Tested-by: Peng,Yuan - Tested Branch: dpdk master - Tested Commit: 224374cc0e3ca44af5141fb7035a97f338d00c18 - OS: 4.5.5-300.fc24.x86_64 - GCC: gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2) - CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz - NIC: X710 for 10GbE SFP+ [8086:1572] - Default x86_64-native-

Re: [dpdk-dev] [RFC v1 00/11] scapy/python extension

2017-12-10 Thread Wiles, Keith
> On Dec 5, 2017, at 12:04 AM, Xueming Li wrote: > > quick guide document: > https://github.com/steevenlee/dpdk/blob/master_scapy/doc/guides/howto/scapy.rst > github branch: > https://github.com/steevenlee/dpdk/tree/master_scapy > > > Xueming Li (11): > lib/cmdline: support backspace key >

Re: [dpdk-dev] [PATCH 3/4] app/eventdev: add perf pipeline test

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Thu, 30 Nov 2017 12:54:05 +0530 > From: Pavan Nikhilesh > To: jerin.jacobkollanukka...@cavium.com, gage.e...@intel.com, > harry.van.haa...@intel.com, bruce.richard...@intel.com, > hemant.agra...@nxp.com, nipun.gu...@nxp.com, nikhil@intel.com > Cc: dev@dpdk.

Re: [dpdk-dev] [PATCH 2/4] app/eventdev: add packet distribution logs

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Thu, 30 Nov 2017 12:54:04 +0530 > From: Pavan Nikhilesh > To: jerin.jacobkollanukka...@cavium.com, gage.e...@intel.com, > harry.van.haa...@intel.com, bruce.richard...@intel.com, > hemant.agra...@nxp.com, nipun.gu...@nxp.com, nikhil@intel.com > Cc: dev@dpdk.

Re: [dpdk-dev] [PATCH 8/8] doc: update app eventdev options

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:08 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] [PATCH 6/8] app/eventdev: add event Rx adapter setup

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:06 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] [PATCH 5/8] app/eventdev: add ethernet device tear down

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:05 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] [PATCH 4/8] app/eventdev: add ethernet device setup helpers

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:04 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] [PATCH 3/8] app/eventdev: add pktmbuf pool for ethdev

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:03 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] [PATCH 2/8] app/eventdev: modify app setup to support ethdev

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:02 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] Guidelines for moving PMDs to new ethdev offloads API

2017-12-10 Thread Thomas Monjalon
Hi, Re-sending Shahaf's email to maintainers (and without Outlook formatting) Please, maintainers of networking PMD, *start the transition work as soon as possible*. We will ping you individually if no progress is seen. Thank you --- In 17.11 the ethdev offloads API has changed: commit c

Re: [dpdk-dev] [PATCH v3 0/8] improve mlx4 Tx performance

2017-12-10 Thread Shahaf Shuler
Thursday, December 7, 2017 12:57 PM, Adrien Mazarguil: > > > > V2: > > Add missed function descriptions. > > Accurate descriptions. > > Change Tx descriptor alignment to be like Rx. > > Move mlx4_fill_tx_data_seg to mlx4_rxtx.c and use rte_be32_t for byte > count. > > Change remain_size type to uin

Re: [dpdk-dev] [PATCH v4] mbuf: fix mbuf free performance with non atomic refcnt

2017-12-10 Thread Hanoch Haim (hhaim)
Oliver, Looks great. Thanks, Hanoh -Original Message- From: Olivier Matz [mailto:olivier.m...@6wind.com] Sent: Friday, December 08, 2017 5:47 PM To: dev@dpdk.org; Hanoch Haim (hhaim) Cc: matvejchi...@gmail.com; konstantin.anan...@intel.com Subject: [PATCH v4] mbuf: fix mbuf free perfor

Re: [dpdk-dev] [PATCH 1/8] app/eventdev: add ethernet device producer option

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:01 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c

Re: [dpdk-dev] [PATCH 0/8] app/eventdev: add event eth Rx adapter support

2017-12-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 18 Oct 2017 18:09:00 +0530 > From: Pavan Nikhilesh > To: bruce.richard...@intel.com, harry.van.haa...@intel.com, > gage.e...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com, > nikhil@intel.com, santosh.shu...@caviumnetworks.com, > jerin.ja...@c