[dpdk-dev] VLAN with ixgbevf pmd

2016-08-19 Thread Dey, Souvik
Hi Lu, I already have the hw_vlan_filter set to 0 to disable it in the port_conf . struct rte_eth_conf port_conf = { .rxmode = { .split_hdr_size = 0, .header_split = 0, /**< Header Split disabled */ .hw_ip_checksum = 0, /**< IP checksum offload

[dpdk-dev] [RFC v2] ethdev: introduce generic flow API

2016-08-19 Thread Adrien Mazarguil
This new API supersedes all the legacy filter types described in rte_eth_ctrl.h. It is slightly higher level and as a result relies more on PMDs to process and validate flow rules. It has the following benefits: - A unified API is easier to program for, applications do not have to be written fo

[dpdk-dev] [RFC v2] Generic flow director/filtering/classification API

2016-08-19 Thread Adrien Mazarguil
Hi All, Thanks to many for the positive and constructive feedback I've received so far. Here is the updated specification (v0.7) at last. I've attempted to address as many comments as possible but could not process them all just yet. A new section "Future evolutions" has been added for the remain

[dpdk-dev] [RFC] Generic flow director/filtering/classification API

2016-08-19 Thread John Daley (johndale)
Hi, this is an old thread, but I'll reply to this instead of the RFC v2 since there is more context here. Thanks for pushing the new api forward Adrien. -john daley > > >>> - Match range of Physical Functions (PFs) on the NIC in a single rule > > >>> via masks. For ex: match all traffic coming

[dpdk-dev] [PATCH] vhost: add pmd xstats

2016-08-19 Thread Zhiyong Yang
This feature adds vhost pmd extended statistics from per queue perspective for the application such as OVS etc. The statistics counters are based on RFC 2819 and 2863 as follows: rx/tx_good_packets rx/tx_total_bytes rx/tx_dropped_pkts rx/tx_broadcast_packets rx/tx_multicast_packets rx/tx_ucast_pa

[dpdk-dev] [dpdk-users] FDir flex filters on XL710/i40e NICs with the new filter API

2016-08-19 Thread Paul Emmerich
Hi, I've an update and work-around for this issue that we encountered in DPDK >= 2.2. (See original email below) Cross-posting to dev since this seems to be a bug in the i40e driver. We are trying to set a filter matching on the following conditions while ignoring all other header fields. 1. P

[dpdk-dev] help

2016-08-19 Thread Wiles, Keith
Regards, Keith > On Aug 19, 2016, at 1:09 PM, Stephen Hemminger networkplumber.org> wrote: > > On Fri, 19 Aug 2016 13:11:48 + > wrote: > >> Hi , >> >> I needs to enable SMP(symmetrical multiprocessing) in DPDK PMD NIC Port . >> >> Please let me know the command to get the same >> >> Th

[dpdk-dev] [PATCH] eal/armv8: high-resolution cycle counter

2016-08-19 Thread Jerin Jacob
On Fri, Aug 19, 2016 at 02:24:58PM +0200, Jan Viktorin wrote: > On Fri, 19 Aug 2016 17:16:12 +0530 > Jerin Jacob wrote: > > > I've got a private kernel driver enabling and disabling (hopefully) properly > this for ARMv7. If we'd like to merge it, I'd like to have a single module > or at least si

[dpdk-dev] [PATCH] eal/armv8: high-resolution cycle counter

2016-08-19 Thread Jerin Jacob
On Fri, Aug 19, 2016 at 09:43:36AM +, Nipun Gupta wrote: > Hi Jerin, > Hi Nipun, > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > > Sent: Thursday, August 18, 2016 17:22 > > To: dev at dpdk.org > > Cc: thomas.monjalon at 6wind.com; jian

[dpdk-dev] Patchwork Link is Broken

2016-08-19 Thread Thomas Monjalon
2016-08-19 09:47, Jon Loeliger: > Hey folks, > > Over on this page: > > http://dpdk.org/doc/guides/contributing/patches.html > > in section 5.1, paragraph 3 has a link to Patchwork that is broken. > That or perhaps someone was indicating an opinion: > > http://dpdk.org/dev/patchwxispork/pro

[dpdk-dev] [PATCH] eal/armv8: high-resolution cycle counter

2016-08-19 Thread Jan Viktorin
On Fri, 19 Aug 2016 17:16:12 +0530 Jerin Jacob wrote: > On Fri, Aug 19, 2016 at 09:43:36AM +, Nipun Gupta wrote: > > Hi Jerin, > > > > Hi Nipun, > > > > -Original Message- > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > > > Sent: Thursday, August 18, 2

[dpdk-dev] help

2016-08-19 Thread jayachandran.subraman...@wipro.com
Hi , I needs to enable SMP(symmetrical multiprocessing) in DPDK PMD NIC Port . Please let me know the command to get the same Thanks jayachandran The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and m

[dpdk-dev] [PATCH] net/i40e: fix parsing QinQ packets type issue

2016-08-19 Thread Beilei Xing
Previously, PTYPE filed in the RX descriptors is not set properly for QinQ packets, wrong PTYPE is generated because outer Tag did not have ORT/PIT configured. Fix this issue by configuring ORT/PIT. Fixes: 4861cde46116 ("i40e: new poll mode driver") Signed-off-by: Beilei Xing --- drivers/net/i4

[dpdk-dev] help

2016-08-19 Thread Stephen Hemminger
On Fri, 19 Aug 2016 13:11:48 + wrote: > Hi , > > I needs to enable SMP(symmetrical multiprocessing) in DPDK PMD NIC Port . > > Please let me know the command to get the same > > Thanks > jayachandran > The information contained in this electronic message and any attachments to > this mess

[dpdk-dev] [PATCH v2 1/6] vhost: rewrite enqueue

2016-08-19 Thread Yuanhan Liu
On Thu, Aug 18, 2016 at 02:33:06AM -0400, Zhihong Wang wrote: > This patch implements the vhost logic from scratch into a single function > designed for high performance and better maintainability. > > Signed-off-by: Zhihong Wang > --- > lib/librte_vhost/vhost_rxtx.c | 212 > +++

[dpdk-dev] [PATCH v2 2/6] vhost: remove obsolete

2016-08-19 Thread Yuanhan Liu
On Thu, Aug 18, 2016 at 02:33:07AM -0400, Zhihong Wang wrote: > This patch removes obsolete functions. Splitting patches doesn't work in this way: this should be in the first patch. Otherwise, build breaks in the first patch, as some functions are defined but not used. --yliu

[dpdk-dev] Patchwork Link is Broken

2016-08-19 Thread Jon Loeliger
Hey folks, Over on this page: http://dpdk.org/doc/guides/contributing/patches.html in section 5.1, paragraph 3 has a link to Patchwork that is broken. That or perhaps someone was indicating an opinion: http://dpdk.org/dev/patchwxispork/project/dpdk/list/ I'd fix it, but I've not mastered t

[dpdk-dev] [PATCH] eal/armv8: high-resolution cycle counter

2016-08-19 Thread Nipun Gupta
Hi Jerin, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > Sent: Thursday, August 18, 2016 17:22 > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; jianbo.liu at linaro.org; > viktorin at rehivetech.com; Jerin Jacob > Subject: [dpdk-dev]

[dpdk-dev] [PATCH v3 2/4] virtio: move SSE based Rx implementation to separate file

2016-08-19 Thread Jerin Jacob
On Thu, Aug 18, 2016 at 02:52:31PM +0800, Yuanhan Liu wrote: > On Tue, Jul 05, 2016 at 06:19:24PM +0530, Jerin Jacob wrote: > > Split out SSE instruction based virtio simple Rx > > implementation to a separate file > > > > Signed-off-by: Jerin Jacob > > Hi, > > I was about to apply this set. I

[dpdk-dev] [PATCH v2 2/6] vhost: remove obsolete

2016-08-19 Thread Wang, Zhihong
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Friday, August 19, 2016 10:33 AM > To: Wang, Zhihong > Cc: dev at dpdk.org; maxime.coquelin at redhat.com > Subject: Re: [PATCH v2 2/6] vhost: remove obsolete > > On Thu, Aug 18, 2016 at 02:33:07AM

[dpdk-dev] [PATCH v2 1/6] vhost: rewrite enqueue

2016-08-19 Thread Wang, Zhihong
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Friday, August 19, 2016 10:39 AM > To: Wang, Zhihong > Cc: dev at dpdk.org; maxime.coquelin at redhat.com > Subject: Re: [PATCH v2 1/6] vhost: rewrite enqueue > > On Thu, Aug 18, 2016 at 02:33:06AM

[dpdk-dev] [PATCH] mk:fix second compile error

2016-08-19 Thread Xu, HuilongX
Hi Brue, Thanks a lot for your comments. I will send V2 patch. > -Original Message- > From: Richardson, Bruce > Sent: Tuesday, August 09, 2016 4:27 PM > To: Xu, HuilongX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk:fix second compile error > > On Tue, Aug 09, 2016 at 02:01:

[dpdk-dev] [PATCH v3 5/5] vhost: optimize cache access

2016-08-19 Thread Zhihong Wang
This patch reorders the code to delay virtio header write to optimize cache access efficiency for cases where the mrg_rxbuf feature is turned on. It reduces CPU pipeline stall cycles significantly. --- Changes in v3: 1. Remove unnecessary memset which causes frontend stall on SNB & IVB. 2. Ren

[dpdk-dev] [PATCH v3 4/5] vhost: batch update used ring

2016-08-19 Thread Zhihong Wang
This patch enables batch update of the used ring for better efficiency. Signed-off-by: Zhihong Wang --- lib/librte_vhost/vhost-net.h | 4 +++ lib/librte_vhost/vhost_rxtx.c | 68 +-- lib/librte_vhost/virtio-net.c | 15 -- 3 files changed, 68 inser

[dpdk-dev] [PATCH v3 3/5] vhost: add desc prefetch

2016-08-19 Thread Zhihong Wang
This patch adds descriptor prefetch to hide cache access latency. Signed-off-by: Zhihong Wang --- lib/librte_vhost/vhost_rxtx.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index b09a9c3..7523b2d 100644 --- a/lib/librte_vh

[dpdk-dev] [PATCH v3 2/5] vhost: remove useless volatile

2016-08-19 Thread Zhihong Wang
This patch removes useless volatile attribute to allow compiler optimization. Signed-off-by: Zhihong Wang --- lib/librte_vhost/vhost-net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost-net.h b/lib/librte_vhost/vhost-net.h index 38593a2..51fdf3d 100644

[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-19 Thread Zhihong Wang
This patch implements the vhost logic from scratch into a single function designed for high performance and better maintainability. --- Changes in v3: 1. Rewrite enqueue and delete the obsolete in the same patch. Signed-off-by: Zhihong Wang --- lib/librte_vhost/vhost_rxtx.c | 537

[dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue

2016-08-19 Thread Zhihong Wang
This patch set optimizes the vhost enqueue function. It implements the vhost logic from scratch into a single function designed for high performance and good maintainability, and improves CPU efficiency significantly by optimizing cache access, which means: * For fast frontends (eg. DPDK virtio

[dpdk-dev] VLAN with ixgbevf pmd

2016-08-19 Thread Lu, Wenzhuo
Hi Souvik, Take testpmd for example, normally we should disable HW vlan filter by adding parameter " --disable-hw-vlan-filter " or CLI " port config all hw-vlan-filter off". Hope it can help :) Best regards Wenzhuo Lu > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] O