[dpdk-dev] [PATCH v7 3/6] net/mlx5: support a device removal check operation

2018-01-20 Thread Matan Azrad
Add support to get removal status of mlx5 device. It is not supported in secondary process. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5.c| 2 ++ drivers/net/mlx5/mlx5.h| 1 + drivers/net/mlx5/mlx5_ethdev.c | 20 3 files changed, 23 insertions

[dpdk-dev] [PATCH v7 2/6] net/mlx4: support a device removal check operation

2018-01-20 Thread Matan Azrad
Add support to get removal status of mlx4 device. Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4.c| 1 + drivers/net/mlx4/mlx4.h| 1 + drivers/net/mlx4/mlx4_ethdev.c | 20 3 files changed, 22 insertions(+) diff --git a/drivers/net/mlx4/mlx4.c b

[dpdk-dev] [PATCH v7 6/6] net/failsafe: fix removed device handling

2018-01-20 Thread Matan Azrad
o the application contrary to fail-safe principle that the app should not be aware of device removal. Add an removal check in each relevant control command error flow and prevent an error report to application when the sub-device is removed. Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet --- dr

[dpdk-dev] [PATCH v7 5/6] ethdev: adjust flow APIs removal error report

2018-01-20 Thread Matan Azrad
API. Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon --- lib/librte_ether/rte_flow.c | 34 +++--- lib/librte_ether/rte_flow.h | 2 ++ 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/lib/librte_ether/rte_flow.c b/lib/librte_ether/rte_flow.c index

[dpdk-dev] [PATCH v7 4/6] ethdev: adjust APIs removal error report

2018-01-20 Thread Matan Azrad
rte_eth_dev_is_removed API. Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon --- lib/librte_ether/rte_ethdev.c | 192 +++--- lib/librte_ether/rte_ethdev.h | 51 ++- 2 files changed, 170 insertions(+), 73 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib

[dpdk-dev] [PATCH v4 0/7] Port ownership and syncronization

2018-01-20 Thread Matan Azrad
as suggestion). Fix compilation issue caused by wrong rebase with "fix used portid allocation" patch. Add assert check for the correct port state to above fix patch. Matan Azrad (7): ethdev: fix port data reset timing ethdev: fix used portid allocation ethdev: add port ownership

[dpdk-dev] [PATCH v4 3/7] ethdev: add port ownership

2018-01-20 Thread Matan Azrad
different DPDK entities. The current ethdev internal port management is not affected by this feature. Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Acked-by: Konstantin Ananyev --- doc/guides/prog_guide/poll_mode_drv.rst | 14 ++- lib/librte_ether/rte_ethdev.c | 202

[dpdk-dev] [PATCH v4 4/7] ethdev: synchronize port allocation

2018-01-20 Thread Matan Azrad
ethdev. Add port allocation synchronization to complete the new rules. Signed-off-by: Matan Azrad Acked-by: Konstantin Ananyev --- lib/librte_ether/rte_ethdev.c | 43 +++ 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/lib/librte_ether

[dpdk-dev] [PATCH v4 2/7] ethdev: fix used portid allocation

2018-01-20 Thread Matan Azrad
string the port ID will be detected as unused. Fixes: d948f596fee2 ("ethdev: fix port data mismatched in multiple process model") Cc: sta...@dpdk.org Suggested-by: Konstantin Ananyev Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Acked-by: Konstantin Ananyev --- lib/li

[dpdk-dev] [PATCH v4 1/7] ethdev: fix port data reset timing

2018-01-20 Thread Matan Azrad
le process model") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Acked-by: Konstantin Ananyev --- lib/librte_ether/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index c

[dpdk-dev] [PATCH v4 6/7] net/failsafe: use ownership mechanism to own ports

2018-01-20 Thread Matan Azrad
. Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe.c | 7 +++ drivers/net/failsafe/failsafe_eal.c | 6 ++ drivers/net/failsafe/failsafe_private.h | 2 ++ 3 files changed, 15 insertions(+) diff --git a/drivers/net/failsafe/failsafe.c b/drivers

[dpdk-dev] [PATCH v4 5/7] net/failsafe: free an eth port by a dedicated API

2018-01-20 Thread Matan Azrad
Call dedicated ethdev API to free port in remove time as was done in other fail-safe places. Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_ether.c b

[dpdk-dev] [PATCH v4 7/7] app/testpmd: adjust ethdev port ownership

2018-01-20 Thread Matan Azrad
Testpmd should not use ethdev ports which are managed by other DPDK entities. Set Testpmd ownership to each port which is not used by other entity and prevent any usage of ethdev ports which are not owned by Testpmd. Signed-off-by: Matan Azrad --- app/test-pmd/cmdline.c | 89

Re: [dpdk-dev] [PATCH v3 7/7] app/testpmd: adjust ethdev port ownership

2018-01-22 Thread Matan Azrad
Hi Gaetan From: Gaëtan Rivet, Monday, January 22, 2018 12:17 PM > Hi Matan, > > On Sat, Jan 20, 2018 at 06:14:13PM +0000, Matan Azrad wrote: > > > > > > > > > > > @@ -1394,7 +1394,7 @@ struct cmd_config_speed_all { > > >

Re: [dpdk-dev] [PATCH v3 7/7] app/testpmd: adjust ethdev port ownership

2018-01-22 Thread Matan Azrad
Hi From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] > Hi lads, > > > > > Hi Matan, > > > > On Fri, Jan 19, 2018 at 01:35:10PM +, Matan Azrad wrote: > > > Hi Konstantin > > > > > > From: Ananyev, Konstantin, Friday,

[dpdk-dev] [PATCH v5 0/7] Port ownership and synchronization

2018-01-22 Thread Matan Azrad
ggestion). Rebase on top of 18.02-rc1. Fix issue: ownership API must check that the shared data was allocated before using the shared ownership lock(relevant when no port was created). Matan Azrad (7): ethdev: fix port data reset timing ethdev: fix used portid allocation ethdev: add port owner

[dpdk-dev] [PATCH v5 1/7] ethdev: fix port data reset timing

2018-01-22 Thread Matan Azrad
le process model") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Acked-by: Konstantin Ananyev --- lib/librte_ether/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index f

[dpdk-dev] [PATCH v5 2/7] ethdev: fix used portid allocation

2018-01-22 Thread Matan Azrad
string the port ID will be detected as unused. Fixes: d948f596fee2 ("ethdev: fix port data mismatched in multiple process model") Cc: sta...@dpdk.org Suggested-by: Konstantin Ananyev Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Acked-by: Konstantin Ananyev --- lib/li

[dpdk-dev] [PATCH v5 3/7] ethdev: add port ownership

2018-01-22 Thread Matan Azrad
different DPDK entities. The current ethdev internal port management is not affected by this feature. Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Acked-by: Konstantin Ananyev --- doc/guides/prog_guide/poll_mode_drv.rst | 14 +- lib/librte_ether/rte_ethdev.c | 233

[dpdk-dev] [PATCH v5 4/7] ethdev: synchronize port allocation

2018-01-22 Thread Matan Azrad
ethdev. Add port allocation synchronization to complete the new rules. Signed-off-by: Matan Azrad Acked-by: Konstantin Ananyev --- lib/librte_ether/rte_ethdev.c | 32 +--- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v5 5/7] net/failsafe: free an eth port by a dedicated API

2018-01-22 Thread Matan Azrad
Call dedicated ethdev API to free port in remove time as was done in other fail-safe places. Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_ether.c b

[dpdk-dev] [PATCH v5 6/7] net/failsafe: use ownership mechanism to own ports

2018-01-22 Thread Matan Azrad
. Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe.c | 7 +++ drivers/net/failsafe/failsafe_eal.c | 16 drivers/net/failsafe/failsafe_private.h | 2 ++ 3 files changed, 25 insertions(+) diff --git a/drivers/net/failsafe/failsafe.c

[dpdk-dev] [PATCH v5 7/7] app/testpmd: adjust ethdev port ownership

2018-01-22 Thread Matan Azrad
Testpmd should not use ethdev ports which are managed by other DPDK entities. Set Testpmd ownership to each port which is not used by other entity and prevent any usage of ethdev ports which are not owned by Testpmd. Signed-off-by: Matan Azrad --- app/test-pmd/cmdline.c | 89

Re: [dpdk-dev] [PATCH v3 7/7] app/testpmd: adjust ethdev port ownership

2018-01-23 Thread Matan Azrad
Hi Konstantin From: Ananyev, Konstantin, Monday, January 22, 2018 10:49 PM > Hi Matan, > > > -Original Message- > > From: Matan Azrad [mailto:ma...@mellanox.com] > > Sent: Monday, January 22, 2018 1:23 PM > > To: Ananyev, Konstantin ; Gaëtan Rivet >

Re: [dpdk-dev] [PATCH v3 7/7] app/testpmd: adjust ethdev port ownership

2018-01-23 Thread Matan Azrad
Hi From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > > > > > > Look, > > > > > > > Testpmd initiates some of its internal databases depends on > > > > > > > specific port iteration, In some time someone may take > > > > > > > ownership of Testpmd ports and testpmd will continue to touch > them

Re: [dpdk-dev] [PATCH v3 7/7] app/testpmd: adjust ethdev port ownership

2018-01-23 Thread Matan Azrad
ry 22, 2018 10:49 PM > > > Hi Matan, > > > > > > > -Original Message- > > > > From: Matan Azrad [mailto:ma...@mellanox.com] > > > > Sent: Monday, January 22, 2018 1:23 PM > > > > To: Ananyev, Konstantin ; Gaëtan > > > >

[dpdk-dev] [PATCH] net/failsafe: fix Rx burst infinite loop

2018-01-24 Thread Matan Azrad
inter when the sub-device was not present and caused to infinite loop. Advance the sub-device pointer also in plugged-out sub-device case. Fixes: 8052bbd9d548 ("net/failsafe: improve Rx sub-devices iteration") Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_rxtx.c | 1 +

Re: [dpdk-dev] [PATCH v1] net/vdev_netvsc: remove CFLAGS -std=c11 and -pedantic

2018-01-24 Thread Matan Azrad
Hi Ophir From: Ophir Munk, Wednesday, January 24, 2018 1:20 PM > In order to guarantee a successful vdev_netvsc compilation on old Linux > distributions remove CFLAGS -std=c11 and -pedantic Otherwise old GCC > compilers may complain as follows: > cc1: error: unrecognized command line option -std=c

Re: [dpdk-dev] [PATCH v2] net/vdev_netvsc: fix build using C11 mode and pedantic

2018-01-24 Thread Matan Azrad
option -std=c11 > > Fixes: 6086ab3bb3d2 ("net/vdev_netvsc: introduce Hyper-V platform > driver") > Cc: sta...@dpdk.org No need to backport this fix. > Signed-off-by: Ophir Munk Besides that, Acked-by: Matan Azrad

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/vdev_netvsc: fix build using C11 mode and pedantic

2018-01-25 Thread Matan Azrad
Hi Stephan From: Stephen Hemminger, Wednesday, January 24, 2018 8:28 PM > On Wed, 24 Jan 2018 19:08:02 +0100 > Thomas Monjalon wrote: > > > 24/01/2018 16:39, Stephen Hemminger: > > > On Wed, 24 Jan 2018 14:12:13 + > > > Ophir Munk wrote: > > > > --- a/drivers/net/vdev_netvsc/Makefile > > >

Re: [dpdk-dev] [PATCH v5 7/7] app/testpmd: adjust ethdev port ownership

2018-01-25 Thread Matan Azrad
Hi Lu From: Lu, Wenzhuo [mailto:wenzhuo...@intel.com] > Hi Matan, > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Matan Azrad > > Sent: Tuesday, January 23, 2018 12:38 AM > > To: Thomas Monjalon ; Gaetan Rivet > &g

Re: [dpdk-dev] [PATCH v3 7/7] app/testpmd: adjust ethdev port ownership

2018-01-25 Thread Matan Azrad
Gaetan, Konstantin, Thomas Any response to my suggestion below? From: Matan Azrad > Hi > > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > > > > > > > Look, > > > > > > > > Testpmd initiates some of its internal databases depends &g

[dpdk-dev] [PATCH 2/2] net/mlx5: fix probe failure report

2017-08-13 Thread Matan Azrad
g was already present in the original code taken from mlx4. Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters") Fixes: 1371f4df16bc ("mlx5: check port is configured as ethernet device") Signed-off-by: Matan Azrad Cc: sta...@dpdk.org --- dr

[dpdk-dev] [PATCH 1/2] net/mlx5: support device removal event

2017-08-13 Thread Matan Azrad
event detection according to the user configuration. 2. Calling to all registered mlx5 removal callbacks. 3. Capabilities extension to include removal interrupt handling. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 100

[dpdk-dev] [PATCH] net/mlx5: fix xstats functions unlock missing

2017-08-14 Thread Matan Azrad
t;net/mlx5: fix extended statistics") Signed-off-by: Matan Azrad Cc: sta...@dpdk.org --- drivers/net/mlx5/mlx5_stats.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c index 703f48c..33997af 100644 --- a/d

[dpdk-dev] [PATCH] net/failsafe: fix tx sub device deactivating

2017-08-15 Thread Matan Azrad
n and adds condition in the right place to handle non tx device ready scenario. Fixes: ebea83f899d8 ("net/failsafe: add plug-in support") Fixes: 598fb8aec6f6 ("net/failsafe: support device removal") Signed-off-by: Matan Azrad Cc: sta...@dpdk.org --- drivers/net/failsafe/failsafe

Re: [dpdk-dev] [PATCH] net/failsafe: fix tx sub device deactivating

2017-08-16 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Wednesday, August 16, 2017 11:47 AM > To: Matan Azrad > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix tx sub device deactivating > > H

[dpdk-dev] [PATCH v2] net/failsafe: fix tx sub device deactivating

2017-08-16 Thread Matan Azrad
added new one in the right place respecting the original intent. Fixes: ebea83f899d8 ("net/failsafe: add plug-in support") Fixes: 598fb8aec6f6 ("net/failsafe: support device removal") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad Acked-by: Gaetan Rivet --- drivers/net/failsa

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix tx sub device deactivating

2017-08-16 Thread Matan Azrad
Hi > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Wednesday, August 16, 2017 5:39 PM > To: Matan Azrad > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH v2] net/failsafe: fix tx sub device deactivating > > On Wed, Au

[dpdk-dev] [PATCH] net/failsafe: fix parameters parsing

2017-08-17 Thread Matan Azrad
s the buffer index by dedicated variable contains the copy size, by the way uses memcpy instead of snprintf which is good enouth for this copy scenario. Fixes: a46f8d584eb8 ("net/failsafe: add fail-safe PMD") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- drivers/net/failsafe/fails

Re: [dpdk-dev] [PATCH] net/failsafe: fix parameters parsing

2017-08-17 Thread Matan Azrad
> -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Thursday, August 17, 2017 6:26 PM > To: Matan Azrad > Cc: dev@dpdk.org; Ori Kam ; sta...@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix parameters parsing > > Hi Matan, > &g

Re: [dpdk-dev] [PATCH] net/failsafe: fix parameters parsing

2017-08-17 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Thursday, August 17, 2017 7:25 PM > To: Matan Azrad > Cc: dev@dpdk.org; Ori Kam ; sta...@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix parameters parsing > > On Th

Re: [dpdk-dev] [PATCH] net/failsafe: fix parameters parsing

2017-08-19 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Friday, August 18, 2017 12:03 PM > To: Matan Azrad > Cc: dev@dpdk.org; Ori Kam ; sta...@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix parameters parsing > > On Thu, Au

[dpdk-dev] [PATCH v2] net/failsafe: fix parameters parsing

2017-08-19 Thread Matan Azrad
s the buffer index by dedicated variable contains the copy size, by the way validates the last comma removing. Fixes: a46f8d584eb8 ("net/failsafe: add fail-safe PMD") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_args.c | 13 ++--- 1 file changed

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix parameters parsing

2017-08-21 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Monday, August 21, 2017 12:34 PM > To: Matan Azrad > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH v2] net/failsafe: fix parameters parsing > > Hi Matan, > &

Re: [dpdk-dev] [PATCH 1/2] net/mlx5: support device removal event

2017-08-23 Thread Matan Azrad
Hi Nelio > -Original Message- > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] > Sent: Wednesday, August 23, 2017 12:41 PM > To: Matan Azrad > Cc: Adrien Mazarguil ; dev@dpdk.org > Subject: Re: [PATCH 1/2] net/mlx5: support device removal event > > Hi

Re: [dpdk-dev] [PATCH 1/2] net/mlx5: support device removal event

2017-08-24 Thread Matan Azrad
Hi Nelio > -Original Message- > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] > Sent: Thursday, August 24, 2017 10:38 AM > To: Matan Azrad > Cc: Adrien Mazarguil ; dev@dpdk.org > Subject: Re: [PATCH 1/2] net/mlx5: support device removal event > > On

[dpdk-dev] [PATCH v3] net/failsafe: fix parameters parsing

2017-08-27 Thread Matan Azrad
s the buffer index by dedicated variable contains the copy size, by the way validates the comma separation. Fixes: a46f8d584eb8 ("net/failsafe: add fail-safe PMD") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_args.c | 14 +++--- 1 file changed

[dpdk-dev] [PATCH v2] net/mlx5: support device removal event

2017-08-29 Thread Matan Azrad
event detection according to the user configuration. 2. Calling to all registered mlx5 removal callbacks. 3. Capabilities extension to include removal interrupt handling. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 108

[dpdk-dev] [PATCH] net/failsafe: fix exec parameter parsing error flow

2017-08-29 Thread Matan Azrad
parameter by exec method until the output is correct. Fixes: a0194d828100 ("net/failsafe: add flexible device definition") Fixes: 35ffe4208140 ("net/failsafe: fix missing pclose after popen") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_

Re: [dpdk-dev] [PATCH] net/failsafe: fix exec parameter parsing error flow

2017-08-29 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Tuesday, August 29, 2017 7:34 PM > To: Matan Azrad > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix exec parameter parsing err

Re: [dpdk-dev] [PATCH] net/failsafe: fix exec parameter parsing error flow

2017-08-30 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Wednesday, August 30, 2017 5:25 PM > To: Matan Azrad > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix exec parameter parsing e

[dpdk-dev] [PATCH] app/testpmd: fix forward port ids setting

2017-09-03 Thread Matan Azrad
x uses the RTE_ETH_FOREACH_DEV iterator for the forward port IDs default setting. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- app/test-pmd/testpmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Hi All I would like to brin

[dpdk-dev] [PATCH] net/failsafe: fix adding MAC error report miss

2017-09-03 Thread Matan Azrad
in support") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/failsafe/failsafe_ether.c b/drivers/net/failsafe/failsafe_ether.c index a3a8cce..fb9bbce 100644 --- a/drivers/net/failsafe/f

Re: [dpdk-dev] [PATCH] app/testpmd: fix forward port ids setting

2017-09-04 Thread Matan Azrad
Hi > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Monday, September 4, 2017 11:46 AM > To: Matan Azrad > Cc: Jingjing Wu ; Thomas Monjalon > ; dev@dpdk.org; Ori Kam ; > sta...@dpdk.org > Subject: Re: [PATCH] app/testpmd: fix

[dpdk-dev] stats_get API: return value suggestion

2017-09-04 Thread Matan Azrad
sable, etc... What do you think? Regards Matan Azrad

[dpdk-dev] [PATCH v3] net/mlx5: support device removal event

2017-09-04 Thread Matan Azrad
event detection according to the user configuration. 2. Calling to all registered mlx5 removal callbacks. 3. Capabilities extension to include removal interrupt handling. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 103

Re: [dpdk-dev] [PATCH v3] net/mlx5: support device removal event

2017-09-04 Thread Matan Azrad
Hi Adrien, > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Monday, September 4, 2017 6:33 PM > To: Matan Azrad > Cc: Nélio Laranjeiro ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] net/mlx5: support device removal e

[dpdk-dev] [PATCH] net/failsafe: stat support enhancement

2017-09-05 Thread Matan Azrad
removal interrupt callback for each PMD which can give stats after removal event. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 33 + drivers/net/failsafe/failsafe_ops.c | 16 drivers/net/failsafe/failsafe_private.h | 5

Re: [dpdk-dev] [PATCH v3] net/mlx5: support device removal event

2017-09-05 Thread Matan Azrad
Hi Adrien > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Tuesday, September 5, 2017 12:28 PM > To: Matan Azrad > Cc: Nélio Laranjeiro ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] net/mlx5: support device removal e

Re: [dpdk-dev] [PATCH v3] net/mlx5: support device removal event

2017-09-05 Thread Matan Azrad
Hi Adrien > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Tuesday, September 5, 2017 3:02 PM > To: Matan Azrad > Cc: Nélio Laranjeiro ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] net/mlx5: support device removal e

Re: [dpdk-dev] [PATCH] net/failsafe: stat support enhancement

2017-09-05 Thread Matan Azrad
Hi Gaetan, > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Tuesday, September 5, 2017 4:23 PM > To: Matan Azrad > Cc: dev@dpdk.org > Subject: Re: [PATCH] net/failsafe: stat support enhancement > > Hi Matan, > > On Tue, Se

Re: [dpdk-dev] [PATCH] net/failsafe: stat support enhancement

2017-09-05 Thread Matan Azrad
Hi Gaetan, > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Tuesday, September 5, 2017 7:34 PM > To: Matan Azrad > Cc: dev@dpdk.org > Subject: Re: [PATCH] net/failsafe: stat support enhancement > > On Tue, Sep 05, 2017 at 03:12

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix forward port ids setting

2017-09-06 Thread Matan Azrad
Hi Jinging, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, September 6, 2017 1:21 PM > To: Gaëtan Rivet ; Matan Azrad > > Cc: Jingjing Wu ; dev@dpdk.org; Ori Kam > > Subject: Re: [dpdk-stable] [PATCH] app/testp

[dpdk-dev] [PATCH v4 1/2] net/mlx5: link status update separation

2017-09-06 Thread Matan Azrad
the new function to explain the inconsistent link status reason. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5_ethdev.c | 83 -- 1 file changed, 55 insertions(+), 28 deletions(-) Changes: V2: Replace link status update function name. Add

[dpdk-dev] [PATCH v4 2/2] net/mlx5: support device removal event

2017-09-06 Thread Matan Azrad
removal callbacks. 3. Capabilities extension to include removal interrupt handling. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 13 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5.c b

[dpdk-dev] [PATCH v2] net/failsafe: stat support enhancement

2017-09-07 Thread Matan Azrad
removal interrupt callback for each PMD which can give stats after removal event. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 35 - drivers/net/failsafe/failsafe_ops.c | 16 +++ drivers/net/failsafe/failsafe_private.h | 5

[dpdk-dev] [PATCH v5] net/mlx5: support device removal event

2017-09-08 Thread Matan Azrad
removal callbacks. 3. Capabilities extension to include removal interrupt handling. Signed-off-by: Matan Azrad --- doc/guides/nics/features/mlx5.ini | 1 + drivers/net/mlx5/mlx5.c | 2 +- drivers/net/mlx5/mlx5_ethdev.c| 13 +++-- 3 files changed, 13 insertions(+), 3

Re: [dpdk-dev] [PATCH] net/bonding: switch to new offloading flags

2018-03-14 Thread Matan Azrad
Hi Ferruh From: Ferruh Yigit, Sent: Tuesday, March 13, 2018 2:25 PM > Switch from using deprecated bitfields in rxmode to offloads variable. > > Signed-off-by: Ferruh Yigit > --- > drivers/net/bonding/rte_eth_bond_api.c | 3 ++- > drivers/net/bonding/rte_eth_bond_pmd.c | 9 +++-- > 2 files c

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

2018-03-28 Thread Matan Azrad
allow consistency in packet flow management. Add rte flow support to the bonding PMD to manage all flow configuration to the bonded slaves. Signed-off-by: Matan Azrad --- .../prog_guide/link_bonding_poll_mode_drv_lib.rst | 43 +++- drivers/net/bonding/Makefile | 1

[dpdk-dev] [PATCH] app/testpmd: fix slave port detection

2018-03-28 Thread Matan Azrad
ed by Testpmd. Add one more check to detect bonding slave device. Fixes: 41b05095c4d1 ("app/testpmd: fix bonding start") Fixes: 0e545d3047fe ("app/testpmd: check stopping port is not in bonding") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- app/test-pmd/testpmd.c | 5

Re: [dpdk-dev] [dpdk-stable] [PATCH v3 1/7] ethdev: fix port data reset timing

2018-03-28 Thread Matan Azrad
Hi Ferruh > From: Ferruh Yigit, Wednesday, March 28, 2018 1:38 AM > On 3/5/2018 3:12 PM, Matan Azrad wrote: > > Hi Ferruh > > > > From: Ferruh Yigit, Sent: Monday, March 5, 2018 5:07 PM > >> On 3/5/2018 2:52 PM, Matan Azrad wrote: > >>> HI > >

[dpdk-dev] [PATCH] ethdev: fix port accessing after release

2018-03-28 Thread Matan Azrad
of the function. Fixes: dcd5c8112bc3 ("ethdev: add PCI driver helpers") Cc: sta...@dpdk.org Suggested-by: Ferruh Yigit Signed-off-by: Matan Azrad --- lib/librte_ether/rte_ethdev_pci.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_ether/rte_ethde

Re: [dpdk-dev] [PATCH] net/bonding: switch to new offloading flags

2018-03-28 Thread Matan Azrad
Hi Declan, Radu Please try to answer for the below questions. From: Ferruh Yigit, Sent: Thursday, March 22, 2018 8:14 PM > On 3/14/2018 12:50 PM, Matan Azrad wrote: > > Questions: > > Have you an idea why bonding PMD doesn't adjust the slaves port > configurati

[dpdk-dev] [PATCH] doc: update failsafe feature list

2017-09-14 Thread Matan Azrad
Add supported failsafe features to feature list. Remove stats per queue feature from failsafe feature list since queue_stats_mapping_set dev op has not implemented yet. Signed-off-by: Matan Azrad --- doc/guides/nics/features/failsafe.ini | 15 ++- 1 file changed, 14 insertions(+), 1

Re: [dpdk-dev] [PATCH] doc: update failsafe feature list

2017-09-19 Thread Matan Azrad
Hi Ferruh > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Tuesday, September 19, 2017 12:27 PM > To: Matan Azrad ; Gaetan Rivet > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: update failsafe feature list > >

Re: [dpdk-dev] [PATCH] doc: update failsafe feature list

2017-09-19 Thread Matan Azrad
Hi Ferruh > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Tuesday, September 19, 2017 2:00 PM > To: Matan Azrad ; Gaetan Rivet > > Cc: dev@dpdk.org; john.mcnam...@intel.com > Subject: Re: [dpdk-dev] [PATCH] doc: update failsafe feat

Re: [dpdk-dev] [PATCH] doc: update failsafe feature list

2017-09-23 Thread Matan Azrad
Hi Ferruh > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Friday, September 22, 2017 1:32 PM > To: Matan Azrad ; Gaetan Rivet > > Cc: dev@dpdk.org; john.mcnam...@intel.com > Subject: Re: [dpdk-dev] [PATCH] doc: update failsafe feat

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

2017-10-03 Thread Matan Azrad
v2: Rearange patches. Semantics. Enhancements. Fix compilation issues. 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: get back Rx checksum offloa

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

2017-10-03 Thread Matan Azrad
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 | 353 ---

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

2017-10-03 Thread Matan Azrad
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. Now the number of scatters is calculated on the fly, according to the maximum expected packet size. Signed-off-by: Vasily Philipov ---

[dpdk-dev] [PATCH v2 3/6] net/mlx4: support multi-segments Tx

2017-10-03 Thread Matan Azrad
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 v2 4/6] net/mlx4: get back Tx checksum offloads

2017-10-03 Thread Matan Azrad
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 v2 5/6] net/mlx4: get back Rx checksum offloads

2017-10-03 Thread Matan Azrad
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 v2 6/6] net/mlx4: add loopback Tx from VF

2017-10-03 Thread Matan Azrad
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 2/2] net/tap: allow RSS flow action

2017-10-03 Thread Matan Azrad
ue of the set. Signed-off-by: Matan Azrad --- drivers/net/tap/tap_flow.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/tap_flow.c index aa33960..28d793f 100644 --- a/drivers/net/tap/tap_flow.c +++ b/drivers/net/tap/tap_flow.c @@ -1

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

2017-10-03 Thread Matan Azrad
Missed 4 spaces were added after break if line. Fixes: 7a6811d78ed6 ("net/tap: fix flow and port commands") Signed-off-by: Matan Azrad --- drivers/net/tap/tap_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/

Re: [dpdk-dev] [PATCH 2/2] net/tap: allow RSS flow action

2017-10-03 Thread Matan Azrad
I sent it from root user by mistake, sorry! I Sent it again with my user. > -Original Message- > From: root [mailto:r...@pegasus12.mtr.labs.mlnx] > Sent: Tuesday, October 3, 2017 5:52 PM > To: Pascal Mazon > Cc: dev@dpdk.org; Matan Azrad > Subject: [PATCH 2/2] net/t

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

2017-10-03 Thread Matan Azrad
I sent it from root user by mistake, sorry! I Sent it again with my user. > -Original Message- > From: root [mailto:r...@pegasus12.mtr.labs.mlnx] > Sent: Tuesday, October 3, 2017 5:52 PM > To: Pascal Mazon > Cc: dev@dpdk.org; Matan Azrad > Subject: [PATCH 1/2] net/ta

[dpdk-dev] [PATCH 2/2] doc: update stats get API change

2017-10-09 Thread Matan Azrad
Updated change info in release_17.11. Signed-off-by: Matan Azrad --- doc/guides/rel_notes/release_17_11.rst | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_17_11.rst b/doc/guides/rel_notes/release_17_11.rst index 36139e5..b62083d 100644

[dpdk-dev] [PATCH 1/2] ethdev: add return value to stats get dev op

2017-10-09 Thread Matan Azrad
ation. This patch changes the stats_get API return value to be int instead of void. All the net PMDs stats_get dev ops are adjusted by this patch. Signed-off-by: Matan Azrad --- drivers/net/af_packet/rte_eth_af_packet.c | 3 ++- drivers/net/ark/ark_ethdev.c | 9 + drivers/ne

[dpdk-dev] [PATCH v2] ethdev: add return value to stats get dev op

2017-10-10 Thread Matan Azrad
ation. This patch changes the stats_get API return value to be int instead of void. All the net PMDs stats_get dev ops are adjusted by this patch. Signed-off-by: Matan Azrad --- V2: Rebased patch with next_net master. Adjusted dpaa, octeontx and mrvl PMDs. Merged release notes patch. doc/g

[dpdk-dev] [PATCH] net/failsafe: improve stats accuracy

2017-10-16 Thread Matan Azrad
removed device stats before calling to dev_close. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_ether.c b/drivers/net/failsafe/failsafe_ether.c index f4db423..2758d4c

Re: [dpdk-dev] [PATCH] net/failsafe: improve stats accuracy

2017-10-16 Thread Matan Azrad
Hi Geatan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Monday, October 16, 2017 11:28 AM > To: Matan Azrad > Cc: dev@dpdk.org > Subject: Re: [PATCH] net/failsafe: improve stats accuracy > > Hey Matan, > > Thanks for th

[dpdk-dev] [PATCH v2] net/failsafe: improve stats accuracy

2017-10-19 Thread Matan Azrad
ultimate statistics read on removal time; if that fails, use the latest recorded snapshot. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 19 +-- drivers/net/failsafe/failsafe_ops.c | 10 -- drivers/net/failsafe/failsafe_private.h | 7 ++- 3

[dpdk-dev] [PATCH v3 1/2] net/failsafe: improve stats accuracy

2017-10-21 Thread Matan Azrad
ultimate statistics read on removal time; if that fails, use the latest recorded snapshot. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) V2: Improve commit message. Add warning massage when using stats snapshot. Add

[dpdk-dev] [PATCH v3 2/2] net/failsafe: add timestamp to stats snapshot

2017-10-21 Thread Matan Azrad
accuracy. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 17 - drivers/net/failsafe/failsafe_ops.c | 10 -- drivers/net/failsafe/failsafe_private.h | 7 ++- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH] net/failsafe: fix Rx clean race

2017-10-21 Thread Matan Azrad
t;net/failsafe: add fast burst functions") Cc: sta...@dpdk.org Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_rxtx.c b/drivers/net/failsafe/failsafe_rxtx.c index 7311421..7015

[dpdk-dev] [PATCH] net/mlx4: fix targetless internal rule creation

2017-10-24 Thread Matan Azrad
prevents internal rules creation before queues creation based on future creation before traffic start. Fixes: 7d8675956f57 ("net/mlx4: add RSS support outside flow API") Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4_flow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/driver

[dpdk-dev] [PATCH v2] net/mlx4: fix targetless internal rule creation

2017-10-24 Thread Matan Azrad
prevents internal rules creation before queues creation based on future creation before traffic start. Fixes: 7d8675956f57 ("net/mlx4: add RSS support outside flow API") Fixes: bdcad2f4843a ("net/mlx4: refactor internal flow rules") Signed-off-by: Matan Azrad Acked-by: Adrien Maz

<    2   3   4   5   6   7   8   9   10   11   >