[dpdk-dev] [PATCH v3 1/2] net/i40e: optimize vxlan parsing function

2017-06-06 Thread Beilei Xing
The current vxlan parsing function is not easy to read when parsing filter type, this patch optimizes the function and makes it more readable. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_flow.c | 196 ++- 1 file changed, 63 insertions(+), 133 dele

[dpdk-dev] [PATCH v3 0/2] net/i40e: extend tunnel filter support

2017-06-06 Thread Beilei Xing
This patchset extends tunnel filter support with vxlan parsing function optimization and NVGRE parsing function. v2 changes: - Add vxlan parsing function optimization. - Optmize NVGRE parsing function. v3 changes: - Polish commit log. - Delete redundant if statements. Beilei Xing (2): net

[dpdk-dev] [PATCH v3 2/2] net/i40e: add NVGRE parsing function

2017-06-06 Thread Beilei Xing
This patch adds NVGRE parsing function to support NVGRE classification. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_flow.c | 267 ++- 1 file changed, 265 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i

Re: [dpdk-dev] [PATCH v2 01/11] bus: add bus iterator to find a particular bus

2017-06-06 Thread Shreyansh Jain
Hello Gaetan, On Wednesday 31 May 2017 06:47 PM, Gaetan Rivet wrote: From: Jan Blunck Signed-off-by: Jan Blunck Signed-off-by: Gaetan Rivet --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_bus.c | 13 ++ lib/librte_eal/common/i

[dpdk-dev] [PATCH 0/2] fix vhost enqueue offload

2017-06-06 Thread Jianfeng Tan
Patch 1: fix TCP csum not set. Patch 2: fix IP csum not calculated. This series is to make sure TCP packets (phy NIC -> vhost -> virtio NIC) can be correctly received by VM, with phy NIC LRO enabled or software GRO enabled. The example setup is: ixgbe (LRO enabled) <-> vhost <-> virtio, ixgbe a

[dpdk-dev] [PATCH 2/2] vhost: fix IP csum not calculated

2017-06-06 Thread Jianfeng Tan
There is no way to bypass IP checksum verification in Linux kernel, no matter skb->ip_summed is assigned as CHECKSUM_UNNECESSARY or CHECKSUM_PARTIAL. So any packets with bad IP checksum will be dropped at VM IP layer. To correct, we check this flag PKT_TX_IP_CKSUM to calculate IP csum. Fixes: 85

[dpdk-dev] [PATCH 1/2] vhost: fix TCP csum not set

2017-06-06 Thread Jianfeng Tan
As PKT_TX_TCP_SEG flag in mbuf->ol_flags implies PKT_TX_TCP_CKSUM, applications, e.g., testpmd, don't set PKT_TX_TCP_CKSUM when TSO is set. This leads to that packets get dropped in VM tcp stack layer because of bad TCP csum. To fix this, we make sure TCP NEEDS_CSUM info is set into virtio net he

Re: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing function

2017-06-06 Thread Xing, Beilei
> -Original Message- > From: Lu, Wenzhuo > Sent: Wednesday, June 7, 2017 2:12 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing > function > > > -Original Message- > > From: Xing, Beilei > > Sent: Wednesday

Re: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing function

2017-06-06 Thread Lu, Wenzhuo
> -Original Message- > From: Xing, Beilei > Sent: Wednesday, June 7, 2017 2:07 PM > To: Lu, Wenzhuo; Wu, Jingjing > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing function > > > > > -Original Message- > > From: Lu, Wenzhuo > > Sent: Wednesda

Re: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing function

2017-06-06 Thread Xing, Beilei
> -Original Message- > From: Lu, Wenzhuo > Sent: Wednesday, June 7, 2017 1:46 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing > function > > Hi Beilei, > > > -Original Message- > > From: dev [mailto:de

Re: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing function

2017-06-06 Thread Lu, Wenzhuo
Hi Beilei, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Thursday, June 1, 2017 2:57 PM > To: Wu, Jingjing > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/2] net/i40e: add NVGRE parsing function > > This patch adds NVGRE parsing funct

[dpdk-dev] [PATCH] dpdk: remove typos using codespell utility

2017-06-06 Thread Jerin Jacob
Fixing typos across dpdk source code using codespell utility. Skipped the ethdev driver's base code fixes to keep the base code intact. Signed-off-by: Jerin Jacob --- - This is not completely an automatic process. The tool can do 90% of the job but need to crosscheck the changes manually. - The p

Re: [dpdk-dev] [PATCH v2] ethdev: remove driver name from device private data

2017-06-06 Thread Shreyansh Jain
On Tuesday 06 June 2017 08:40 PM, Ferruh Yigit wrote: rte_driver->name has the driver name and all physical and virtual devices has access to it. Previously it was not possible for virtual ethernet devices to access rte_driver->name field (because eth_dev used to keep only pci_dev), and it was r

Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function

2017-06-06 Thread Xing, Beilei
> -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Wednesday, June 7, 2017 11:31 AM > To: Xing, Beilei > Cc: Wu, Jingjing ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing > function > > On Thu, Jun 01, 2017 at 02:56:30PM

Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function

2017-06-06 Thread Yuanhan Liu
On Thu, Jun 01, 2017 at 02:56:30PM +0800, Beilei Xing wrote: > This commit optimizes vxlan parsing function. How? --yliu > Signed-off-by: Beilei Xing > --- > drivers/net/i40e/i40e_flow.c | 176 > ++- > 1 file changed, 55 insertions(+), 121 delet

Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function

2017-06-06 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Thursday, June 1, 2017 2:57 PM > To: Wu, Jingjing > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/2] net/i40e: optimize vxlan parsing function > > This commit optimizes vxlan parsing

Re: [dpdk-dev] [PATCH 1/4] eal: introduce the rte macro for always inline

2017-06-06 Thread Thomas Monjalon
15/05/2017 10:07, Bruce Richardson: > On Sat, May 13, 2017 at 02:57:25PM +0530, Jerin Jacob wrote: > > Different drivers use internal macros like force_inline for compiler > > always inline feature. > > Standardizing it through __rte_always_inline macro. > > > > Signed-off-by: Jerin Jacob > > ---

Re: [dpdk-dev] [RFC 3/3] rte_flow: add new action for traffic metering and policing

2017-06-06 Thread Dumitrescu, Cristian
Hi Adrien, Thanks for reviewing this proposal. > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Thursday, June 1, 2017 4:14 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org; tho...@monjalon.net; > jerin.ja...@caviumnetworks.com; hemant.agra...@nxp

[dpdk-dev] [PATCH v2] doc: add new targets to "make help" output

2017-06-06 Thread Gabriel Carrillo
Commit aafaea3d3b70 ("devtools: add tags and cscope index generation") introduced new make targets. This change updates the help target output to reflect the additions. Signed-off-by: Gabriel Carrillo --- doc/build-sdk-quick.txt | 21 +++-- 1 file changed, 11 insertions(+), 10 de

[dpdk-dev] technical board meeting, 2017-06-07

2017-06-06 Thread Stephen Hemminger
Hello everyone, A meeting of the DPDK technical board will occur this Wednesday, 7th June 2017 at 3pm UTC. The meeting takes place on the #dpdk-board channel on IRC. This meeting is public, so anybody can join, see below for the agenda. Agenda: https://annuel.framapad.org/p/r.0c3cc4d1e0112141838

Re: [dpdk-dev] [PATCH v2] net/ixgbe: enable PTYPE offload for x86 vector PMD

2017-06-06 Thread Zhang, Qi Z
Hi Oliver: > -Original Message- > From: Olivier Matz [mailto:olivier.m...@6wind.com] > Sent: Tuesday, June 6, 2017 11:45 PM > To: Zhang, Qi Z > Cc: Ananyev, Konstantin ; Zhang, Helin > ; Lu, Wenzhuo ; Kinsella, > Ray ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: enable PT

Re: [dpdk-dev] [PATCH v2] net/ixgbe: enable PTYPE offload for x86 vector PMD

2017-06-06 Thread Olivier Matz
Hi Qi, On Wed, 31 May 2017 19:30:26 -0400, Qi Zhang wrote: > Hardware PTYPE in Rx desc will be parsed to fill > mbuf's packet_type. > > Signed-off-by: Ray Kinsella > Signed-off-by: Qi Zhang > --- > > v2: > - replace large macro that parse packet type with inline function > - fix couple check

Re: [dpdk-dev] [RFCv2] service core concept

2017-06-06 Thread Van Haaren, Harry
> From: Ananyev, Konstantin > Sent: Tuesday, June 6, 2017 4:29 PM > Subject: RE: [dpdk-dev] [RFCv2] service core concept > > > > From: Richardson, Bruce > > Sent: Tuesday, June 6, 2017 3:54 PM > > > > On Tue, Jun 06, 2017 at 11:25:57AM +0100, Van Haaren, Harry wrote: > > > > From: Ananyev, Konsta

Re: [dpdk-dev] [PATCH v2] ethdev: remove driver name from device private data

2017-06-06 Thread Gaëtan Rivet
Hi Ferruh, On Tue, Jun 06, 2017 at 04:10:08PM +0100, Ferruh Yigit wrote: > rte_driver->name has the driver name and all physical and virtual > devices has access to it. > > Previously it was not possible for virtual ethernet devices to access > rte_driver->name field (because eth_dev used to keep

Re: [dpdk-dev] [RFCv2] service core concept

2017-06-06 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Tuesday, June 6, 2017 3:54 PM > To: Van Haaren, Harry > Cc: Ananyev, Konstantin ; dev@dpdk.org; Thomas > Monjalon ; Jerin Jacob > ; Wiles, Keith > Subject: Re: [dpdk-dev] [RFCv2] service core concept > > On Tue, Jun 06, 2017 at 11

[dpdk-dev] [PATCH v2] ethdev: remove driver name from device private data

2017-06-06 Thread Ferruh Yigit
rte_driver->name has the driver name and all physical and virtual devices has access to it. Previously it was not possible for virtual ethernet devices to access rte_driver->name field (because eth_dev used to keep only pci_dev), and it was required to save driver name in the device private struct

Re: [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation

2017-06-06 Thread Bruce Richardson
On Tue, Jun 06, 2017 at 02:19:21PM +0100, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: Richardson, Bruce > > Sent: Tuesday, June 6, 2017 1:42 PM > > To: Ananyev, Konstantin > > Cc: Verkamp, Daniel ; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2] ring: use aligned

Re: [dpdk-dev] [PATCH] net/thunderx: manage PCI device mapping for SQS VFs

2017-06-06 Thread Ferruh Yigit
On 6/6/2017 3:05 PM, Jerin Jacob wrote: > -Original Message- >> Date: Tue, 6 Jun 2017 14:36:09 +0100 >> From: Ferruh Yigit >> To: Jerin Jacob , dev@dpdk.org >> CC: Angela Czubak , Thomas Monjalon >> >> Subject: Re: [dpdk-dev] [PATCH] net/thunderx: manage PCI device mapping for >> SQS VF

Re: [dpdk-dev] [RFCv2] service core concept

2017-06-06 Thread Bruce Richardson
On Tue, Jun 06, 2017 at 11:25:57AM +0100, Van Haaren, Harry wrote: > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Saturday, June 3, 2017 11:23 AM > > To: Van Haaren, Harry ; dev@dpdk.org > > Cc: Thomas Monjalon ; Jerin Jacob > > ; > > Richardson, Bruce ; Wiles, Keith > >

Re: [dpdk-dev] [PATCH v2] eventdev: remove PCI dependency

2017-06-06 Thread Gaëtan Rivet
On Tue, Jun 06, 2017 at 07:40:46PM +0530, Jerin Jacob wrote: > Remove the PCI dependency from generic data structures > and moved the PCI specific code to rte_event_pmd_pci* > > CC: Gaetan Rivet > Signed-off-by: Jerin Jacob > --- > v2: > - Remove rte_pci.h from rte_eventdev.c(Gaetan) Unfortunat

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix VF statistics

2017-06-06 Thread Ferruh Yigit
On 6/5/2017 10:14 PM, Qi Zhang wrote: > CRC bytes should be excluded, so rx/tx bytes of VF stats is aligned > with PF stats. > > Fixes: 9aace75fc82e ("i40e: fix statistics") > Cc: sta...@dpdk.org > > Signed-off-by: Qi Zhang Applied to dpdk-next-net/master, thanks.

[dpdk-dev] [PATCH v3] net/mlx4: support user space rxq interrupt event

2017-06-06 Thread Moti Haimovsky
Implement rxq interrupt callbacks Signed-off-by: Moti Haimovsky --- doc/guides/nics/features/mlx4.ini | 1 + doc/guides/rel_notes/release_17_08.rst | 5 + drivers/net/mlx4/mlx4.c| 207 - drivers/net/mlx4/mlx4.h| 1 + 4 fi

[dpdk-dev] [PATCH v3] net/mlx4: support user space rxq interrupt event

2017-06-06 Thread Moti Haimovsky
v3: - Reverted cleanups not part of this commit. v2: - Removed unneeded comments. Moti Haimovsky (1): net/mlx4: support user space rxq interrupt event doc/guides/nics/features/mlx4.ini | 1 + doc/guides/rel_notes/release_17_08.rst | 5 + drivers/net/mlx4/mlx4.c| 207 ++

Re: [dpdk-dev] [PATCH v4 00/26] bnxt patchset

2017-06-06 Thread Ferruh Yigit
On 6/1/2017 6:06 PM, Ajit Khaparde wrote: > This patchset amongst other changes adds support few more dev_ops, > updates HWRM to version 1.7.7, switches to polling stats from the > hardware, support for Jumbo MTU, LRO etc.. > > v1->v2: > - Grouped in the end, it also has PMD specific APIs to con

Re: [dpdk-dev] [PATCH v2] kni: add new mbuf in alloc_q only based on its empty slots

2017-06-06 Thread gowrishankar muthukrishnan
Hi Ferruh, Just wanted to check with you on the verdict of this patch, whether we are waiting for any objection/ack ?. Thanks, Gowrishankar On Thursday 01 June 2017 02:48 PM, Ferruh Yigit wrote: On 6/1/2017 6:56 AM, gowrishankar muthukrishnan wrote: Hi Ferruh, On Wednesday 31 May 2017 09:51

Re: [dpdk-dev] [PATCH v4 12/26] net/bnxt: add support to set MTU

2017-06-06 Thread Ferruh Yigit
On 6/6/2017 3:00 PM, Ajit Khaparde wrote: > Ferruh, if it save times, can you please do that. Done. > > Thanks > Ajit > > On Tue, Jun 6, 2017 at 7:47 AM, Ferruh Yigit wrote: > >> On 6/1/2017 6:07 PM, Ajit Khaparde wrote: >>> This patch adds support to modify MTU using the set_mtu dev_op. >>>

[dpdk-dev] [PATCH] doc: add VLAN flow limitation on mlx5 PMD

2017-06-06 Thread Shahaf Shuler
On mlx5 PMD Flow pattern without any specific vlan will match for vlan packets as well. Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro nelio.laranje...@6wind.com --- doc/guides/rel_notes/release_17_08.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc/guides/r

Re: [dpdk-dev] [PATCH v2] Correctly handle malloc_elem resize with padding

2017-06-06 Thread Sergio Gonzalez Monroy
Hi Jamie, On 31/05/2017 01:16, Jamie Lavigne wrote: Currently when a malloc_elem is split after resizing, any padding present in the elem is ignored. This causes the resized elem to be too small when padding is present, and user data can overwrite the beginning of the following malloc_elem. So

[dpdk-dev] [PATCH v2] eventdev: remove PCI dependency

2017-06-06 Thread Jerin Jacob
Remove the PCI dependency from generic data structures and moved the PCI specific code to rte_event_pmd_pci* CC: Gaetan Rivet Signed-off-by: Jerin Jacob --- v2: - Remove rte_pci.h from rte_eventdev.c(Gaetan) --- drivers/event/skeleton/skeleton_eventdev.c | 30 +- lib/librte_eventdev

Re: [dpdk-dev] [PATCH v4 19/26] net/bnxt: add support for tx loopback, set vf mac and queues drop

2017-06-06 Thread Ajit Khaparde
On Tue, Jun 6, 2017 at 7:53 AM, Ferruh Yigit wrote: > On 6/1/2017 6:07 PM, Ajit Khaparde wrote: > > Add functions rte_pmd_bnxt_set_tx_loopback, > > rte_pmd_bnxt_set_all_queues_drop_en and > > rte_pmd_bnxt_set_vf_mac_addr to configure tx_loopback, > > queue_drop and VF MAC address setting in the h

Re: [dpdk-dev] [PATCH] net/thunderx: manage PCI device mapping for SQS VFs

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 6 Jun 2017 14:36:09 +0100 > From: Ferruh Yigit > To: Jerin Jacob , dev@dpdk.org > CC: Angela Czubak , Thomas Monjalon > > Subject: Re: [dpdk-dev] [PATCH] net/thunderx: manage PCI device mapping for > SQS VFs > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW

Re: [dpdk-dev] [PATCH v4 12/26] net/bnxt: add support to set MTU

2017-06-06 Thread Ajit Khaparde
Ferruh, if it save times, can you please do that. Thanks Ajit On Tue, Jun 6, 2017 at 7:47 AM, Ferruh Yigit wrote: > On 6/1/2017 6:07 PM, Ajit Khaparde wrote: > > This patch adds support to modify MTU using the set_mtu dev_op. > > To support frames > 2k, the PMD creates an aggregator ring. > > W

Re: [dpdk-dev] [PATCH] net/thunderx: manage PCI device mapping for SQS VFs

2017-06-06 Thread Ferruh Yigit
On 6/1/2017 2:05 PM, Jerin Jacob wrote: > Since the commit e84ad157b7bc ("pci: unmap resources if probe fails"), > EAL unmaps the PCI device if ethdev probe returns positive or > negative value. > > nicvf thunderx PMD needs special treatment for Secondary queue set(SQS) > PCIe VF devices, where, i

[dpdk-dev] [PATCH v5 2/2] config: enable vhost numa awareness by default

2017-06-06 Thread Ilya Maximets
Since libnuma is added as a general dependency for EAL, it is safe to enable LIBRTE_VHOST_NUMA by default. Signed-off-by: Ilya Maximets --- config/common_base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/common_base b/config/common_base index c858769..db4cc1c 100644

[dpdk-dev] [PATCH v5 1/2] mem: balanced allocation of hugepages

2017-06-06 Thread Ilya Maximets
Currently EAL allocates hugepages one by one not paying attention from which NUMA node allocation was done. Such behaviour leads to allocation failure if number of available hugepages for application limited by cgroups or hugetlbfs and memory requested not only from the first socket. Example:

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

2017-06-06 Thread Ilya Maximets
Sorry for so frequent respinning of the series. Version 5: * Fixed shared build. (Automated build test will fail anyway because libnuma-devel not installed on build servers) Version 4: * Fixed work on systems without NUMA by adding check for NUMA support in ker

Re: [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation

2017-06-06 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Tuesday, June 6, 2017 1:42 PM > To: Ananyev, Konstantin > Cc: Verkamp, Daniel ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation > > On Tue, Jun 06, 2017 at 10:59:59AM +0100, Ananyev, Konstantin

[dpdk-dev] [PATCH v2] mk: allow exec-env specific targets

2017-06-06 Thread Jerin Jacob
Add a hook in generic rte.sdkbuild.mk file to include exec-env specific targets. Signed-off-by: Jerin Jacob --- Useful in integrating some custom targets in nonstandard execution environments. For example, a bare-metal-simulator exec execution environment may need a target to run the dpdk applica

Re: [dpdk-dev] [PATCH v4 19/26] net/bnxt: add support for tx loopback, set vf mac and queues drop

2017-06-06 Thread Ferruh Yigit
On 6/1/2017 6:07 PM, Ajit Khaparde wrote: > Add functions rte_pmd_bnxt_set_tx_loopback, > rte_pmd_bnxt_set_all_queues_drop_en and > rte_pmd_bnxt_set_vf_mac_addr to configure tx_loopback, > queue_drop and VF MAC address setting in the hardware. > It also adds the necessary functions to send the HWRM

Re: [dpdk-dev] [PATCH v4 12/26] net/bnxt: add support to set MTU

2017-06-06 Thread Ferruh Yigit
On 6/1/2017 6:07 PM, Ajit Khaparde wrote: > This patch adds support to modify MTU using the set_mtu dev_op. > To support frames > 2k, the PMD creates an aggregator ring. > When a frame greater than 2k is received, it is fragmented > and the resulting fragments are DMA'ed to the aggregator ring. > N

Re: [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation

2017-06-06 Thread Bruce Richardson
On Tue, Jun 06, 2017 at 10:59:59AM +0100, Ananyev, Konstantin wrote: > > > > > > > > > > > > > > > > > > The PROD/CONS_ALIGN values on x86-64 are set to 2 cache lines, so > > > > members > > > of struct rte_ring are 128 byte aligned, > > > >and therefore the whole struct needs 128-byte alignment

[dpdk-dev] [PATCH] net/liquidio: fix MTU calculation from port configuration

2017-06-06 Thread Shijith Thotton
max_rx_pkt_len member of port RX configuration indicates max frame length. Ethernet header and CRC length should be subtracted from it to find MTU. Fixes: 605164c8e79d ("net/liquidio: add API to validate VF MTU") Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_ethdev.c | 21

Re: [dpdk-dev] [RFCv2] service core concept

2017-06-06 Thread Ananyev, Konstantin
> -Original Message- > From: Van Haaren, Harry > Sent: Tuesday, June 6, 2017 11:26 AM > To: Ananyev, Konstantin ; dev@dpdk.org > Cc: Thomas Monjalon ; Jerin Jacob > ; Richardson, Bruce > ; Wiles, Keith > Subject: RE: [dpdk-dev] [RFCv2] service core concept > > > -Original Message--

Re: [dpdk-dev] [RFC] eal/memory: introducing an option to set iova as va

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 6 Jun 2017 12:13:08 +0200 > From: Gaëtan Rivet > To: Bruce Richardson > Cc: santosh , tho...@monjalon.net, > dev@dpdk.org, jerin.ja...@caviumnetworks.com, hemant.agra...@nxp.com > Subject: Re: [dpdk-dev] [RFC] eal/memory: introducing an option to set iova

Re: [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211

2017-06-06 Thread Ferruh Yigit
On 6/5/2017 7:14 AM, Lu, Wenzhuo wrote: > Hi, > > >> -Original Message- >> From: Zhao1, Wei >> Sent: Monday, June 5, 2017 1:41 PM >> To: dev@dpdk.org >> Cc: Lu, Wenzhuo; Zhao1, Wei >> Subject: [PATCH] net/e1000: add support 2-tuple filter on i210/i211 >> >> Add support of i210 and i211 ty

Re: [dpdk-dev] [RFC] eal/memory: introducing an option to set iova as va

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 6 Jun 2017 10:57:20 +0100 > From: Bruce Richardson > To: santosh > CC: tho...@monjalon.net, dev@dpdk.org, jerin.ja...@caviumnetworks.com, > hemant.agra...@nxp.com > Subject: Re: [dpdk-dev] [RFC] eal/memory: introducing an option to set iova > as va > User

Re: [dpdk-dev] [PATCH v2] net/i40e: exclude internal packet's byte count

2017-06-06 Thread Ferruh Yigit
On 6/2/2017 3:10 AM, Xing, Beilei wrote: > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Qi Zhang >> Sent: Friday, June 2, 2017 1:56 AM >> To: Wu, Jingjing ; Zhang, Helin >> >> Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org >> Subject: [dpdk-dev] [PATCH v2

Re: [dpdk-dev] [PATCH v3 0/3] ixgbe: enable flex filter for rte_flow

2017-06-06 Thread Ferruh Yigit
On 6/1/2017 6:36 PM, Qi Zhang wrote: > Enable fdir flex byte support for rte_flow APIs. > > v2: > - fix couple checkpatch errors. > > v3: > - fix comment. > > Qi Zhang (3): > net/ixgbe: remove reduandent code > net/ixgbe: fix fdir mask not be reset > net/ixgbe: enable flex bytes for generi

Re: [dpdk-dev] [RFCv2] service core concept

2017-06-06 Thread Van Haaren, Harry
> -Original Message- > From: Ananyev, Konstantin > Sent: Saturday, June 3, 2017 11:23 AM > To: Van Haaren, Harry ; dev@dpdk.org > Cc: Thomas Monjalon ; Jerin Jacob > ; > Richardson, Bruce ; Wiles, Keith > > Subject: RE: [dpdk-dev] [RFCv2] service core concept > > In particular this ve

Re: [dpdk-dev] [PATCH v2] net/i40e: update actions for FDIR

2017-06-06 Thread Ferruh Yigit
On 6/2/2017 3:22 AM, Wu, Jingjing wrote: > > >> -Original Message- >> From: Xing, Beilei >> Sent: Thursday, June 1, 2017 7:48 AM >> To: Wu, Jingjing >> Cc: dev@dpdk.org >> Subject: [PATCH v2] net/i40e: update actions for FDIR >> >> This commit adds support of FLAG action and PASSTHRU act

Re: [dpdk-dev] [RFC] eal/memory: introducing an option to set iova as va

2017-06-06 Thread Gaëtan Rivet
On Tue, Jun 06, 2017 at 10:57:20AM +0100, Bruce Richardson wrote: > On Mon, Jun 05, 2017 at 10:24:11AM +0530, santosh wrote: > > Hi Bruce, > > > > > > On Friday 02 June 2017 02:57 PM, Bruce Richardson wrote: > > > On Fri, Jun 02, 2017 at 09:54:46AM +0530, santosh wrote: > > >> Ping? > > >> > > >>

Re: [dpdk-dev] [RFCv2] service core concept

2017-06-06 Thread Van Haaren, Harry
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, June 5, 2017 8:23 AM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Thomas Monjalon ; Richardson, Bruce > ; Ananyev, Konstantin > ; Wiles, Keith > > Subject: Re: [dpdk-dev] [RFCv2] service cor

Re: [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation

2017-06-06 Thread Ananyev, Konstantin
> > > > > > > > > > > > The PROD/CONS_ALIGN values on x86-64 are set to 2 cache lines, so members > > of struct rte_ring are 128 byte aligned, > > >and therefore the whole struct needs 128-byte alignment according to the > > >ABI > > so that the 128-byte alignment of the fields can be guaranteed.

Re: [dpdk-dev] [RFC] eal/memory: introducing an option to set iova as va

2017-06-06 Thread Bruce Richardson
On Mon, Jun 05, 2017 at 10:24:11AM +0530, santosh wrote: > Hi Bruce, > > > On Friday 02 June 2017 02:57 PM, Bruce Richardson wrote: > > On Fri, Jun 02, 2017 at 09:54:46AM +0530, santosh wrote: > >> Ping? > >> > >> On Wednesday 24 May 2017 09:41 PM, Santosh Shukla wrote: > >> > >>> Some NPU hardwa

Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets

2017-06-06 Thread Thomas Monjalon
06/06/2017 11:05, Jerin Jacob: > From: Jerin Jacob > > From: Thomas Monjalon > > > 06/06/2017 09:02, Jerin Jacob: > > > > From: Thomas Monjalon > > > > > Please explain how it can help with a real example. > > > > > > > > We are evaluating on running DPDK on a nonstandard execution > > > > env

Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 6 Jun 2017 13:20:42 +0530 > From: Jerin Jacob > To: Thomas Monjalon > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets > User-Agent: Mutt/1.8.3 (2017-05-23) > > -Original Message- > > Date: Tue, 06 Jun 2017 09:

Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 6 Jun 2017 10:09:21 +0200 > From: Gaëtan Rivet > To: Jerin Jacob > Cc: dev@dpdk.org, bruce.richard...@intel.com, harry.van.haa...@intel.com, > hemant.agra...@nxp.com, gage.e...@intel.com, nipun.gu...@nxp.com > Subject: Re: [dpdk-dev] [PATCH] eventdev: remo

Re: [dpdk-dev] [PATCH 3/3] net/i40e: update supported patterns for FDIR

2017-06-06 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Wednesday, May 24, 2017 2:10 PM > To: Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 3/3] net/i40e: update supported patterns for > FDIR > > This patch updates s

[dpdk-dev] [PATCH v4 2/2] config: enable vhost numa awareness by default

2017-06-06 Thread Ilya Maximets
Since libnuma is added as a general dependency for EAL, it is safe to enable LIBRTE_VHOST_NUMA by default. Signed-off-by: Ilya Maximets --- config/common_base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/common_base b/config/common_base index c858769..db4cc1c 100644

[dpdk-dev] [PATCH v4 1/2] mem: balanced allocation of hugepages

2017-06-06 Thread Ilya Maximets
Currently EAL allocates hugepages one by one not paying attention from which NUMA node allocation was done. Such behaviour leads to allocation failure if number of available hugepages for application limited by cgroups or hugetlbfs and memory requested not only from the first socket. Example:

[dpdk-dev] [PATCH v4 0/2] Balanced allocation of hugepages

2017-06-06 Thread Ilya Maximets
Version 4: * Fixed work on systems without NUMA by adding check for NUMA support in kernel. Version 3: * Implemented hybrid schema for allocation. * Fixed not needed mempolicy change while remapping. (orig = 0) * Added patch to enable VHOST_NUMA by default

Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency

2017-06-06 Thread Gaëtan Rivet
On Tue, Jun 06, 2017 at 08:35:48AM +0530, Jerin Jacob wrote: > -Original Message- > > Date: Mon, 5 Jun 2017 14:55:55 +0200 > > From: Gaëtan Rivet > > To: Jerin Jacob > > Cc: dev@dpdk.org, bruce.richard...@intel.com, harry.van.haa...@intel.com, > > hemant.agra...@nxp.com, gage.e...@intel.

Re: [dpdk-dev] [PATCH 2/3] net/i40e: support input set selection for FDIR

2017-06-06 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Wednesday, May 24, 2017 2:10 PM > To: Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 2/3] net/i40e: support input set selection for > FDIR > > This patch suppor

Re: [dpdk-dev] [PATCH 1/3] net/i40e: support flexible payload parsing for FDIR

2017-06-06 Thread Xing, Beilei
> -Original Message- > From: Lu, Wenzhuo > Sent: Tuesday, June 6, 2017 3:46 PM > To: Xing, Beilei ; Zhang, Helin > ; Wu, Jingjing > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH 1/3] net/i40e: support flexible payload > parsing for FDIR > > Hi Beilei, > > > -Original Message-

Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 06 Jun 2017 09:16:34 +0200 > From: Thomas Monjalon > To: Jerin Jacob > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets > > 06/06/2017 09:02, Jerin Jacob: > > From: Thomas Monjalon > > > 06/06/2017 08:36, Jerin Jacob:

Re: [dpdk-dev] [PATCH 1/3] net/i40e: support flexible payload parsing for FDIR

2017-06-06 Thread Lu, Wenzhuo
Hi Beilei, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Wednesday, May 24, 2017 2:10 PM > To: Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] net/i40e: support flexible payload parsing > for FDIR > > This p

Re: [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211

2017-06-06 Thread Zhao1, Wei
I'm sorry for this mistake, this patch is ok and I will not deliver a new version. The mail about v3 before is intended to be reply to another mail else. Thank you. > -Original Message- > From: Zhao1, Wei > Sent: Monday, June 5, 2017 2:16 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Subject

Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets

2017-06-06 Thread Thomas Monjalon
06/06/2017 09:02, Jerin Jacob: > From: Thomas Monjalon > > 06/06/2017 08:36, Jerin Jacob: > > > Add a hook in generic rte.sdkbuild.mk file > > > to include exec-env specific targets. > > > > > > Signed-off-by: Jerin Jacob > > > --- > > > Useful in integrating some custom targets in nonstandard e

Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets

2017-06-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 06 Jun 2017 08:46:12 +0200 > From: Thomas Monjalon > To: Jerin Jacob > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets > > 06/06/2017 08:36, Jerin Jacob: > > Add a hook in generic rte.sdkbuild.mk file > > to include e