Re: [dpdk-dev] [PATCH v1] app/pdump: add check for PCAP PMD

2018-03-06 Thread Varghese, Vipin
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Monday, March 5, 2018 2:33 PM > To: Varghese, Vipin ; dev@dpdk.org; Pattan, > Reshma > Cc: Mcnamara, John > Subject: Re: [dpdk-dev] [PATCH v1] app/pdump: add check for PCAP PMD > > On 3/5/2018 7:57 AM, Vipin Varghese wrote: >

Re: [dpdk-dev] [PATCH 3/4] drivers/net: do not allocate rte_eth_dev_data privately

2018-03-06 Thread Tan, Jianfeng
> -Original Message- > From: Matan Azrad [mailto:ma...@mellanox.com] > Sent: Tuesday, March 6, 2018 2:08 PM > To: Tan, Jianfeng; Yigit, Ferruh > Cc: Richardson, Bruce; Ananyev, Konstantin; Thomas Monjalon; > maxime.coque...@redhat.com; Burakov, Anatoly; dev@dpdk.org > Subject: RE: [dpdk-d

Re: [dpdk-dev] [PATCH v2] doc: add driver limitation for vhost dequeue zero copy

2018-03-06 Thread Maxime Coquelin
On 02/27/2018 10:21 AM, Junjie Chen wrote: In vhost-switch example, when binding nic to vfio-pci, dequeue zero copy cannot work in VM2NIC mode due to no iommu dma mapping is setup for guest memory currently. Signed-off-by: Junjie Chen --- Changes in V2: - add doc in vhost lib doc/guides/

Re: [dpdk-dev] [PATCH] vhost: add note about sockets in server mode

2018-03-06 Thread Maxime Coquelin
Hi Ilya, On 02/26/2018 09:39 AM, Ilya Maximets wrote: From time to time, someone sends patches about unlinking existing sockets when registering a vhost user in server mode. A recent example: http://dpdk.org/ml/archives/dev/2018-February/090025.html This problem has been discussed man

Re: [dpdk-dev] [RFC 1/4] drivers/bus/ifpga:Intel FPGA Bus Lib Code

2018-03-06 Thread Xu, Rosen
-Original Message- From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] Sent: Tuesday, March 06, 2018 14:10 To: Xu, Rosen Cc: dev@dpdk.org; Doherty, Declan ; Zhang, Tianfei Subject: Re: [dpdk-dev] [RFC 1/4] drivers/bus/ifpga:Intel FPGA Bus Lib Code Hello Rosen, I have some initial (

[dpdk-dev] [PATCH] net/bonding: avoid wrong casting on primary_slave_port_id from input param

2018-03-06 Thread Gowrishankar
From: Gowrishankar Muthukrishnan primary_slave_port_id is uint16_t which needs to be correctly stored with the same data type of input parameter in bond_ethdev_configure. Fixes: f8244c6399 ("ethdev: increase port id range") Cc: sta...@dpdk.org Signed-off-by: Gowrishankar Muthukrishnan --- In

Re: [dpdk-dev] [PATCH] ethdev: return diagnostic when setting MAC address

2018-03-06 Thread Tomasz Duszynski
Hi, Some comments inline. On Tue, Feb 27, 2018 at 04:11:29PM +0100, Olivier Matz wrote: > Change the prototype and the behavior of dev_ops->eth_mac_addr_set(): a > return code is added to notify the caller (librte_ether) if an error > occurred in the PMD. > > The new default MAC address is now co

Re: [dpdk-dev] [PATCH v2 1/6] vhost: export vhost feature definitions

2018-03-06 Thread Tan, Jianfeng
> -Original Message- > From: Wang, Zhihong > Sent: Tuesday, February 13, 2018 5:21 PM > To: dev@dpdk.org > Cc: Tan, Jianfeng; Bie, Tiwei; maxime.coque...@redhat.com; > y...@fridaylinux.org; Liang, Cunming; Wang, Xiao W; Daly, Dan; Wang, > Zhihong > Subject: [PATCH v2 1/6] vhost: export vh

Re: [dpdk-dev] [PATCH v2 6/6] vhost: export new apis

2018-03-06 Thread Tan, Jianfeng
> -Original Message- > From: Wang, Zhihong > Sent: Tuesday, February 13, 2018 5:21 PM > To: dev@dpdk.org > Cc: Tan, Jianfeng; Bie, Tiwei; maxime.coque...@redhat.com; > y...@fridaylinux.org; Liang, Cunming; Wang, Xiao W; Daly, Dan; Wang, > Zhihong > Subject: [PATCH v2 6/6] vhost: export ne

Re: [dpdk-dev] OPDL and 18.02 Release Notes

2018-03-06 Thread Mccarthy, Peter
The O stands for "Optimized", we will make the necessary changes to remove inconsistencies. Regards Peter -Original Message- From: Yigit, Ferruh Sent: Monday, March 5, 2018 5:58 PM To: Rosen, Rami ; dev@dpdk.org Cc: tho...@monjalon.net; Ma, Liang J ; Mccarthy, Peter Subject: Re: [dpdk

Re: [dpdk-dev] [RFC 1/4] drivers/bus/ifpga:Intel FPGA Bus Lib Code

2018-03-06 Thread Gaëtan Rivet
Hi Rosen, A few comments inline. (I will skip elements already pointed out by Shreyansh.) On Tue, Mar 06, 2018 at 09:43:55AM +0800, Rosen Xu wrote: > Signed-off-by: Rosen Xu > --- > drivers/bus/ifpga/Makefile | 64 > drivers/bus/ifpga/ifpga_bus.c | 527 > ++

Re: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned after PCI Bus

2018-03-06 Thread Xu, Rosen
-Original Message- From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] Sent: Tuesday, March 06, 2018 14:20 To: Xu, Rosen Cc: dev@dpdk.org; Doherty, Declan ; Zhang, Tianfei Subject: Re: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned a

[dpdk-dev] [PATCH 1/3] vhost: do not generate signal when sendmsg fails

2018-03-06 Thread Tiwei Bie
Signed-off-by: Tiwei Bie --- lib/librte_vhost/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c index 0354740fa..d703d2114 100644 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c @@ -181,7 +181,7 @@ se

[dpdk-dev] [PATCH 2/3] vhost: support sending fds via send_vhost_message()

2018-03-06 Thread Tiwei Bie
This function will be used to send fds to QEMU via slave channel. Signed-off-by: Tiwei Bie --- lib/librte_vhost/vhost_user.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c index 8b07b6c43..e3a1dfbfb 100644

[dpdk-dev] [PATCH 3/3] vhost: support VFIO based accelerator

2018-03-06 Thread Tiwei Bie
This commit adds the VFIO based accelerator support to vhost. A new API is provided to support asking QEMU to do further setup to allow notifications and interrupts being delivered directly between the driver in guest and the vDPA device in host. Signed-off-by: Tiwei Bie --- lib/librte_vhost/rte

[dpdk-dev] [PATCH 0/3] Extend vhost to support VFIO based accelerator

2018-03-06 Thread Tiwei Bie
This patch set introduces the VFIO based accelerator support for vhost. This is a new vhost user protocol feature to better support the vDPA device at the vhost user backend. It allows interrupts/notifications being delivered between the driver in guest and the device in host directly. Dependencie

Re: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned after PCI Bus

2018-03-06 Thread Gaëtan Rivet
On Tue, Mar 06, 2018 at 10:42:14AM +, Xu, Rosen wrote: > > > -Original Message- > From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] > Sent: Tuesday, March 06, 2018 14:20 > To: Xu, Rosen > Cc: dev@dpdk.org; Doherty, Declan ; Zhang, Tianfei > > Subject: Re: [dpdk-dev] [RFC 3/4] l

[dpdk-dev] Anyone who can help?

2018-03-06 Thread wang.yong19
Hi, I met a problem when i use git to get code from dpdk.org. I never met this before. Is there anyone know what happened with this? [root@localhost dpdk]# git pull fatal: unable to access 'http://dpdk.org/git/dpdk/': The requested URL returned error: 502 [root@localhost wangyong]# git clone h

Re: [dpdk-dev] [PATCH v4 2/5] eal: use file to check if secondary process is ready

2018-03-06 Thread Burakov, Anatoly
On 02-Mar-18 3:14 PM, Anatoly Burakov wrote: Previously, IPC would remove sockets it considers to be "inactive" based on whether they have responded. We also need to prevent sending messages to processes that are active, but haven't yet finished initialization. This will create a "init file" per

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-06 Thread Burakov, Anatoly
On 03-Mar-18 1:45 PM, Anatoly Burakov wrote: This patchset introduces dynamic memory allocation for DPDK (aka memory hotplug). Based upon RFC submitted in December [1]. For those testing this patch, there's a deadlock-at-startup issue when DPDK is started with no memory. This will be fixed in

Re: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned after PCI Bus

2018-03-06 Thread Bruce Richardson
On Tue, Mar 06, 2018 at 11:46:22AM +0100, Gaëtan Rivet wrote: > On Tue, Mar 06, 2018 at 10:42:14AM +, Xu, Rosen wrote: > > > > > > -Original Message- > > From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] > > Sent: Tuesday, March 06, 2018 14:20 > > To: Xu, Rosen > > Cc: dev@dpdk.o

Re: [dpdk-dev] [PATCH v2] net/null:Different mac address support

2018-03-06 Thread Ferruh Yigit
On 3/6/2018 3:35 AM, Mallesh Koujalagi wrote: > After attaching two Null device to ovs, seeing "00.00.00.00.00.00" mac > address for both null devices. Fix this issue, by setting different mac > address. > > Signed-off-by: Mallesh Koujalagi <...> > @@ -514,12 +524,21 @@ eth_dev_null_create(stru

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/bonding: avoid wrong casting on primary_slave_port_id from input param

2018-03-06 Thread Ferruh Yigit
On 3/6/2018 9:37 AM, Gowrishankar wrote: > From: Gowrishankar Muthukrishnan > > primary_slave_port_id is uint16_t which needs to be correctly stored > with the same data type of input parameter in bond_ethdev_configure. > > Fixes: f8244c6399 ("ethdev: increase port id range") > Cc: sta...@dpdk.o

Re: [dpdk-dev] [PATCH v1] app/pdump: add check for PCAP PMD

2018-03-06 Thread Ferruh Yigit
On 3/6/2018 8:45 AM, Varghese, Vipin wrote: > Hi Ferruh, > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Monday, March 5, 2018 2:33 PM >> To: Varghese, Vipin ; dev@dpdk.org; Pattan, >> Reshma >> Cc: Mcnamara, John >> Subject: Re: [dpdk-dev] [PATCH v1] app/pdump: add check for PCA

Re: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned after PCI Bus

2018-03-06 Thread Gaëtan Rivet
On Tue, Mar 06, 2018 at 11:36:17AM +, Bruce Richardson wrote: > On Tue, Mar 06, 2018 at 11:46:22AM +0100, Gaëtan Rivet wrote: > > On Tue, Mar 06, 2018 at 10:42:14AM +, Xu, Rosen wrote: > > > > > > > > > -Original Message- > > > From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com]

Re: [dpdk-dev] [PATCH v1] app/pdump: add check for PCAP PMD

2018-03-06 Thread Pattan, Reshma
> > +ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),n) > +$(error "Please enable CONFIG_RTE_LIBRTE_PMD_PCAP") endif > + How about combining If(($(CONFIG_RTE_LIBRTE_PMD_PCAP),y) check with below existing if check? with this, dpdk-pdump will be compiled only when both the flags are enabled. > ifeq ($(CONFI

Re: [dpdk-dev] Anyone who can help?

2018-03-06 Thread Nélio Laranjeiro
+Thomas, Hi, On Tue, Mar 06, 2018 at 06:54:25PM +0800, wang.yon...@zte.com.cn wrote: > Hi, > I met a problem when i use git to get code from dpdk.org. I never met this > before. > Is there anyone know what happened with this? > > [root@localhost dpdk]# git pull > fatal: unable to access 'http:

Re: [dpdk-dev] [PATCH v2 1/6] vhost: export vhost feature definitions

2018-03-06 Thread Maxime Coquelin
On 03/06/2018 10:37 AM, Tan, Jianfeng wrote: -Original Message- From: Wang, Zhihong Sent: Tuesday, February 13, 2018 5:21 PM To: dev@dpdk.org Cc: Tan, Jianfeng; Bie, Tiwei; maxime.coque...@redhat.com; y...@fridaylinux.org; Liang, Cunming; Wang, Xiao W; Daly, Dan; Wang, Zhihong Subjec

Re: [dpdk-dev] [PATCH 3/3] vhost: support VFIO based accelerator

2018-03-06 Thread Maxime Coquelin
On 03/06/2018 11:43 AM, Tiwei Bie wrote: This commit adds the VFIO based accelerator support to vhost. A new API is provided to support asking QEMU to do further setup to allow notifications and interrupts being delivered directly between the driver in guest and the vDPA device in host. Signed

Re: [dpdk-dev] [PATCH 2/6] net/sfc: add support for driver-wide dynamic logging

2018-03-06 Thread Andrew Rybchenko
On 03/05/2018 05:59 PM, Ferruh Yigit wrote: On 1/25/2018 5:00 PM, Andrew Rybchenko wrote: From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton <...> @@ -2082,3 +2084,14 @@ RTE_PMD_REGISTER_PARAM_STRING(net_sfc_efx, SFC_KVARG_STATS_U

Re: [dpdk-dev] [PATCH 2/6] net/sfc: add support for driver-wide dynamic logging

2018-03-06 Thread Andrew Rybchenko
On 03/06/2018 05:45 PM, Andrew Rybchenko wrote: On 03/05/2018 05:59 PM, Ferruh Yigit wrote: On 1/25/2018 5:00 PM, Andrew Rybchenko wrote: From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton <...> @@ -2082,3 +2084,14 @@ RTE_PMD_REGISTER_PA

Re: [dpdk-dev] [PATCH 01/14] net/sfc/base: support filters for encapsulated packets

2018-03-06 Thread Andrew Rybchenko
On 02/27/2018 03:45 PM, Andrew Rybchenko wrote: From: Roman Zhukov This adds filters for encapsulated packets to the list returned by ef10_filter_supported_filters(). Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/base/ef10_filter

Re: [dpdk-dev] Anyone who can help?

2018-03-06 Thread Thomas Monjalon
06/03/2018 11:54, wang.yon...@zte.com.cn: > Hi, > I met a problem when i use git to get code from dpdk.org. I never met this > before. > Is there anyone know what happened with this? > > [root@localhost dpdk]# git pull > fatal: unable to access 'http://dpdk.org/git/dpdk/': The requested URL > r

Re: [dpdk-dev] [PATCH 2/6] net/sfc: add support for driver-wide dynamic logging

2018-03-06 Thread Ferruh Yigit
On 3/6/2018 2:56 PM, Andrew Rybchenko wrote: > > In fact it could be really required if dynamic library is used and it is > pulled later using dlopen() - don't know if there are any restrictions in > DPDK which prevent it. That function has constructor attribute, not sure how it works for that ca

[dpdk-dev] [PATCH v2 05/14] net/sfc: add VXLAN in flow API filters support

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Exact match of VXLAN network identifier is supported by parser. IP protocol match are enforced to UDP. Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Ivan Malov Reviewed-by: Andy Moreton --- doc/guides/nics/sfc_efx.rst | 2 + drivers/net/sfc/sf

[dpdk-dev] [PATCH v2 13/14] net/sfc: avoid creation of ineffective flow rules

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Despite being versatile, the hardware support for filtering has a number of special properties which must be taken into account. Namely, there is a known set of valid filters which don't take any effect despite being accepted by the hardware. The combinations of match flags an

[dpdk-dev] [PATCH v2 07/14] net/sfc: add GENEVE in flow API filters support

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Exact match of virtual network identifier is supported by parser. IP protocol match are enforced to UDP. Only Ethernet protocol type is supported. Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Ivan Malov Reviewed-by: Andy Moreton --- doc/guides/

[dpdk-dev] [PATCH v2 10/14] net/sfc: multiply of specs with an unknown EtherType

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Hardware filter specification for encapsulated traffic must contain EtherType. In terms of RTE flow API, this would require L3 item to be used in the flow rule. In the simplest case, if the user needs to filter encapsulated traffic without knowledge of exact EtherType, they wil

[dpdk-dev] [PATCH v2 11/14] net/sfc: multiply of specs w/o inner frame destination MAC

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Knowledge of a network identifier is not sufficient to construct a workable hardware filter for encapsulated traffic. It's obligatory to specify one of the match flags associated with inner frame destination MAC. If the address is unknown, then one needs to specify either unkno

[dpdk-dev] [PATCH v2 04/14] net/sfc/base: distinguish filters for encapsulated packets

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Add filter match flag to distinguish filters applied only to encapsulated packets. Match flags set should allow to determine whether a filter is supported or not. The problem is that if specification has supported set outer match flags and specified encapsulation without any i

[dpdk-dev] [PATCH v2 02/14] net/sfc/base: support VNI/VSID and inner frame local MAC

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov This supports VNI/VSID and inner frame local MAC fields to match in VXLAN, GENEVE, or NVGRE packets. Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/base/ef10_filter.c | 18 ++ drivers/net/sfc/base/e

[dpdk-dev] [PATCH v2 00/14] net/sfc: support flow API for tunnels

2018-03-06 Thread Andrew Rybchenko
Update base driver and the PMD itself to support flow API patterns for tunnels: VXLAN, NVGRE and Geneve. Applicable to SFN8xxx NICs with full-feature firmware variant running. Andrew Rybchenko (1): doc: add net/sfc flow API support for tunnels Roman Zhukov (12): net/sfc/base: support filters

[dpdk-dev] [PATCH v2 01/14] net/sfc/base: support filters for encapsulated packets

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov This adds filters for encapsulated packets to the list returned by ef10_filter_supported_filters(). Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- v2: - fix assertion drivers/net/sfc/base/ef10_filter.c | 65 +

[dpdk-dev] [PATCH v2 03/14] net/sfc/base: support VXLAN filter creation

2018-03-06 Thread Andrew Rybchenko
From: Vijay Srivastava Signed-off-by: Vijay Srivastava Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h| 7 +++ drivers/net/sfc/base/efx_filter.c | 36 2 files changed, 43 insertions(+) diff --git a/drivers/net/sfc/base/efx.h b/d

[dpdk-dev] [PATCH v2 06/14] net/sfc: add NVGRE in flow API filters support

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Exact match of virtual subnet ID is supported by parser. IP protocol match are enforced to GRE. Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Ivan Malov Reviewed-by: Andy Moreton --- doc/guides/nics/sfc_efx.rst | 2 ++ drivers/net/sfc/sfc_flow.

[dpdk-dev] [PATCH v2 09/14] net/sfc: add infrastructure to make many filters from flow

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Not all flow rules can be expressed in one hardware filter, so some flow rules have to be expressed in terms of multiple hardware filters. This patch provides a means to produce a filter spec template from the flow rule which then can be used to produce a set of fully elaborate

[dpdk-dev] [PATCH v2 08/14] net/sfc: add inner frame ETH in flow API filters support

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov Support destination MAC address match in inner frames. Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko Reviewed-by: Ivan Malov Reviewed-by: Andy Moreton --- doc/guides/nics/sfc_efx.rst | 4 ++- drivers/net/sfc/sfc_flow.c | 73

[dpdk-dev] [PATCH v2 14/14] doc: add net/sfc flow API support for tunnels

2018-03-06 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko --- doc/guides/rel_notes/release_18_05.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_18_05.rst b/doc/guides/rel_notes/release_18_05.rst index 3923dc2..894f636 100644 --- a/doc/guides/rel_notes/release_18_05.rst +++ b/do

[dpdk-dev] [PATCH v2 12/14] net/sfc: multiply of specs with an unknown destination MAC

2018-03-06 Thread Andrew Rybchenko
From: Roman Zhukov To filter all traffic, need to create two hardware filter specifications with both unknown unicast and unknown multicast destination MAC address match flags. In terms of RTE flow API, this would require adding multiple flow rules with corresponding ETH items. In order to avoid

[dpdk-dev] [RFC PATCH] net/bonding: add rte flow support

2018-03-06 Thread Matan Azrad
Ethernet devices which are grouped by bonding PMD, aka slaves, are sharing the same queues and RSS configurations and their Rx burst functions must be managed by the bonding PMD according to the bonding architecture. So, it makes sense to configure the same flow rules for all the bond slaves to al

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/bonding: avoid wrong casting on primary_slave_port_id from input param

2018-03-06 Thread Ferruh Yigit
On 3/6/2018 11:51 AM, Ferruh Yigit wrote: > On 3/6/2018 9:37 AM, Gowrishankar wrote: >> From: Gowrishankar Muthukrishnan >> >> primary_slave_port_id is uint16_t which needs to be correctly stored >> with the same data type of input parameter in bond_ethdev_configure. >> >> Fixes: f8244c6399 ("ethd

Re: [dpdk-dev] [PATCH] vhost: stop device before updating public vring data

2018-03-06 Thread Maxime Coquelin
Hi Tomasz, On 03/05/2018 05:11 PM, Tomasz Kulasek wrote: For now DPDK assumes that callfd, kickfd and last_idx are being set just once during vring initialization and device cannot be running while DPDK receives SET_VRING_KICK, SET_VRING_CALL and SET_VRING_BASE messages. However, that assumption

[dpdk-dev] [PATCH] app/testpmd: print Rx/Tx offload values

2018-03-06 Thread Ferruh Yigit
It is not clear which per port offloads are enabled. Printing offloads values at forwarding start. CRC strip offload value was printed in more verbose manner, it is removed since Rx/Tx offload values covers it and printing only CRC one can cause confusion. Hexadecimal offloads values are not very

Re: [dpdk-dev] [PATCH v1] net/tap: allow user MAC to be passed as args

2018-03-06 Thread Ferruh Yigit
On 2/12/2018 2:44 PM, Vipin Varghese wrote: > Allow TAP PMD to pass user desired MAC address as argument. > The argument value is processed as string delimited by ':', > is parsed and converted to HEX MAC address after validation. > > Signed-off-by: Vipin Varghese > Signed-off-by: Pascal Mazon

Re: [dpdk-dev] 16.11.5 (LTS) patches review and test

2018-03-06 Thread Luca Boccassi
On Tue, 2018-03-06 at 11:07 +0530, gowrishankar muthukrishnan wrote: > On Monday 05 March 2018 03:42 PM, Luca Boccassi wrote: > > On Mon, 2018-03-05 at 11:31 +0530, gowrishankar muthukrishnan > > wrote: > > > Hi Luca, > > > In powerpc to support i40e, we wish below patch be merged: > > > > > > c3d

Re: [dpdk-dev] [PATCH v1 1/2] net/octeontx: fix null pointer dereference

2018-03-06 Thread Ferruh Yigit
On 2/20/2018 5:14 PM, Santosh Shukla wrote: > Fixes: f18b146c498d ("net/octeontx: create ethdev ports") > Coverity issue: 195040 > > Cc: sta...@dpdk.org > Signed-off-by: Santosh Shukla Series applied to dpdk-next-net/master, thanks. BTW, what is the plan to switching new offloading API in PMD?

[dpdk-dev] [PATCH] eal: register rte_panic user callback

2018-03-06 Thread Arnon Warshavsky
The use case addressed here is dpdk environment init aborting the process due to panic, preventing the calling process from running its own tear-down actions. A preferred, though ABI breaking solution would be to have the environment init always return a value rather than abort upon distress. This

Re: [dpdk-dev] [PATCH 0/5] remove void pointer explicit cast

2018-03-06 Thread Ferruh Yigit
On 2/26/2018 8:10 AM, Zhiyong Yang wrote: > The patch series cleanup void pointer explicit cast related to > struct rte_flow_item fields in librte_flow_classify and make > code more readable. > > Zhiyong Yang (5): > flow_classify: remove void pointer cast > net/ixgbe: remove void pointer cast

[dpdk-dev] [PATCH] net/bnxt: switch to the new offload API

2018-03-06 Thread Ajit Khaparde
Update bnxt PMD to new ethdev offloads API. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 59 +- 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 21c46f

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-03-06 Thread Ahmed Mansour
On 3/5/2018 9:32 AM, Verma, Shally wrote: > >> -Original Message- >> From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >> Sent: 03 March 2018 01:19 >> To: Trahe, Fiona ; Verma, Shally >> ; dev@dpdk.org >> Cc: De Lara Guarch, Pablo ; Athreya, >> Narayana Prasad ; >> Gupta, Ashish ; Sahu,

[dpdk-dev] [PATCH v3] net/null:Different mac address support

2018-03-06 Thread Mallesh Koujalagi
After attaching two Null device to ovs, seeing "00.00.00.00.00.00" mac address for both null devices. Fix this issue, by setting different mac address. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a

[dpdk-dev] Fwd: PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R

2018-03-06 Thread sujith sankar
Hi all, Is PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R available? There are a few documents in Broadcom's site. But could not find the source code of it. I believe 6Wind team developed the PMD for Broadcom. But what is the status of it? Is it freely available? Tried to get some help from

Re: [dpdk-dev] [RFC 4/4] drivers/raw/ifpga_rawdev: Rawdev for Intel FPGA Device, it's a PCI Driver of FPGA Device Manager

2018-03-06 Thread Zhang, Tianfei
-Original Message- From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] Sent: Tuesday, March 6, 2018 2:48 PM To: Xu, Rosen Cc: dev@dpdk.org; Doherty, Declan ; Zhang, Tianfei Subject: Re: [dpdk-dev] [RFC 4/4] drivers/raw/ifpga_rawdev: Rawdev for Intel FPGA Device, it's a PCI Driver of

Re: [dpdk-dev] [PATCH 3/4] drivers/net: do not allocate rte_eth_dev_data privately

2018-03-06 Thread Matan Azrad
Hi Jianfeng From: Tan, Jianfeng, Sent: Tuesday, March 6, 2018 10:56 AM > > -Original Message- > > From: Matan Azrad [mailto:ma...@mellanox.com] > > Sent: Tuesday, March 6, 2018 2:08 PM > > To: Tan, Jianfeng; Yigit, Ferruh > > Cc: Richardson, Bruce; Ananyev, Konstantin; Thomas Monjalon; > >

Re: [dpdk-dev] [PATCH 3/4] drivers/net: do not allocate rte_eth_dev_data privately

2018-03-06 Thread Matan Azrad
Hi Jianfeng From: Matan Azrad, Wednesday, March 7, 2018 8:01 AM > Hi Jianfeng > > From: Tan, Jianfeng, Sent: Tuesday, March 6, 2018 10:56 AM > > > -Original Message- > > > From: Matan Azrad [mailto:ma...@mellanox.com] > > > Sent: Tuesday, March 6, 2018 2:08 PM > > > To: Tan, Jianfeng; Yi