Re: [dpdk-dev] [PATCH] net/mlx5: fix E-Switch flow without port item

2019-04-25 Thread Ori Kam
Hi Yongseok, PSB, Ori > -Original Message- > From: Yongseok Koh > Sent: Wednesday, April 24, 2019 12:03 AM > To: Ori Kam > Cc: Shahaf Shuler ; Matan Azrad > ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix E-Switch flow without port item > > On Tue, Apr 23, 2019 at 11:19:16AM +,

Re: [dpdk-dev] [DPDK] net/ice: fix Rx statistics

2019-04-25 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of simei > Sent: Wednesday, April 24, 2019 3:06 PM > To: qi.zi.zh...@intel.com; Lu, Wenzhuo ; Yang, > Qiming > Cc: dev@dpdk.org; Su, Simei ; sta...@dpdk.org > Subject: [dpdk-dev] [DPDK] net/ice: fix Rx statistics >

Re: [dpdk-dev] [DPDK] net/ice: fix Rx statistics

2019-04-25 Thread David Marchand
On Wed, Apr 24, 2019 at 9:47 AM simei wrote: > The RX stats will increase even no packets sent, this patch fix this issue > by modifying ipackets and ibytes statistics based on vsi instead of port > to avoid statistics error. > > Fixes: a37bde56314d ("net/ice: support statistics") > Cc: sta...@dp

Re: [dpdk-dev] [DPDK] net/ice: fix Rx statistics

2019-04-25 Thread Zhang, Qi Z
Hi David: > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Marchand > Sent: Thursday, April 25, 2019 3:13 PM > To: Su, Simei > Cc: qi.zi.zh...@intel.com; Lu, Wenzhuo ; Yang, > Qiming ; dev ; dpdk stable > > Subject: Re: [dpdk-dev] [DPDK] net/ice: fix Rx s

Re: [dpdk-dev] [DPDK] net/ice: fix Rx statistics

2019-04-25 Thread David Marchand
On Thu, Apr 25, 2019 at 9:30 AM Zhang, Qi Z wrote: > Hi David: > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Marchand > > Sent: Thursday, April 25, 2019 3:13 PM > > To: Su, Simei > > Cc: qi.zi.zh...@intel.com; Lu, Wenzhuo ; Yang, > > Qiming ; dev

[dpdk-dev] [PATCH] doc: update release notes for new armv8 targets

2019-04-25 Thread jerinj
From: Jerin Jacob Added documentation for the new armv8 targets supported in 19.05 release. Signed-off-by: Jerin Jacob --- doc/guides/rel_notes/release_19_05.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/release_19_05.rst b/doc/guides/rel_notes/release_19

[dpdk-dev] [PATCH] [resend] vhost: support inflight share memory protocol feature

2019-04-25 Thread Li Lin
From: lilin24 This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back thro

Re: [dpdk-dev] [PATCH] Revert "app/testpmd: set fixed flag for exact link speed"

2019-04-25 Thread Thomas Monjalon
25/04/2019 00:03, Ferruh Yigit: > This reverts commit bdca79053b6aea504d02691d9319fa976062457f. > > Not all PMDs support the fixed link speed set, and link speed can be set > even with auto negotiation enabled. Reverting the patch to not break > existing usage. Which PMDs do not support this flag

[dpdk-dev] [PATCH] eventdev: fix control flow issues

2019-04-25 Thread Abhinandan Gujjar
This patch fixes null pointer dereference and control flow issues reported in event crypto adapter by coverity Coverity issue: 279439 Dereference null return value Coverity issue: 279446 Logically dead code Coverity issue: 279450 Logically dead code Coverity issue: 279462 Logically dead code Fixes

Re: [dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Burakov, Anatoly
On 23-Apr-19 6:43 PM, Herakliusz Lipiec wrote: When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages wer

[dpdk-dev] [PATCH v2] examples/l3fwd: support separate buffer pool per port

2019-04-25 Thread Shreyansh Jain
Traditionally, only a single buffer pool per port (or, per-port-per-socket) is created in l3fwd application. If separate pools are created per-port, it might lead to gain in performance as packet alloc/dealloc requests would be isolated across ports (and their corresponding lcores). This patch ad

Re: [dpdk-dev] [PATCH v3] eventdev: add experimental tag back

2019-04-25 Thread Kevin Traynor
On 25/04/2019 06:42, Nikhil Rao wrote: > Add the experimental tag back to the Rx event adapter callback, > the Rx event callback register and the Rx event adapter statistics > retrieval functions due to API change to be proposed in a > future patch. > > This patch also adds the experimental tag to

Re: [dpdk-dev] [PATCH] doc: fix broken link in programmers guide lpm library references

2019-04-25 Thread Medvedkin, Vladimir
Acked-by: Vladimir Medvedkin On 24/04/2019 16:35, Herakliusz Lipiec wrote: Bugzilla ID: 235 Fixes: fc1f2750a3ec ("doc: programmers guide") Cc: bernard.iremon...@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- doc/guides/prog_guide/lpm_lib.rst | 2 +- 1 file changed, 1 ins

Re: [dpdk-dev] [PATCH v3] app/test: replace TEST_SKIPPED with -ENOTSUP

2019-04-25 Thread Trahe, Fiona
> -Original Message- > From: Ayuj Verma [mailto:ayve...@marvell.com] > Sent: Wednesday, April 24, 2019 8:28 PM > To: akhil.go...@nxp.com; Kusztal, ArkadiuszX ; > Trahe, Fiona > > Cc: shal...@marvell.com; ss...@marvell.com; kkotamar...@marvell.com; > ade...@marvell.com; > dev@dpdk.org;

Re: [dpdk-dev] [PATCH] [resend] vhost: support inflight share memory protocol feature

2019-04-25 Thread lin li
Li Lin 于2019年4月25日周四 下午3:57写道: > > From: lilin24 > > This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD > and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared > buffer between qemu and backend. > > Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the > shared buffer

[dpdk-dev] [PATCH v2] vhost: support inflight share memory protocol feature

2019-04-25 Thread Li Lin
From: lilin24 This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back thro

[dpdk-dev] [PATCH v3 2/2] ipc: fix tap pmd memleak

2019-04-25 Thread Herakliusz Lipiec
When sending synchronous IPC requests, the caller must free the response buffer if the request was successful and reply is no longer needed. Fix the code to correctly use the IPC API. Bugzilla ID: 228 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellano

[dpdk-dev] [PATCH v3 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Herakliusz Lipiec
When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages were sent and no memory for response buffers was all

[dpdk-dev] [PATCH v3 0/2] ipc: fix possible memleaks

2019-04-25 Thread Herakliusz Lipiec
When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages were sent and no memory for response buffers was all

Re: [dpdk-dev] [PATCH] Revert "app/testpmd: set fixed flag for exact link speed"

2019-04-25 Thread Ferruh Yigit
On 4/25/2019 9:19 AM, Thomas Monjalon wrote: > 25/04/2019 00:03, Ferruh Yigit: >> This reverts commit bdca79053b6aea504d02691d9319fa976062457f. >> >> Not all PMDs support the fixed link speed set, and link speed can be set >> even with auto negotiation enabled. Reverting the patch to not break >> e

[dpdk-dev] [PATCH v2] net/mlx5: fix E-Switch flow without port item

2019-04-25 Thread Ori Kam
When creating a flow rule without the port_id pattern item, always the PF was selected. This commit fixes this issue, if no port_id pattern item is available then we use the port that the flow was created on as source port. Fixes: 822fb3195348 ("net/mlx5: add port id item to Direct Verbs") Signe

[dpdk-dev] [PATCH 19.08 2/6] ipc: handle unsupported ipc in action register

2019-04-25 Thread Anatoly Burakov
Currently, IPC API will silently ignore unsupported IPC. Fix the API call and its callers to explicitly handle unsupported IPC cases. For primary processes, it is OK to not have IPC because there may not be any secondary processes in the first place, and there are valid use cases that disable IPC

[dpdk-dev] [PATCH 19.08 4/6] ipc: handle unsupported ipc in sendmsg

2019-04-25 Thread Anatoly Burakov
Currently, IPC API will silently ignore unsupported IPC. Fix the API call and its callers to explicitly handle unsupported IPC cases. Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/eal_common_proc.c | 6 ++ lib/librte_eal/common/include/rte_eal.h | 3 +++ 2 files changed, 9 inserti

[dpdk-dev] [PATCH 19.08 1/6] ipc: handle unsupported ipc in init

2019-04-25 Thread Anatoly Burakov
Currently, IPC API will silently ignore unsupported IPC. Fix the API call and its callers to explicitly handle unsupported IPC cases. Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/eal_common_proc.c | 3 ++- lib/librte_eal/freebsd/eal/eal.c| 2 +- lib/librte_eal/linux/eal/eal.c

[dpdk-dev] [PATCH 19.08 6/6] ipc: handle unsupported ipc in async request

2019-04-25 Thread Anatoly Burakov
Currently, IPC API will silently ignore unsupported IPC. Fix the API call to explicitly handle unsupported IPC cases. Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/eal_common_proc.c | 3 ++- lib/librte_eal/common/include/rte_eal.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(

[dpdk-dev] [PATCH 19.08 5/6] ipc: handle unsupported ipc in sync request

2019-04-25 Thread Anatoly Burakov
Currently, IPC API will silently ignore unsupported IPC. Fix the API call and its callers to explicitly handle unsupported IPC cases. Signed-off-by: Anatoly Burakov --- drivers/net/mlx4/mlx4_mp.c | 5 +++-- drivers/net/mlx5/mlx5_mp.c | 5 +++-- lib/librte_eal/common/e

[dpdk-dev] [PATCH 19.08 3/6] ipc: don't unregister action if ipc unsupported

2019-04-25 Thread Anatoly Burakov
Currently, unregister will be attempted even if IPC wasn't supported in the first place. It is harmless, but for consistency reasons, update the unregister API call to exit early when IPC is not supported. Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/eal_common_proc.c | 5 + 1 fi

[dpdk-dev] [PATCH v4 0/2] ipc: fix possible memleaks

2019-04-25 Thread Herakliusz Lipiec
When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages were sent and no memory for response buffers was all

Re: [dpdk-dev] [PATCH v3 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Burakov, Anatoly
On 25-Apr-19 12:43 PM, Herakliusz Lipiec wrote: When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages we

[dpdk-dev] [PATCH v4 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Herakliusz Lipiec
When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages were sent and no memory for response buffers was all

[dpdk-dev] [PATCH v4 2/2] ipc: fix tap pmd memleak

2019-04-25 Thread Herakliusz Lipiec
When sending synchronous IPC requests, the caller must free the response buffer if the request was successful and reply is no longer needed. Fix the code to correctly use the IPC API. Bugzilla ID: 228 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellano

Re: [dpdk-dev] [PATCH v4 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Burakov, Anatoly
On 25-Apr-19 1:48 PM, Herakliusz Lipiec wrote: When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages wer

[dpdk-dev] DPDK Release Status Meeting 25/4/2019

2019-04-25 Thread Ferruh Yigit
Minutes 25 April 2019 - Agenda: * Release Dates * RC2 status * Subtrees * OvS * Opens Participants: * Debian * Intel * Marvell * Mellanox * NXP * RedHat Release Dates - * v19.05 dates, RC3 date pushed to Thursday, 2 May: * RC2 is released on Monday, 22 April

[dpdk-dev] [PATCH] maintainers: claim maintainership of ipc

2019-04-25 Thread Anatoly Burakov
IPC is a big part of secondary process infrastructure now, and I have been de-facto maintainer for it since 18.05. Update MAINTAINERS file to match. Signed-off-by: Anatoly Burakov --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4493aa636..b729d

Re: [dpdk-dev] [PATCH] maintainers: claim maintainership of ipc

2019-04-25 Thread Thomas Monjalon
25/04/2019 15:17, Anatoly Burakov: > IPC is a big part of secondary process infrastructure now, > and I have been de-facto maintainer for it since 18.05. > Update MAINTAINERS file to match. > > Signed-off-by: Anatoly Burakov > --- > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -202,6 +202,7 @@ F: d

Re: [dpdk-dev] [PATCH] Revert "app/testpmd: set fixed flag for exact link speed"

2019-04-25 Thread Thomas Monjalon
25/04/2019 13:47, Ferruh Yigit: > On 4/25/2019 9:19 AM, Thomas Monjalon wrote: > > 25/04/2019 00:03, Ferruh Yigit: > >> This reverts commit bdca79053b6aea504d02691d9319fa976062457f. > >> > >> Not all PMDs support the fixed link speed set, and link speed can be set > >> even with auto negotiation en

[dpdk-dev] [PATCH] net/dpaa2: fix incorrect loop increment

2019-04-25 Thread Shreyansh Jain
Identified by LGTM, the loop was incorrectly incrementing a different variable and conditional on another. Fixes: fe2b986ac662 ("net/dpaa2: support generic flow") Cc: sunil.k...@nxp.com Suggested-by: Ferruh Yigit Signed-off-by: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_flow.c | 2 +- 1 file c

Re: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism

2019-04-25 Thread Honnappa Nagarahalli
> > 17/04/2019 06:13, Honnappa Nagarahalli: > > Dharmik Thakkar (1): > > test/rcu_qsbr: add API and functional tests > > > > Honnappa Nagarahalli (2): > > rcu: add RCU library supporting QSBR mechanism > > doc/rcu: add lib_rcu documentation > > Sorry I cannot merge this library in DPDK 19.0

Re: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism

2019-04-25 Thread Honnappa Nagarahalli
> > > > 17/04/2019 06:13, Honnappa Nagarahalli: > > > Dharmik Thakkar (1): > > > test/rcu_qsbr: add API and functional tests > > > > > > Honnappa Nagarahalli (2): > > > rcu: add RCU library supporting QSBR mechanism > > > doc/rcu: add lib_rcu documentation > > > > Sorry I cannot merge this li

[dpdk-dev] [PATCH] app/pdump: exits once primary app exited

2019-04-25 Thread Suanming . Mou
If primary app exited, meaningless for pdump keeps running anymore. Signed-off-by: Suanming.Mou --- app/pdump/main.c | 4 1 file changed, 4 insertions(+) diff --git a/app/pdump/main.c b/app/pdump/main.c index 3d208548fa13..f1ff2a3ceb4f 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @

Re: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism

2019-04-25 Thread David Marchand
On Thu, Apr 25, 2019 at 4:19 PM Honnappa Nagarahalli < honnappa.nagaraha...@arm.com> wrote: > > - shared link is broken because of rcu_log_type not exported > I am not sure what this is. Is this shared library compilation? Can you > please let me know how to reproduce this? > > > - some public sym

Re: [dpdk-dev] [PATCH] maintainers: claim maintainership of ipc

2019-04-25 Thread Burakov, Anatoly
On 25-Apr-19 2:26 PM, Thomas Monjalon wrote: 25/04/2019 15:17, Anatoly Burakov: IPC is a big part of secondary process infrastructure now, and I have been de-facto maintainer for it since 18.05. Update MAINTAINERS file to match. Signed-off-by: Anatoly Burakov --- --- a/MAINTAINERS +++ b/MAINTA

Re: [dpdk-dev] [PATCH] maintainers: claim maintainership of ipc

2019-04-25 Thread Burakov, Anatoly
On 25-Apr-19 4:17 PM, Burakov, Anatoly wrote: On 25-Apr-19 2:26 PM, Thomas Monjalon wrote: 25/04/2019 15:17, Anatoly Burakov: IPC is a big part of secondary process infrastructure now, and I have been de-facto maintainer for it since 18.05. Update MAINTAINERS file to match. Signed-off-by: Anat

Re: [dpdk-dev] [PATCH] Revert "app/testpmd: set fixed flag for exact link speed"

2019-04-25 Thread Ferruh Yigit
On 4/25/2019 2:29 PM, Thomas Monjalon wrote: > 25/04/2019 13:47, Ferruh Yigit: >> On 4/25/2019 9:19 AM, Thomas Monjalon wrote: >>> 25/04/2019 00:03, Ferruh Yigit: This reverts commit bdca79053b6aea504d02691d9319fa976062457f. Not all PMDs support the fixed link speed set, and link spe

[dpdk-dev] [Bug 258] Tap driver unnecessarily triggers timeout on failure

2019-04-25 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=258 Bug ID: 258 Summary: Tap driver unnecessarily triggers timeout on failure Product: DPDK Version: 19.05 Hardware: All OS: All Status: CONFIRMED Severity: minor

Re: [dpdk-dev] [PATCH] net/dpaa2: fix incorrect loop increment

2019-04-25 Thread Ferruh Yigit
On 4/25/2019 2:34 PM, Shreyansh Jain wrote: > Identified by LGTM, the loop was incorrectly incrementing a different > variable and conditional on another. > > Fixes: fe2b986ac662 ("net/dpaa2: support generic flow") > Cc: sunil.k...@nxp.com > > Suggested-by: Ferruh Yigit > Signed-off-by: Shreyans

Re: [dpdk-dev] [PATCH] app/pdump: exits once primary app exited

2019-04-25 Thread Varghese, Vipin
Hi, snipped > @@ -847,6 +847,10 @@ struct parse_val { > pdump_rxtx(pt->rx_ring, pt->rx_vdev_id, &pt->stats); > if (pt->dir & RTE_PDUMP_FLAG_TX) > pdump_rxtx(pt->tx_ring, pt->tx_vdev_id, &pt->stats); > + > + /* Once primary exits, so will I. */ > + if (!rte

Re: [dpdk-dev] [PATCH 5/6] crypto/dpaa_sec: fix session qp attach/detach

2019-04-25 Thread Kevin Traynor
On 27/03/2019 11:53, Akhil Goyal wrote: > session inq and qp are assigned for each core from which the > packets arrive. This was not correctly handled while supporting > multiple sessions per queue pair. > This patch fixes the attach and detach of queues for each core. > > Fixes: e79416d10fa3 ("c

[dpdk-dev] [PATCH] net/tap: fix potential buffer overrun

2019-04-25 Thread Herakliusz Lipiec
When secondary to primary process synchronization occours there is no check for number of fds which could cause buffer overrun. Bugzilla ID: 252 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lip

Re: [dpdk-dev] [PATCH v3 1/3] rte_ethdev: Add API function to read dev clock

2019-04-25 Thread Andrew Rybchenko
On 4/24/19 8:34 PM, Tom Barbette wrote: Add rte_eth_read_clock to read the raw clock of a devide. Typo above "devide" The main use is to get the device clock conversion co-efficients to be able to translate the raw clock of the timestamp field of the pkt mbuf to a local synced time value. Th

[dpdk-dev] [PATCH v2] net/tap: fix potential buffer overrun

2019-04-25 Thread Herakliusz Lipiec
When secondary to primary process synchronization occours there is no check for number of fds which could cause buffer overrun. Bugzilla ID: 252 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lip

[dpdk-dev] Editor Config

2019-04-25 Thread Stephen Hemminger
Systemd uses this and it looks like a useful addition to the DPDK source base. Especially since we now have Windows developers. https://editorconfig.org/

Re: [dpdk-dev] [PATCH 5/6] crypto/dpaa_sec: fix session qp attach/detach

2019-04-25 Thread Kevin Traynor
On 25/04/2019 17:24, Kevin Traynor wrote: > On 27/03/2019 11:53, Akhil Goyal wrote: >> session inq and qp are assigned for each core from which the >> packets arrive. This was not correctly handled while supporting >> multiple sessions per queue pair. >> This patch fixes the attach and detach of qu

Re: [dpdk-dev] [PATCH] net/mlx5: fix E-Switch flow without port item

2019-04-25 Thread Yongseok Koh
> On Apr 25, 2019, at 12:02 AM, Ori Kam wrote: > > Hi Yongseok, > PSB, > > Ori > >> -Original Message- >> From: Yongseok Koh >> Sent: Wednesday, April 24, 2019 12:03 AM >> To: Ori Kam >> Cc: Shahaf Shuler ; Matan Azrad >> ; dev@dpdk.org >> Subject: Re: [PATCH] net/mlx5: fix E-Switch

Re: [dpdk-dev] [PATCH v2] net/mlx5: fix E-Switch flow without port item

2019-04-25 Thread Yongseok Koh
> On Apr 25, 2019, at 5:20 AM, Ori Kam wrote: > > When creating a flow rule without the port_id pattern item, always the > PF was selected. > > This commit fixes this issue, if no port_id pattern item is available > then we use the port that the flow was created on as source port. > > Fixes:

Re: [dpdk-dev] [PATCH v4 2/2] ipc: fix tap pmd memleak

2019-04-25 Thread Wiles, Keith
> On Apr 25, 2019, at 7:48 AM, Lipiec, Herakliusz > wrote: > > When sending synchronous IPC requests, the caller must free the response > buffer if the request was successful and reply is no longer needed. > Fix the code to correctly > use the IPC API. > > Bugzilla ID: 228 > Fixes: c9aa56ede

[dpdk-dev] IBM Power9 testing for 19.05

2019-04-25 Thread dwilder
Hi- The following describes the tests that we ran on top of the 19.05 branch on IBM Power9 hardware. * Single port stability test using l3fwd (16 cpus) and TRex, tested 64 and 1500 byte packets at a 0.0% drop rate for 4 hours each. No errors or regressions were seen. System tested: - IBM P

Re: [dpdk-dev] [PATCH v3 1/3] rte_ethdev: Add API function to read dev clock

2019-04-25 Thread Wiles, Keith
> On Apr 24, 2019, at 12:34 PM, Tom Barbette wrote: > > Add rte_eth_read_clock to read the raw clock of a devide. > > The main use is to get the device clock conversion co-efficients to be > able to translate the raw clock of the timestamp field of the pkt mbuf > to a local synced time value.

[dpdk-dev] [PATCH v8 0/4] lib/rcu: add RCU library supporting QSBR mechanism

2019-04-25 Thread Honnappa Nagarahalli
Lock-less data structures provide scalability and determinism. They enable use cases where locking may not be allowed (for ex: real-time applications). In the following paras, the term 'memory' refers to memory allocated by typical APIs like malloc or anything that is representative of memory, for

[dpdk-dev] [PATCH v8 1/4] rcu: add RCU library supporting QSBR mechanism

2019-04-25 Thread Honnappa Nagarahalli
Add RCU library supporting quiescent state based memory reclamation method. This library helps identify the quiescent state of the reader threads so that the writers can free the memory associated with the lock less data structures. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Steve Capper R

[dpdk-dev] [PATCH v8 2/4] test/rcu_qsbr: add API and functional tests

2019-04-25 Thread Honnappa Nagarahalli
From: Dharmik Thakkar Add API positive/negative test cases, functional tests and performance tests. Signed-off-by: Malvika Gupta Signed-off-by: Dharmik Thakkar Signed-off-by: Honnappa Nagarahalli Reviewed-by: Gavin Hu Acked-by: Konstantin Ananyev --- app/test/Makefile |2 +

[dpdk-dev] [PATCH v8 3/4] doc/rcu: add lib_rcu documentation

2019-04-25 Thread Honnappa Nagarahalli
Add lib_rcu QSBR API and programmer guide documentation. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Marko Kovacevic --- doc/api/doxy-api-index.md | 3 +- doc/api/doxy-api.conf.in | 1 + .../prog_guide/img/rcu_general_info.svg | 509 ++

[dpdk-dev] [PATCH v8 4/4] doc: added RCU to the release notes

2019-04-25 Thread Honnappa Nagarahalli
Added RCU library addition to the release notes Signed-off-by: Honnappa Nagarahalli --- doc/guides/rel_notes/release_19_05.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/rel_notes/release_19_05.rst b/doc/guides/rel_notes/release_19_05.rst index d5ed564ab..687c01bc1 1

[dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-25 Thread Xiaolong Ye
Since 18.11, it is suggested that driver should release all its private resources at the dev_close routine. So all resources previously released in remove routine are now released at the dev_close routine, and the dev_close routine will be called in driver remove routine in order to support removin

[dpdk-dev] [PATCH v1 2/2] net/af_xdp: set MAC addrs field to NULL

2019-04-25 Thread Xiaolong Ye
As af_xdp pmd doesn't allocate MAC addresses dynamically, it needs to be set as NULL, so it won't be released by rte_eth_dev_release_port(), otherwise, there would be "EAL: Error: Invalid memory" error. Signed-off-by: Xiaolong Ye --- drivers/net/af_xdp/rte_eth_af_xdp.c | 6 ++ 1 file changed

[dpdk-dev] [PATCH v1 0/2] support RTE_ETH_DEV_CLOSE_REMOVE flag for AF_XDP

2019-04-25 Thread Xiaolong Ye
Hi, This series is to support the RTE_ETH_DEV_CLOSE_REMOVE in AF_XDP pmd. Xiaolong Ye (2): net/af_xdp: remove resources when port is closed net/af_xdp: set MAC addrs field to NULL drivers/net/af_xdp/rte_eth_af_xdp.c | 47 +++-- 1 file changed, 25 insertions(+), 22 de