Re: [dpdk-dev] [PATCH v2] bus/pci: fix wrong intr_handle.type with uio_pci_generic

2017-12-30 Thread Yang, Zhiyong
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, December 29, 2017 7:07 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; Yigit, Ferruh ; sta...@dpdk.org > Subject: Re: [PATCH v2] bus/pci: fix wrong intr_handle.type with > uio_pci_generic > > 29/12/201

[dpdk-dev] [PATCH] build: add support for detecting march on ARM

2017-12-30 Thread Pavan Nikhilesh
Added support for detecting march and mcpu by reading midr_el1 register. The implementer, primary part number values read can be used to figure out the underlying arm cpu. Signed-off-by: Pavan Nikhilesh --- The current method used for reading MIDR_EL1 form userspace might not be reliable and c

Re: [dpdk-dev] [PATCHv3 0/4] dpdk: enhance EXPERIMENTAL api tagging

2017-12-30 Thread Neil Horman
On Tue, Dec 12, 2017 at 02:07:52PM +, Bruce Richardson wrote: > On Mon, Dec 11, 2017 at 02:36:15PM -0500, Neil Horman wrote: > > Hey all- > > A few days ago, I was lamenting the fact that, when reviewing patches I > > would frequently complain about ABI changes that were actually considered

Re: [dpdk-dev] [PATCH v2] ethdev: allow all ports event registration

2017-12-30 Thread Matan Azrad
Hi Thomas From: Thomas Monjalon, December 29, 2017 > Hi Matan, > > Please find some review details below. > > As this patch is needed for the notification of new ports, I will re-send them > in a patchset, with the minor modifications described below. > > 04/12/2017 16:43, Matan Azrad: > > --

Re: [dpdk-dev] [PATCHv4 0/4] dpdk: enhance EXPERIMENTAL api tagging

2017-12-30 Thread Luca Boccassi
On Wed, 2017-12-13 at 10:17 -0500, Neil Horman wrote: > Hey all- > A few days ago, I was lamenting the fact that, when reviewing > patches I > would frequently complain about ABI changes that were actually > considered safe > because they were part of the EXPERIMENTAL api set.  John M. aske

Re: [dpdk-dev] [PATCH v2] ethdev: allow all ports event registration

2017-12-30 Thread Thomas Monjalon
30/12/2017 20:04, Matan Azrad: > From: Thomas Monjalon, December 29, 2017 > > 04/12/2017 16:43, Matan Azrad: > > > @@ -2827,37 +2837,59 @@ > > > + uint32_t next_port; > > > + uint32_t last_port; > > > > A port id should be uint16_t. > > > Yes, I know but please note that we use next_port variabl

Re: [dpdk-dev] [PATCH v2] ethdev: allow all ports event registration

2017-12-30 Thread Matan Azrad
From: Thomas Monjalon, December 30, 2017 10:51 PM > 30/12/2017 20:04, Matan Azrad: > > From: Thomas Monjalon, December 29, 2017 > > > 04/12/2017 16:43, Matan Azrad: > > > > @@ -2827,37 +2837,59 @@ > > > > + uint32_t next_port; > > > > + uint32_t last_port; > > > > > > A port id shoul

[dpdk-dev] [PATCH v2] bus/vdev: add custom scan hook

2017-12-30 Thread Thomas Monjalon
The scan callback allows to spawn a vdev automatically given some custom scan rules. It is especially useful to create a TAP device automatically connected to a netdevice as remote. Signed-off-by: Thomas Monjalon --- v2: update .map file --- drivers/bus/vdev/rte_bus_vdev.h | 29 +++

[dpdk-dev] [PATCH v2] eal/x86: get hypervisor name

2017-12-30 Thread Thomas Monjalon
The CPUID instruction is catched by hypervisor which can return a flag indicating one is running, and its name. Suggested-by: Stephen Hemminger Signed-off-by: Thomas Monjalon --- v2 changes: - remove C99 style declaration - move code in rte_hypervisor.* files - add a func

[dpdk-dev] [PATCH 1/4] drivers/mempool: add octeontx mempool driver to meson build

2017-12-30 Thread Pavan Nikhilesh
Add octeontx hardware mempool driver to meson build. Signed-off-by: Pavan Nikhilesh --- drivers/mempool/meson.build | 2 +- drivers/mempool/octeontx/meson.build | 8 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 drivers/mempool/octeontx/meson.build diff -

[dpdk-dev] [PATCH 2/4] drivers/net: add drivers for Cavium NICs to meson build

2017-12-30 Thread Pavan Nikhilesh
Add Cavium octeontx and thunder nicvf to meson build infrastructure. Signed-off-by: Pavan Nikhilesh --- drivers/net/meson.build | 3 ++- drivers/net/octeontx/base/meson.build | 12 drivers/net/octeontx/meson.build

[dpdk-dev] [PATCH 4/4] app/test-eventdev: add test-eventdev to meson build

2017-12-30 Thread Pavan Nikhilesh
Signed-off-by: Pavan Nikhilesh --- app/meson.build | 1 + app/test-eventdev/meson.build | 25 + 2 files changed, 26 insertions(+) create mode 100644 app/test-eventdev/meson.build diff --git a/app/meson.build b/app/meson.build index c5b785928..0088de464 100

[dpdk-dev] [PATCH 3/4] event/octeontx: add octeontx event device to meson build

2017-12-30 Thread Pavan Nikhilesh
Add Cavium octeontx to meson build and change order of drivers built from event->mempool->net to mempool->net->event to resolve dependency. Signed-off-by: Pavan Nikhilesh --- drivers/event/meson.build| 2 +- drivers/event/octeontx/meson.build

Re: [dpdk-dev] [PATCHv4 0/4] dpdk: enhance EXPERIMENTAL api tagging

2017-12-30 Thread Neil Horman
On Sat, Dec 30, 2017 at 08:20:58PM +0100, Luca Boccassi wrote: > On Wed, 2017-12-13 at 10:17 -0500, Neil Horman wrote: > > Hey all- > > A few days ago, I was lamenting the fact that, when reviewing > > patches I > > would frequently complain about ABI changes that were actually > > consider

[dpdk-dev] [PATCH 1/2] lib/net: add IPv6 header fields macros

2017-12-30 Thread Shachar Beiser
Support IPv6 header vtc_flow fields : tc , flow_label Signed-off-by: Shachar Beiser --- lib/librte_net/rte_ip.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h index 73ec398..75b9cc3 100644 --- a/lib/librte_net/rte_ip.h +++ b/lib/librte

[dpdk-dev] [PATCH 2/2] net/mlx5: fix IPv6 header fields

2017-12-30 Thread Shachar Beiser
There are parameters that are not copy from spec to verbs structure in the vtc_label Fixes: 43e9d97 ("net/mlx5: support upstream rdma-core") Cc: sta...@dpdk.org Signed-off-by: Shachar Beiser --- drivers/net/mlx5/mlx5_flow.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(

[dpdk-dev] [PATCH v4] net/mlx5: load libmlx5 and libibverbs in run-time

2017-12-30 Thread Shachar Beiser
MLX5 PMD loads libraries: libibverbs and libmlx5. MLX5 PMD is not linked to external libraries. Signed-off-by: Shachar Beiser --- v1: load external libraries in run-time v2: * fix checkpatch warnings v3: * fix checkpatch warnings v4: New MACROs in order to reuse code --- con