Re: [dpdk-dev] [PATCH v4 4/4] eventdev: Add tests for event eth Rx adapter APIs

2017-10-04 Thread Rao, Nikhil
On 10/3/2017 5:06 PM, Pavan Nikhilesh Bhagavatula wrote: On Fri, Sep 22, 2017 at 02:47:14AM +0530, Nikhil Rao wrote: Hi Nikhil, Add unit tests for rte_event_eth_rx_adapter_xxx() APIs Signed-off-by: Nikhil Rao --- test/test/test_event_eth_rx_adapter.c | 399

[dpdk-dev] API in dpdk to get total free physical memory

2017-10-04 Thread Venumadhav Josyula
Hi All, Like 'rte_eal_get_physmem_size' api to the total size of the physical memory. Is there an API to get to get total free memory physical memory available ? We want such API we are planning to implement such API for the same /* get the total size of memory */ uint64_t rte_eal_get_physmem_f

Re: [dpdk-dev] [PATCH v7 7/8] net/i40e: add cloud filter parsing function for GTP

2017-10-04 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 29, 2017 11:51 PM > To: Wu, Jingjing > Cc: Chilikin, Andrey ; dev@dpdk.org > Subject: [PATCH v7 7/8] net/i40e: add cloud filter parsing function for GTP > > This patch adds i40e_flow_parse_gtp_filter parsing > function

Re: [dpdk-dev] [PATCH v7 6/8] net/i40e: add FDIR support for GTP-C and GTP-U

2017-10-04 Thread Wu, Jingjing
> @@ -975,27 +1003,30 @@ i40e_flow_fdir_fill_eth_ip_head(const struct > i40e_fdir_input > *fdir_input, > raw_pkt += sizeof(uint16_t); > len += sizeof(uint16_t); > > - switch (fdir_input->pctype) { > - case I40E_FILTER_PCTYPE_L2_PAYLOAD: > + if (is_customized_pctype) { > +

Re: [dpdk-dev] [PATCH v7 5/8] net/i40e: finish integration FDIR with generic flow API

2017-10-04 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 29, 2017 11:51 PM > To: Wu, Jingjing > Cc: Chilikin, Andrey ; dev@dpdk.org > Subject: [PATCH v7 5/8] net/i40e: finish integration FDIR with generic flow > API > > rte_eth_fdir_* structures are still used in FDIR functi

Re: [dpdk-dev] [PATCH v7 2/8] net/i40e: update ptype and pctype info

2017-10-04 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 29, 2017 11:51 PM > To: Wu, Jingjing > Cc: Chilikin, Andrey ; dev@dpdk.org > Subject: [PATCH v7 2/8] net/i40e: update ptype and pctype info > > Update new packet type and new pctype info when downloading > profile. > >

Re: [dpdk-dev] [PATCH v5 0/5] net/i40e: implement dynamic mapping of flow types to pctypes

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 10:48 PM, Ferruh Yigit wrote: > On 10/4/2017 1:52 PM, Kirill Rybalchenko wrote: >> Implement dynamic mapping of software flow types to hardware pctypes. >> This allows to map new flow types to pctypes without changing >> API of the driver. >> >> v2: >> Remove unnecessary check for new

Re: [dpdk-dev] [PATCH v8 0/2] et/i40e: get information about protocols defined in ddp profile

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 11:00 PM, Ferruh Yigit wrote: > On 10/4/2017 3:00 PM, Kirill Rybalchenko wrote: >> This patch adds ability to request information about protocols defined in >> dynamic >> device personalization profile >> >> v2: >> Some code style warnings were removed >> >> v3: >> info_size parameter

Re: [dpdk-dev] [PATCH] net/mlx5: fix checksum offload cap

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 1:02 PM, Nélio Laranjeiro wrote: > On Wed, Oct 04, 2017 at 11:28:43AM +0300, Shahaf Shuler wrote: >> The PMD was using the wrong flag to query device checksum capabilities >> >> Fixes: bba710e6b99b ("net/mlx5: support upstream rdma-core") >> Cc: shacha...@mellanox.com >> >> Signed-off-

Re: [dpdk-dev] [PATCH v6 0/4] ethdev new offloads API

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 5:12 PM, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Shahaf Shuler [mailto:shah...@mellanox.com] >> Sent: Wednesday, October 4, 2017 9:18 AM >> To: Ananyev, Konstantin ; tho...@monjalon.net; >> arybche...@solarflare.com; >> jerin.ja...@caviumnetworks.com; Y

Re: [dpdk-dev] [PATCH v2] net/sfc: add device state check to reta update operation

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 8:34 AM, Andrew Rybchenko wrote: > From: Ivan Malov > > The callback must not attempt to program RSS table to the HW > in non-started state; the new table must be remembered and > applied on the next start > > Fixes: 32bcfb0a50b1 ("net/sfc: update RSS redirection table") > Cc: sta..

Re: [dpdk-dev] [PATCH v4 0/5] net/mlx5 multi-process support

2017-10-04 Thread Ferruh Yigit
On 9/19/2017 3:31 PM, Xueming Li wrote: > This patchset enhances Mellanox multi-process by supporting all multi-process > examples, also support reading ethdev (x)stats in secondary process. > > Start from V2, this patchset depends on upstream rdma-core enhancement > and l2fork example bug fix: >

Re: [dpdk-dev] [PATCH] pci/uio: enable prefetchable resources mapping

2017-10-04 Thread Ferruh Yigit
On 6/3/2017 11:57 PM, Changpeng Liu wrote: > For PCI prefetchable resources, Linux will create a > write combined file as well, the library will try > to map resourceX_wc file first, if the file does > not exist, then it will map resourceX as usual. Hi Changpeng, Code part looks OK, but can you p

Re: [dpdk-dev] [PATCH] eal/x86: use cpuid builtin

2017-10-04 Thread Ferruh Yigit
On 8/23/2017 4:00 PM, Sergio Gonzalez Monroy wrote: > GCC does have the __get_cpuid_count builtin which checks for maximum > supported leaf, but implementations differ between CLANG and GCC. > > This change provides an implementation compatible with both GCC and > CLANG 3.4+. > > Signed-off-by: S

[dpdk-dev] [PATCH v6 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-04 Thread Xiaoyun Li
This patch enables x86 EFD file be compiled only if the compiler supports AVX2 since it is already chosen at run-time. Signed-off-by: Xiaoyun Li --- lib/librte_efd/Makefile | 6 +++ lib/librte_efd/rte_efd_x86.c | 87 lib/librte_efd/rte_efd_x86.h

[dpdk-dev] [PATCH v6 2/3] app/test: run-time dispatch over memcpy perf test

2017-10-04 Thread Xiaoyun Li
This patch modifies assignment of alignment unit from build-time to run-time based on CPU flags that machine supports. Signed-off-by: Xiaoyun Li --- test/test/test_memcpy_perf.c | 40 +++- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/test/te

[dpdk-dev] [PATCH v6 1/3] eal/x86: run-time dispatch over memcpy

2017-10-04 Thread Xiaoyun Li
This patch dynamically selects functions of memcpy at run-time based on CPU flags that current machine supports. This patch uses function pointers which are bind to the relative functions at constrctor time. In addition, AVX512 instructions set would be compiled only if users config it enabled and

[dpdk-dev] [PATCH v6 0/3] run-time Linking support

2017-10-04 Thread Xiaoyun Li
This patchset dynamically selects functions at run-time based on CPU flags that current machine supports.This patchset modifies mempcy, memcpy perf test and x86 EFD, using function pointers and bind them at constructor time. Then in the cloud environment, users can compiler once for the minimum tar

Re: [dpdk-dev] [PATCH v3 0/7] new mlx4 datapath bypassing ibverbs

2017-10-04 Thread Thomas Monjalon
05/10/2017 00:37, Ferruh Yigit: > On 10/4/2017 10:48 PM, Ophir Munk wrote: > > Moti Haimovsky (6): > > net/mlx4: add simple Tx bypassing ibverbs > > net/mlx4: get back Rx flow functionality > > net/mlx4: support multi-segments Tx > > net/mlx4: get back Tx checksum offloads > > net/mlx4: g

Re: [dpdk-dev] [PATCH v7 0/8] net/i40e: GPT-C and GTP-U enabling

2017-10-04 Thread Ferruh Yigit
On 9/29/2017 4:50 PM, Beilei Xing wrote: > This patch set enables RSS/FDIR/cloud filter for GPT-C and GTP-U. > It depends on Kirill's patch: > http://www.dpdk.org/dev/patchwork/patch/29325/ > > v7 changes: > - Distinguish GTP-C request and response message in mbuf description. > - Clarify GTP-C

Re: [dpdk-dev] [PATCH v2 0/2] ethdev: add support for raw flow type for flow director

2017-10-04 Thread Thomas Monjalon
04/10/2017 21:47, Ferruh Yigit: > On 10/4/2017 6:56 PM, Thomas Monjalon wrote: > > 04/10/2017 19:44, Ferruh Yigit: > >> On 10/4/2017 5:57 PM, Thomas Monjalon wrote: > >>> 03/10/2017 21:02, Ferruh Yigit: > On 9/20/2017 9:42 AM, Kirill Rybalchenko wrote: > > For complex packets use raw flow

Re: [dpdk-dev] [PATCH v3 0/7] new mlx4 datapath bypassing ibverbs

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 10:48 PM, Ophir Munk wrote: > Changes from v2: > * Split "net/mlx4: support multi-segments Rx" commit from "net/mlx4: get back > Rx flow functionality" commit > * Semantics, code styling > * Fix check-git-log warnings > * Fix checkpatches warnings > > Next (currently not included) ch

Re: [dpdk-dev] [PATCH v5 0/3] run-time Linking support

2017-10-04 Thread Li, Xiaoyun
OK. Will send it later. Many thanks! > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, October 5, 2017 01:56 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v5 0/3] run-time Linking support > > Hi Xiaouyn, >

Re: [dpdk-dev] [PATCH v8 0/2] et/i40e: get information about protocols defined in ddp profile

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 3:00 PM, Kirill Rybalchenko wrote: > This patch adds ability to request information about protocols defined in > dynamic > device personalization profile > > v2: > Some code style warnings were removed > > v3: > info_size parameter always represents size of the info buffer in bytes;

Re: [dpdk-dev] [PATCH] ethdev: fix LIBABIVER

2017-10-04 Thread Thomas Monjalon
Added this comment: The ethdev ABI has been broken in release 17.08 without being bumped. > > Fixes: c33ade1227a5 ("doc: notify ethdev callback process API change") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Ferruh Yigit > > Reviewed-by: Zhiyong Yang Applied, thanks

[dpdk-dev] [PATCH v3 7/7] net/mlx4: add loopback Tx from VF

2017-10-04 Thread Ophir Munk
From: Moti Haimovsky This patch adds loopback functionality used when the chip is a VF in order to enable packet transmission between VFs and between VFs and PF. Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4_rxtx.c | 38 ++ drivers/net/mlx4/mlx4_rx

[dpdk-dev] [PATCH v3 6/7] net/mlx4: get back Rx checksum offloads

2017-10-04 Thread Ophir Munk
From: Moti Haimovsky This patch adds hardware offloading support for IPV4, UDP and TCP checksum verification. This commit also includes support for offloading IPV4, UDP and TCP tunnel checksum verification to the hardware. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c| 2

[dpdk-dev] [PATCH v3 5/7] net/mlx4: get back Tx checksum offloads

2017-10-04 Thread Ophir Munk
From: Moti Haimovsky This patch adds hardware offloading support for IPV4, UDP and TCP checksum calculation. This commit also includes support for offloading IPV4, UDP and TCP tunnel checksum calculation to the hardware. Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4.c| 9 +++

[dpdk-dev] [PATCH v3 3/7] net/mlx4: support multi-segments Rx

2017-10-04 Thread Ophir Munk
From: Vasily Philipov Getting hw directly on RX fast path without verbs call. Now the number of scatters is calculated on the fly according to the maximum expected packet size. Signed-off-by: Vasily Philipov Signed-off-by: Ophir Munk --- This commit is a split from a previous commit "net/mlx4

[dpdk-dev] [PATCH v3 4/7] net/mlx4: support multi-segments Tx

2017-10-04 Thread Ophir Munk
From: Moti Haimovsky This patch adds support for transmitting packets spanning over multiple buffers. In this patch we also take into consideration the amount of entries a packet occupies in the TxQ when setting the report-completion flag of the chip. Signed-off-by: Moti Haimovsky --- drivers/

[dpdk-dev] [PATCH v3 2/7] net/mlx4: get back Rx flow functionality

2017-10-04 Thread Ophir Munk
From: Moti Haimovsky This patch adds support for accessing the hardware directly when handling Rx packets eliminating the need to use verbs in the Rx datapath. The number of scatters is limited to one. Signed-off-by: Vasily Philipov Signed-off-by: Moti Haimovsky Signed-off-by: Ophir Munk ---

[dpdk-dev] [PATCH v3 0/7] new mlx4 datapath bypassing ibverbs

2017-10-04 Thread Ophir Munk
Changes from v2: * Split "net/mlx4: support multi-segments Rx" commit from "net/mlx4: get back Rx flow functionality" commit * Semantics, code styling * Fix check-git-log warnings * Fix checkpatches warnings Next (currently not included) changes: * Replacing MLX4_TRANSPOSE() macro (Generic macro

[dpdk-dev] [PATCH v3 1/7] net/mlx4: add simple Tx bypassing ibverbs

2017-10-04 Thread Ophir Munk
From: Moti Haimovsky Modify PMD to send single-buffer packets directly to the device bypassing the ibv Tx post and poll routines. Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4_prm.h | 108 + drivers/net/mlx4/mlx4_rxtx.c | 354 ---

Re: [dpdk-dev] [PATCH v5 0/5] net/i40e: implement dynamic mapping of flow types to pctypes

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 1:52 PM, Kirill Rybalchenko wrote: > Implement dynamic mapping of software flow types to hardware pctypes. > This allows to map new flow types to pctypes without changing > API of the driver. > > v2: > Remove unnecessary check for new flow types. > Re-arrange patchset to avoid compill

Re: [dpdk-dev] [PATCH v2] doc: add shared library versions for missing PMDs

2017-10-04 Thread Thomas Monjalon
Added comment: These PMDs must be versioned because they have an API. > > Signed-off-by: Ferruh Yigit > > Acked-by: John McNamara > > Acked-by: Zhiyong Yang Applied, thanks

Re: [dpdk-dev] [PATCH v2 0/2] ethdev: add support for raw flow type for flow director

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 6:56 PM, Thomas Monjalon wrote: > 04/10/2017 19:44, Ferruh Yigit: >> On 10/4/2017 5:57 PM, Thomas Monjalon wrote: >>> 03/10/2017 21:02, Ferruh Yigit: On 9/20/2017 9:42 AM, Kirill Rybalchenko wrote: > For complex packets use raw flow type with pre-constructed packet buffer

Re: [dpdk-dev] [PATCH v2] eal: fix resource leak

2017-10-04 Thread Ferruh Yigit
On 9/22/2017 3:48 PM, Daniel Mrzyglod wrote: > Memory allocated in strdup is not free. > > Coverity issue: 143257 > Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id") > Cc: tho...@monjalon.net > > Signed-off-by: Daniel Mrzyglod > --- > v2: > * Fix due to compilation errors > > lib/lib

[dpdk-dev] [PATCH v3 6/6] net/mlx4: add loopback Tx from VF

2017-10-04 Thread Adrien Mazarguil
From: Moti Haimovsky This patch adds loopback functionality used when the chip is a VF in order to enable packet transmission between VFs and PF. Signed-off-by: Moti Haimovsky Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_rxtx.c | 33 + drivers/net/mlx4/

[dpdk-dev] [PATCH v3 4/6] net/mlx4: restore Tx checksum offloads

2017-10-04 Thread Adrien Mazarguil
From: Moti Haimovsky This patch adds hardware offloading support for IPv4, UDP and TCP checksum calculation, including inner/outer checksums on supported tunnel types. Signed-off-by: Moti Haimovsky Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c| 11 +++ drivers/net/mlx

[dpdk-dev] [PATCH v3 5/6] net/mlx4: restore Rx offloads

2017-10-04 Thread Adrien Mazarguil
From: Moti Haimovsky This patch adds hardware offloading support for IPV4, UDP and TCP checksum verification, including inner/outer checksums on supported tunnel types. It also restores packet type recognition support. Signed-off-by: Vasily Philipov Signed-off-by: Moti Haimovsky Acked-by: Adr

[dpdk-dev] [PATCH v3 1/6] net/mlx4: add simple Tx bypassing Verbs

2017-10-04 Thread Adrien Mazarguil
From: Moti Haimovsky Modify PMD to send single-buffer packets directly to the device bypassing the Verbs Tx post and poll routines. Signed-off-by: Moti Haimovsky Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_prm.h | 120 ++ drivers/net/mlx4/mlx4_rxtx.c | 337 ++

[dpdk-dev] [PATCH v3 3/6] net/mlx4: restore Tx gather support

2017-10-04 Thread Adrien Mazarguil
From: Moti Haimovsky This patch adds support for transmitting packets spanning over multiple buffers. In this patch we also take into consideration the amount of entries a packet occupies in the TxQ when setting the report-completion flag of the chip. Signed-off-by: Moti Haimovsky Acked-by: Ad

[dpdk-dev] [PATCH v3 2/6] net/mlx4: restore full Rx support bypassing Verbs

2017-10-04 Thread Adrien Mazarguil
From: Moti Haimovsky This patch adds support for accessing the hardware directly when handling Rx packets eliminating the need to use Verbs in the Rx data path. The number of scatters is calculated on the fly, according to the maximum expected packet size. Signed-off-by: Vasily Philipov Signed

[dpdk-dev] [PATCH v3 0/6] new mlx4 datapath bypassing ibverbs

2017-10-04 Thread Adrien Mazarguil
Took me a while to finally review this series. Since there is not much time left, I'm taking care of v3 with several minor changes summarized below and my ack included directly. v3 (Adrien): - Drop a few unrelated or unnecessary changes such as the removal of MLX4_PMD_TX_MP_CACHE. - Move device

Re: [dpdk-dev] [PATCH v2 0/2] ethdev: add support for raw flow type for flow director

2017-10-04 Thread Thomas Monjalon
04/10/2017 19:44, Ferruh Yigit: > On 10/4/2017 5:57 PM, Thomas Monjalon wrote: > > 03/10/2017 21:02, Ferruh Yigit: > >> On 9/20/2017 9:42 AM, Kirill Rybalchenko wrote: > >>> For complex packets use raw flow type with pre-constructed packet buffer > >>> instead of creating a packet internally in PMD

Re: [dpdk-dev] [PATCH v5 0/3] run-time Linking support

2017-10-04 Thread Ananyev, Konstantin
Hi Xiaouyn, > -Original Message- > From: Li, Xiaoyun > Sent: Tuesday, October 3, 2017 4:00 PM > To: Ananyev, Konstantin ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin ; > dev@dpdk.org; Li, Xiaoyun > Subject: [PATCH v5 0/3] run-time Linking support > > This patchset dynamically

Re: [dpdk-dev] [PATCH v2 0/2] ethdev: add support for raw flow type for flow director

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 5:57 PM, Thomas Monjalon wrote: > 03/10/2017 21:02, Ferruh Yigit: >> On 9/20/2017 9:42 AM, Kirill Rybalchenko wrote: >>> For complex packets use raw flow type with pre-constructed packet buffer >>> instead of creating a packet internally in PMD. > > Sorry for not catching this series

Re: [dpdk-dev] [PATCH 1/2] net/tap: fix indentation in flow file

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 9:15 AM, Pascal Mazon wrote: > Hi, > > I'm surprised there's only one place in the file with indent problem, > but I'm ok with the patch otherwise. > > Ferruh, I didn't get what you mean; Matan is modifying tap_flow.c in > patch 2/2, right? I wasn't sure about getting the patch that

Re: [dpdk-dev] [RFC] Wireless Base Band Device (bbdev)

2017-10-04 Thread Flavio Leitner
On Tue, 03 Oct 2017 17:17:53 +0200 Thomas Monjalon wrote: > 03/10/2017 16:29, Mokhtar, Amr: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > 25/08/2017 15:46, Amr Mokhtar: > > > > +int > > > > +rte_bbdev_configure(uint8_t dev_id, uint16_t num_queues, > > > > + const

Re: [dpdk-dev] [PATCH v3 2/4] net/mrvl: add mrvl net pmd driver

2017-10-04 Thread Ferruh Yigit
On 10/4/2017 9:59 AM, Tomasz Duszynski wrote: > On Wed, Oct 04, 2017 at 01:24:27AM +0100, Ferruh Yigit wrote: >> On 10/3/2017 12:51 PM, Tomasz Duszynski wrote: >>> Add support for the Marvell PPv2 (Packet Processor v2) 1/10 Gbps adapter. >>> Driver is based on external, publicly available, light-we

Re: [dpdk-dev] [PATCH v2 0/2] ethdev: add support for raw flow type for flow director

2017-10-04 Thread Thomas Monjalon
03/10/2017 21:02, Ferruh Yigit: > On 9/20/2017 9:42 AM, Kirill Rybalchenko wrote: > > For complex packets use raw flow type with pre-constructed packet buffer > > instead of creating a packet internally in PMD. Sorry for not catching this series before. As it has been said several times on this m

Re: [dpdk-dev] [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 5:27 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO > > > >> -Orig

Re: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to meson build

2017-10-04 Thread Bruce Richardson
On Wed, Oct 04, 2017 at 04:34:11PM +0100, Van Haaren, Harry wrote: > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > > Sent: Thursday, September 21, 2017 3:55 PM > > To: dev@dpdk.org > > Cc: Richardson, Bruce > > Subject: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module

Re: [dpdk-dev] [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 4:09 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO > > > >> -Or

Re: [dpdk-dev] [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Wednesday, October 4, 2017 5:23 PM > To: Ananyev, Konstantin ; dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Yigit, Ferruh ; tho...@monjalon.net > Subject: RE: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO > > >

Re: [dpdk-dev] [PATCH v5 7/9] power: add send channel msg function to map file

2017-10-04 Thread santosh
Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: > Adding new wrapper function to existing private (but unused 'till now) > function with an rte_power_ prefix. > > The plan is to clean up all the header files in the next release so > that only the intended public functions are i

Re: [dpdk-dev] [PATCH v6 3/6] gso: add VxLAN GSO support

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Wednesday, October 4, 2017 5:14 PM > To: Ananyev, Konstantin ; dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Yigit, Ferruh ; tho...@monjalon.net > Subject: RE: [PATCH v6 3/6] gso: add VxLAN GSO support > > >-Original Message--

Re: [dpdk-dev] [PATCH v1 6/6] bbdev: auxiliary changes to DPDK framework

2017-10-04 Thread Burakov, Anatoly
On 30-Sep-17 2:37 AM, Amr Mokhtar wrote: diff --git a/mk/rte.app.mk b/mk/rte.app.mk index c25fdd9..7286ad9 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -93,6 +93,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_NET)+= -lrte_net _LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev _LDL

Re: [dpdk-dev] [PATCH v6 3/6] gso: add VxLAN GSO support

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 3:12 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 3/6] gso: add VxLAN GSO support > > > >> -Original Message- >>

Re: [dpdk-dev] [PATCH v6 0/4] ethdev new offloads API

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Shahaf Shuler [mailto:shah...@mellanox.com] > Sent: Wednesday, October 4, 2017 9:18 AM > To: Ananyev, Konstantin ; tho...@monjalon.net; > arybche...@solarflare.com; > jerin.ja...@caviumnetworks.com; Yigit, Ferruh > Cc: dev@dpdk.org > Subject: [PATCH v6 0/4]

Re: [dpdk-dev] [PATCH v5 4/9] examples/vm_power_mgr: add scale to medium freq fn

2017-10-04 Thread santosh
Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: > Signed-off-by: Nemanja Marjanovic > Signed-off-by: Rory Sexton > Signed-off-by: David Hunt > --- > examples/vm_power_manager/power_manager.c | 15 +++ > examples/vm_power_manager/power_manager.h | 13

Re: [dpdk-dev] [PATCH v5 3/9] examples/vm_power_mgr: add vcpu to pcpu mapping

2017-10-04 Thread santosh
Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: > Signed-off-by: Nemanja Marjanovic > Signed-off-by: Rory Sexton > Signed-off-by: David Hunt > --- > examples/vm_power_manager/channel_manager.c | 62 > + > examples/vm_power_manager/channel_manage

Re: [dpdk-dev] [PATCH v5 2/9] lib/librte_power: add extra msg type for policies

2017-10-04 Thread santosh
Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: > Signed-off-by: Nemanja Marjanovic > Signed-off-by: Rory Sexton > Signed-off-by: David Hunt > --- Glad that ifdef clutter removed. Few nits though.. > lib/librte_power/channel_commands.h | 42 >

Re: [dpdk-dev] [PATCH v5 1/9] net/i40e: add API to convert VF MAC to VF id

2017-10-04 Thread santosh
Hi David, On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: > From: "Sexton, Rory" > > Need a way to convert a vf id to a pf id on the host so as to query the pf > for relevant statistics which are used for the frequency changes in the > vm_power_manager app. Used when profiles are passed

Re: [dpdk-dev] [PATCH v4 2/9] lib/librte_power: add extra msg type for policies

2017-10-04 Thread santosh
Hi David, On Wednesday 04 October 2017 02:45 PM, David Hunt wrote: > Signed-off-by: Nemanja Marjanovic > Signed-off-by: Rory Sexton > Signed-off-by: David Hunt > --- my 2cent: General comment on implementation approach: IMO, we should avoid PMD details in common lib area. example: file channe

Re: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to meson build

2017-10-04 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 21, 2017 3:55 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to > meson build > > Support compiling the FreeBSD kernel module

Re: [dpdk-dev] [PATCH v4 1/9] net/i40e: add API to convert VF MAC to VF id

2017-10-04 Thread santosh
On Wednesday 04 October 2017 02:45 PM, David Hunt wrote: > From: "Sexton, Rory" > > Need a way to convert a vf id to a pf id on the host so as to query the pf > for relevant statistics which are used for the frequency changes in the > vm_power_manager app. Used when profiles are passed down from

[dpdk-dev] [PATCH v5 9/9] examples/vm_power_mgr: set MAC address of VF

2017-10-04 Thread David Hunt
We need to set vf mac from the host, so that they will be in sync on the guest and the host. Otherwise, we'll have a random mac on the guest, and a 00:00:00:00:00:00 mac on the host. Signed-off-by: David Hunt --- examples/vm_power_manager/main.c | 43 +++- 1 f

[dpdk-dev] [PATCH v5 7/9] power: add send channel msg function to map file

2017-10-04 Thread David Hunt
Adding new wrapper function to existing private (but unused 'till now) function with an rte_power_ prefix. The plan is to clean up all the header files in the next release so that only the intended public functions are in the map file and only the relevant headers have the rte_ prefix so that only

[dpdk-dev] [PATCH v5 8/9] examples/guest_cli: add send policy to host

2017-10-04 Thread David Hunt
From: "Sexton, Rory" Here we're adding an example of setting up a policy, and allowing the vm_cli_guest app to send it to the host using the cli command "send_policy now" Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- .../guest_cli/vm_power_cli_gue

[dpdk-dev] [PATCH v5 6/9] examples/vm_power_mgr: add port initialisation

2017-10-04 Thread David Hunt
We need to initialise the port's we're monitoring to be able to see the throughput. Signed-off-by: Nemanja Marjanovic Signed-off-by: David Hunt --- examples/vm_power_manager/main.c | 220 +++ 1 file changed, 220 insertions(+) diff --git a/examples/vm_power_m

[dpdk-dev] [PATCH v5 2/9] lib/librte_power: add extra msg type for policies

2017-10-04 Thread David Hunt
Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- lib/librte_power/channel_commands.h | 42 + 1 file changed, 42 insertions(+) diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h in

[dpdk-dev] [PATCH v5 4/9] examples/vm_power_mgr: add scale to medium freq fn

2017-10-04 Thread David Hunt
Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/power_manager.c | 15 +++ examples/vm_power_manager/power_manager.h | 13 + 2 files changed, 28 insertions(+) diff --git a/examples/vm_power_manager/powe

[dpdk-dev] [PATCH v5 5/9] examples/vm_power_mgr: add policy to channels

2017-10-04 Thread David Hunt
From: "Sexton, Rory" Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/Makefile | 16 ++ examples/vm_power_manager/channel_monitor.c | 321 +++- examples/vm_power_manager/channel_monitor.h |

[dpdk-dev] [PATCH v5 3/9] examples/vm_power_mgr: add vcpu to pcpu mapping

2017-10-04 Thread David Hunt
Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/channel_manager.c | 62 + examples/vm_power_manager/channel_manager.h | 25 2 files changed, 87 insertions(+) diff --git a/examples/vm_p

[dpdk-dev] [PATCH v5 1/9] net/i40e: add API to convert VF MAC to VF id

2017-10-04 Thread David Hunt
From: "Sexton, Rory" Need a way to convert a vf id to a pf id on the host so as to query the pf for relevant statistics which are used for the frequency changes in the vm_power_manager app. Used when profiles are passed down from the guest to the host, allowing the host to map the vfs to pfs. Si

[dpdk-dev] [PATCH v5 0/9] Policy Based Power Control for Guest

2017-10-04 Thread David Hunt
Policy Based Power Control for Guest This patchset adds the facility for a guest VM to send a policy down to the host that will allow the host to scale up/down cpu frequencies depending on the policy criteria independently of the DPDK app running in the guest. This differs from the previous vm_po

Re: [dpdk-dev] [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Monday, October 2, 2017 5:46 PM > To: dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Ananyev, Konstantin ; Yigit, > Ferruh ; tho...@monjalon.net; Kavanagh, Mark B > > Subject: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and

Re: [dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-04 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 3:49 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 2/6] gso: add TCP/IPv4 GSO support > >> >> int >> >> rte_gso_segment(struct rte_mbuf *pkt, >> >>

Re: [dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-04 Thread Ananyev, Konstantin
> >> int > >> rte_gso_segment(struct rte_mbuf *pkt, > >> @@ -41,12 +46,53 @@ > >>struct rte_mbuf **pkts_out, > >>uint16_t nb_pkts_out) > >> { > >> + struct rte_mempool *direct_pool, *indirect_pool; > >> + struct rte_mbuf *pkt_seg; > >> + uint64_t ol_flags; > >> + uint

Re: [dpdk-dev] [PATCH v6 4/6] gso: add GRE GSO support

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 3:16 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 4/6] gso: add GRE GSO support > > >> diff --git a/lib/librte_gso/rte_

Re: [dpdk-dev] [PATCH v6 3/6] gso: add VxLAN GSO support

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 3:12 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 3/6] gso: add VxLAN GSO support > > > >> -Original Message- >

Re: [dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 2:32 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 2/6] gso: add TCP/IPv4 GSO support > >Hi Mark, > >> -Original Mes

Re: [dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-04 Thread Kavanagh, Mark B
>-Original Message- >From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 2:36 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 2/6] gso: add TCP/IPv4 GSO support > > > >> -Original Message

Re: [dpdk-dev] [PATCH v6 4/6] gso: add GRE GSO support

2017-10-04 Thread Ananyev, Konstantin
> diff --git a/lib/librte_gso/rte_gso.c b/lib/librte_gso/rte_gso.c > index 6095689..b748ab1 100644 > --- a/lib/librte_gso/rte_gso.c > +++ b/lib/librte_gso/rte_gso.c > @@ -60,8 +60,9 @@ > > if ((gso_ctx->gso_size >= pkt->pkt_len) || (gso_ctx->gso_types & > (DEV_

Re: [dpdk-dev] [PATCH 0/3] Extend port and queue attribute get functions

2017-10-04 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Wednesday, September 20, 2017 4:21 PM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > > Subject: [PATCH 0/3] Extend port and queue attribute get functions > > This patchset makes the full queue and port configuration structures > accessible

Re: [dpdk-dev] [PATCH v6 3/6] gso: add VxLAN GSO support

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Monday, October 2, 2017 5:46 PM > To: dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Ananyev, Konstantin ; Yigit, > Ferruh ; tho...@monjalon.net; Kavanagh, Mark B > > Subject: [PATCH v6 3/6] gso: add VxLAN GSO support > > This pa

[dpdk-dev] [PATCH v8 0/2] et/i40e: get information about protocols defined in ddp profile

2017-10-04 Thread Kirill Rybalchenko
This patch adds ability to request information about protocols defined in dynamic device personalization profile v2: Some code style warnings were removed v3: info_size parameter always represents size of the info buffer in bytes; fix code style; v4: another code style fixes v5: in testpmd buf

[dpdk-dev] [PATCH v8 2/2] app/testpmd: get information about protocols defined in ddp profile

2017-10-04 Thread Kirill Rybalchenko
Update 'ddp get info' command to display protocols defined in a profile v5 buff_size parameter in rte_pmd_i40e_get_ddp_info function call always represents buffer size in bytes v6 fix bug with wrong usage of buff_size parameter v8 Fix code style warnings. Signed-off-by: Kirill Rybalchenko ---

[dpdk-dev] [PATCH v8 1/2] net/i40e: get information about protocols defined in ddp profile

2017-10-04 Thread Kirill Rybalchenko
This patch adds new package info types to get list of protocols, pctypes and ptypes defined in a profile --- v3 info_size parameter always represents size of the info buffer in bytes v6 fix bug with wrong usage of info_size parameter v7 change misleading variable names, change order of checking

Re: [dpdk-dev] [PATCH] eal: add doc for constructor macros

2017-10-04 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, October 3, 2017 10:15 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH] eal: add doc for constructor macros > > 02/10/2017 20:57, Ferruh Yigit: > > On 1

Re: [dpdk-dev] [PATCH v6 6/6] doc: add GSO programmer's guide

2017-10-04 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Mark Kavanagh > Sent: Monday, October 2, 2017 5:46 PM > To: dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng > ; Ananyev, Konstantin > ; Yigit, Ferruh ; > tho...@monjalon.net; Kavanagh, Mark B > Subject: [dpdk-dev] [

Re: [dpdk-dev] [PATCH v6 4/4] doc: add details on ethdev offloads API

2017-10-04 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shahaf Shuler > Sent: Wednesday, October 4, 2017 9:18 AM > To: Ananyev, Konstantin ; > tho...@monjalon.net; arybche...@solarflare.com; > jerin.ja...@caviumnetworks.com; Yigit, Ferruh > Cc: dev@dpdk.org > Subject:

Re: [dpdk-dev] [PATCH v6 7/7] doc: add membership documentation

2017-10-04 Thread Mcnamara, John
> -Original Message- > From: Wang, Yipeng1 > Sent: Wednesday, October 4, 2017 4:12 AM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; De Lara Guarch, Pablo > ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v6 7/7] doc: add membership documentation >

Re: [dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Wednesday, October 4, 2017 2:32 PM > To: Kavanagh, Mark B ; dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Yigit, Ferruh ; tho...@monjalon.net > Subject: RE: [PATCH v6 2/6] gso: add TCP/IPv4 GSO support > > Hi Mark, > > > -

Re: [dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-04 Thread Ananyev, Konstantin
Hi Mark, > -Original Message- > From: Kavanagh, Mark B > Sent: Monday, October 2, 2017 5:46 PM > To: dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Ananyev, Konstantin ; Yigit, > Ferruh ; tho...@monjalon.net; Kavanagh, Mark B > > Subject: [PATCH v6 2/6] gso: add TCP/IPv4 GSO support >

Re: [dpdk-dev] [PATCH v6 1/6] gso: add Generic Segmentation Offload API framework

2017-10-04 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Wednesday, October 4, 2017 2:11 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: Hu, Jiayu ; Tan, Jianfeng ; >Yigit, Ferruh ; tho...@monjalon.net >Subject: RE: [PATCH v6 1/6] gso: add Generic Segmentation Offload API >framework > > > >> -Original Message- >>

Re: [dpdk-dev] [PATCH v3 2/4] net/mrvl: add mrvl net pmd driver

2017-10-04 Thread Tomasz Duszynski
On Wed, Oct 04, 2017 at 01:28:47AM +0100, Ferruh Yigit wrote: > On 10/3/2017 12:51 PM, Tomasz Duszynski wrote: > > Add support for the Marvell PPv2 (Packet Processor v2) 1/10 Gbps adapter. > > Driver is based on external, publicly available, light-weight Marvell > > MUSDK library that provides acce

Re: [dpdk-dev] [PATCH v2] vfio: refactor PCI BAR mapping

2017-10-04 Thread Burakov, Anatoly
On 25-Sep-17 4:04 PM, Jonas Pfefferle wrote: Split pci_vfio_map_resource for primary and secondary processes. Save all relevant mapping data in primary process to allow the secondary process to perform mappings. Signed-off-by: Jonas Pfefferle --- v2: * fix zero size and offset when trying to mm

Re: [dpdk-dev] [PATCH v6 1/6] gso: add Generic Segmentation Offload API framework

2017-10-04 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Monday, October 2, 2017 5:46 PM > To: dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; > Ananyev, Konstantin ; Yigit, > Ferruh ; tho...@monjalon.net; Kavanagh, Mark B > > Subject: [PATCH v6 1/6] gso: add Generic Segmentation Offload A

  1   2   >