QAT driver checks byte alignment for KASUMI/SNOW 3G/ZUC algorithms using
cipher/auth_param, which are not initialized at this moment yet. Use
operation params instead.
Signed-off-by: Dmitry Eremin-Solenikov
---
drivers/crypto/qat/qat_sym.c | 22 +++---
1 file changed, 11 insertio
On 7/10/2018 2:03 AM, Lu, Wenzhuo wrote:
Hi Ian,
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ian Stokes
Sent: Friday, June 29, 2018 9:51 PM
To: dev@dpdk.org
Cc: Stokes, Ian ; sta...@dpdk.org
Subject: [dpdk-dev] [PATCH v2] net/e1000: Support mtu set for igbvf
> -Original Message-
> From: Shally Verma [mailto:shally.ve...@caviumnetworks.com]
> Sent: Monday, July 2, 2018 5:57 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; pathr...@caviumnetworks.com;
> mcha...@caviumnetworks.com; Sunila Sahu ;
> Sunila Sahu ; Ashish Gupta
>
> Subject: [PA
> -Original Message-
> From: Andrew Rybchenko [mailto:arybche...@solarflare.com]
> Sent: Wednesday, July 11, 2018 5:27 PM
> To: Zhang, Qi Z ; tho...@monjalon.net; Burakov,
> Anatoly
> Cc: Ananyev, Konstantin ; dev@dpdk.org;
> Richardson, Bruce ; Yigit, Ferruh
> ; Shelton, Benjamin H
> ;
On 11-Jul-18 4:09 AM, Qi Zhang wrote:
This patch cover the multi-process hotplug case when a device
attach/detach request be issued from a secondary process
device attach on secondary:
a) secondary send sync request to the primary.
b) primary receive the request and attach the new device if
On 11-Jul-18 4:09 AM, Qi Zhang wrote:
We are going to introduce the solution to handle hotplug in
multi-process, it includes the below scenario:
1. Attach a device from the primary
2. Detach a device from the primary
3. Attach a device from a secondary
4. Detach a device from a secondary
In the
This patch adds chained mbuf support for input or output buffers
during compression/decompression operations.
V2 - Fixed using chained mbufs with offsets.
Signed-off-by: Lee Daly
---
doc/guides/compressdevs/features/isal.ini | 1 +
doc/guides/compressdevs/isal.rst | 2 -
dr
Hi Pablo
>-Original Message-
>From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
>Sent: 11 July 2018 17:44
>To: Verma, Shally
>Cc: dev@dpdk.org; Athreya, Narayana Prasad
>; Challa, Mahipal
>; Gupta, Ashish ; Sahu,
>Sunila
>Subject: RE: [PATCH v2 1/5] compress/zlib: add
> -Original Message-
> From: Burakov, Anatoly
> Sent: Wednesday, July 11, 2018 8:34 PM
> To: Zhang, Qi Z ; tho...@monjalon.net
> Cc: Ananyev, Konstantin ; dev@dpdk.org;
> Richardson, Bruce ; Yigit, Ferruh
> ; Shelton, Benjamin H
> ; Vangati, Narender
>
> Subject: Re: [PATCH v11 06/19] ea
What version of Pktgen and DPDK are you using?
Most likely DPDK has changed for the given version or Pktgen. I normally only
keep pktgen working on the last releases version 18.05 in this case.
I am over due pushing a updated version of pktgen, so I will try to get that
done soon.
> On Jul 11,
Hi Lee,
> -Original Message-
> From: Daly, Lee
> Sent: Tuesday, July 10, 2018 1:44 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Daly, Lee ; sta...@dpdk.org
> Subject: [PATCH] compress/isal: fixes ISA-L PMD used with offsets in mbuf
>
> This patch allows the ISA-L compression PMD, t
> On Jul 11, 2018, at 6:47 AM, khemendra kumar
> wrote:
>
> Hi All,
>
> Kindly help to check below compile error in DPDK Pkt-gen on x86.
>
> I am following instructions from "
> http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html";
>
> *Below cmd I followed:*
> sudo make config
Hi,
> -Original Message-
> From: Shally Verma [mailto:shally.ve...@caviumnetworks.com]
> Sent: Monday, July 2, 2018 5:57 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; pathr...@caviumnetworks.com;
> mcha...@caviumnetworks.com; Sunila Sahu ;
> Sunila Sahu ; Ashish Gupta
>
> Subject: [
> -Original Message-
> From: Singh, Jasvinder
> Sent: Tuesday, July 10, 2018 9:44 PM
> To: dev@dpdk.org
> Cc: Dumitrescu, Cristian
> Subject: [PATCH] examples/ip_pipeline: remove CLI command dependency
> on pipeline thread
>
>
Applied on next-pipeline tree, thanks!
v12:
- fix return value in eal_dev_hotplug_request_to_primary.
- add more error log in rte_eal_hotplug_add.
- fix return value in rte_eal_hotplug_add and rte_eal_hotplug_remove
any failure due to IPC error will return -ENOMSG, but not -1.
- remove unnecessary changes from previous rework.
v11:
-
When use memcmp to compare two PCI address, sizeof(struct rte_pci_addr)
is 4 bytes aligned, and it is 8. While only 7 byte of struct rte_pci_addr
is valid. So compare the 8th byte will cause the unexpected result, which
happens when repeatedly attach/detach a device.
Fixes: c752998b5e2e ("pci: int
Add driver API rte_eth_release_port_private to support the
case when an ethdev need to be detached on a secondary process.
Local state is set to unused and shared data will not be reset
so the primary process can still use it.
Signed-off-by: Qi Zhang
Reviewed-by: Andrew Rybchenko
Acked-by: Remy
Subroutine to unmap VFIO resource is shared by secondary and
primary, and it does not work on the secondary process. Since
for secondary process, it is not necessary to close interrupt
handler, set pci bus mastering and remove vfio_res from
vfio_res_list. So, the patch adds a dedicate function to h
We are going to introduce the solution to handle hotplug in
multi-process, it includes the below scenario:
1. Attach a device from the primary
2. Detach a device from the primary
3. Attach a device from a secondary
4. Detach a device from a secondary
In the primary-secondary process model, we ass
Clear vfio_group_fd is not necessary to involve any IPC.
Also, current IPC implementation for SOCKET_CLR_GROUP is not
correct. rte_vfio_clear_group on secondary will always fail,
that prevent device be detached correctly on a secondary process.
The patch simply removes all IPC related stuff in
rte_
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c | 2 ++
1 file changed, 2 ins
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
1 file changed, 3
This patch cover the multi-process hotplug case when a device
attach/detach request be issued from a secondary process
device attach on secondary:
a) secondary send sync request to the primary.
b) primary receive the request and attach the new device if
failed goto i).
c) primary forward attach
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_release_port_private to
The sample code demonstrates device (ethdev only) management
at a multi-process environment. The user can attach/detach a
device on primary process and see it is synced on secondary
process automatically.
How to start?
./hotplug_mp --proc-type=auto
Command Line Example:
>help
>list
/* attach a
Update release notes for the new multi-process hotplug feature.
Signed-off-by: Qi Zhang
---
doc/guides/rel_notes/release_18_08.rst | 11 +++
1 file changed, 11 insertions(+)
diff --git a/doc/guides/rel_notes/release_18_08.rst
b/doc/guides/rel_notes/release_18_08.rst
index bc0124295..12
On 11-Jul-18 2:47 PM, Qi Zhang wrote:
This patch cover the multi-process hotplug case when a device
attach/detach request be issued from a secondary process
device attach on secondary:
a) secondary send sync request to the primary.
b) primary receive the request and attach the new device if
>-Original Message-
>From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
>Sent: 11 July 2018 17:57
>To: Verma, Shally
>Cc: dev@dpdk.org; Athreya, Narayana Prasad
>; Challa, Mahipal
>; Sahu, Sunila ; Sahu,
>Sunila ; Gupta, Ashish
>
>Subject: RE: [PATCH v2 3/5] compress/
> -Original Message-
> From: Shally Verma [mailto:shally.ve...@caviumnetworks.com]
> Sent: Monday, July 2, 2018 5:57 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; pathr...@caviumnetworks.com;
> mcha...@caviumnetworks.com; Sunila Sahu
> ; Ashish Gupta
>
> Subject: [PATCH v2 5/5] do
rte_eth_dev_attach() is to be deprecated.
Signed-off-by: Andrew Rybchenko
---
app/pdump/main.c | 94 +++-
1 file changed, 70 insertions(+), 24 deletions(-)
diff --git a/app/pdump/main.c b/app/pdump/main.c
index 6bcf8c498..ac2287124 100644
--- a/app/pd
Hotplug functions should be used directly to add and remove devices.
Signed-off-by: Andrew Rybchenko
---
doc/guides/rel_notes/deprecation.rst| 5 +
lib/librte_eal/common/include/rte_dev.h | 2 ++
2 files changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/g
As discussed in [1] EAL hotplug should be used directly to add/remove devices.
app/pdump changes are build-tested only.
[1] http://mails.dpdk.org/archives/dev/2018-July/107507.html
Andrew Rybchenko (3):
app/pdump: use hotplug add instead of attach
ethdev: deprecate attach and detach function
These functions are buggy from the very beginning and should not be used.
Generic EAL hotplug mechanisms should be used instead.
Signed-off-by: Andrew Rybchenko
---
app/test-pmd/Makefile| 1 +
app/test-pmd/meson.build | 1 +
doc/guides/rel_notes/deprecation.rst | 7 ++
> On Jul 11, 2018, at 8:21 AM, Wiles, Keith wrote:
>
>
>
>> On Jul 11, 2018, at 6:47 AM, khemendra kumar
>> wrote:
>>
>> Hi All,
>>
>> Kindly help to check below compile error in DPDK Pkt-gen on x86.
>>
>> I am following instructions from "
>> http://pktgen-dpdk.readthedocs.io/en/latest/
This patch allows the ISA-L compression PMD,
to be used with offsets in the mbuf.
Offsets can now be used for source and destination buffers,
during compression or decompression.
V2 - commit message change.
- error log message reword.
- avail_out not taking offset into account.
Fixes: dc49
Hi Keith,
Thanks for your quick help.
I am new to Pktgen and DPDK :(
Now I tried with DPDK18.02 version with Pktgen of 3.5.0 version.
This works on my x86 machine :)
Further I can use Pktgen 3.5.2 with DPDK 18.02. as you suggested.
Now I am trying *Pktgen on ARM machine*.
I am using *DPDK 18.
- Original Message -
> From: "Ciara Loftus"
> To: "Bala Sankaran"
> Cc: "Aaron Conole" , "Keith Wiles"
> , us...@dpdk.org, dev@dpdk.org, "Maxime
> Coquelin" , "Ian Stokes"
> Sent: Wednesday, July 11, 2018 4:12:38 AM
> Subject: RE: [dpdk-users] Traffic doesn't forward on virtual devic
Processed operations ring is created for each queue pair,
but it was not being freed when the queue pair was released.
Fixes: b0e23c458a6f ("compress/isal: add queue pair related ops")
Cc: sta...@dpdk.org
Signed-off-by: Pablo de Lara
---
drivers/compress/isal/isal_compress_pmd_ops.c | 3 +++
1
There is a naming convention for logtypes of PMDs:
"pmd.driverType.driverName".
Therefore, the logtype for ISA-L PMD should be "pmd.compress.isal".
Fixes: 490e725b95b2 ("compress/isal: add device init and de-init")
Cc: sta...@dpdk.org
Signed-off-by: Pablo de Lara
---
drivers/compress/isal/isal_
Fixes: b0e23c458a6f ("compress/isal: add queue pair related ops")
Cc: sta...@dpdk.org
Signed-off-by: Pablo de Lara
---
drivers/compress/isal/isal_compress_pmd_ops.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/compress/isal/isal_compress_pmd_ops.c
b/drivers/co
> On Jul 11, 2018, at 9:26 AM, khemendra kumar
> wrote:
>
> Hi Keith,
>
> Thanks for your quick help.
>
> I am new to Pktgen and DPDK :(
>
> Now I tried with DPDK18.02 version with Pktgen of 3.5.0 version.
> This works on my x86 machine :)
>
> Further I can use Pktgen 3.5.2 with DPDK 18.02
Compressdev tests depend on Zlib library,
so they can only be enabled if this is available.
Signed-off-by: Pablo de Lara
---
devtools/test-build.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index 3ea82bb46..059065891 100755
--- a/devtools
On Wed, 11 Jul 2018 18:41:50 +0800
Jeff Guo wrote:
> As we know, hot plug is an importance feature, either use for the datacenter
> device’s fail-safe, or use for SRIOV Live Migration in SDN/NFV. It could bring
> the higher flexibility and continuality to the networking services in multiple
> use
11/07/2018 09:17, Pablo de Lara:
> Compressdev tests depend on Zlib library,
> so they can only be enabled if this is available.
>
> Signed-off-by: Pablo de Lara
> ---
> --- a/devtools/test-build.sh
> +++ b/devtools/test-build.sh
> @@ -154,6 +154,7 @@ config () #
> test "$DPDK_DE
On 11.07.2018 15:30, Zhang, Qi Z wrote:
-Original Message-
From: Andrew Rybchenko [mailto:arybche...@solarflare.com]
Sent: Wednesday, July 11, 2018 5:27 PM
To: Zhang, Qi Z ; tho...@monjalon.net; Burakov,
Anatoly
Cc: Ananyev, Konstantin ; dev@dpdk.org;
Richardson, Bruce ; Yigit, Ferruh
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Wednesday, July 11, 2018 7:39 AM
> To: Daly, Lee
> Cc: dev@dpdk.org; De Lara Guarch, Pablo ;
> sta...@dpdk.org
> Subject: [PATCH 3/3] compress/isal: fix memory leak
>
> Processed operations ring is created for each queue pair,
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Wednesday, July 11, 2018 7:39 AM
> To: Daly, Lee
> Cc: dev@dpdk.org; De Lara Guarch, Pablo ;
> sta...@dpdk.org
> Subject: [PATCH 2/3] compress/isal: set null pointer after freeing
>
> Fixes: b0e23c458a6f ("compress/isal: add qu
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Wednesday, July 11, 2018 7:39 AM
> To: Daly, Lee
> Cc: dev@dpdk.org; De Lara Guarch, Pablo ;
> sta...@dpdk.org
> Subject: [PATCH 1/3] compress/isal: fix logtype name
>
> There is a naming convention for logtypes of PMDs:
> "pmd
29/06/2018 12:54, Ferruh Yigit:
> On 6/29/2018 11:13 AM, David Marchand wrote:
> > Caught on ubuntu-16.04 with hwe kernel for aarch64:
> >
> > $ uname -a
> > Linux ubuntu1604arm64es 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May
> > 17 13:08:01 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
> >
> >
02/07/2018 18:08, Andrew Rybchenko:
> On 07/02/2018 06:55 PM, Olivier Matz wrote:
> > Given its very good contributions to this library, add Andrew as
> > official maintainer for librte_mempool.
> >
> > Signed-off-by: Olivier Matz
> > ---
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -277,6 +
10/07/2018 00:12, Yongseok Koh:
>
> > On Jul 9, 2018, at 3:05 AM, Matan Azrad wrote:
> >
> >
> >
> > From: Adrien Mazarguil
> >> Shahaf and Matan volunteered to replace Nélio and myself as maintainers
> >> for
> >> mlx4 and mlx5 PMDs. Cheers!
> >>
> >
> > Thanks!
>
> Adrien and Nelio,
>
>
>-Original Message-
>From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
>Sent: 11 July 2018 19:32
>To: Verma, Shally
>Cc: dev@dpdk.org; Athreya, Narayana Prasad
>; Challa, Mahipal
>; Sahu, Sunila ; Gupta,
>Ashish
>Subject: RE: [PATCH v2 5/5] doc: add ZLIB PMD documen
05/07/2018 18:05, Ferruh Yigit:
> On 7/3/2018 5:16 PM, Emma Kenny wrote:
> > l2fwd_fork is not complied by default, this will make it compile
> >
> > Fixes: 95e8005a56e8 ("examples/l2fwd_fork: new app")
> >
> > Signed-off-by: Emma Kenny
>
> Acked-by: Ferruh Yigit
Applied, thanks
03/07/2018 14:10, Shahaf Shuler:
> Monday, July 2, 2018 6:40 PM, Emma Kenny:
> > Subject: [PATCH v1] examples/multi_process: fix build error
> >
> > Fix bug with undeclared variable name and calling a variable that is not
> > member of struct.
> >
> > CC main.o
> > l2fwd_fork/main.c: In function
29/06/2018 19:27, Gavin Hu:
> The default test script covers only default host cc compiler, either gcc or
> clang, the fix is to increase the coverage by adding one more to cover
> clang and the others for gcc.
>
> Fixes: a55277a788 ("devtools: add test script for meson builds")
> Cc: sta...@dpdk.
librte_lpm: Improve lpm6 performance
Rework the lpm6 rule subsystem and replace
current rules algorithm complexity O(n)
with hashtables which allow dealing with
large (50k) rule sets.
Signed-off-by: Alex Kiselev
---
lib/Makefile | 2 +-
lib/librte_lpm/meson.build | 1 +
lib/li
There is no need to rebuild the whole LPM tree
when a rule is deleted. This patch addresses this
issue introducing new delete operation.
Signed-off-by: Alex Kiselev
---
lib/librte_lpm/rte_lpm6.c | 698 ++
1 file changed, 583 insertions(+), 115 deletion
librte_lpm: Improve lpm6 performance
There is no need to rebuild the whole LPM tree
when a rule is deleted. This patch addresses this
issue introducing new delete operation.
Signed-off-by: Alex Kiselev
---
lib/librte_lpm/rte_lpm6.c | 698 ++
1 file ch
librte_lpm: Improve lpm6 performance
Rework the lpm6 rule subsystem and replace
current rules algorithm complexity O(n)
with hashtables which allow dealing with
large (50k) rule sets.
Signed-off-by: Alex Kiselev
---
lib/Makefile | 2 +-
lib/librte_lpm/meson.build | 1 +
lib/li
QAT driver checks byte alignment for KASUMI/SNOW 3G/ZUC algorithms using
cipher/auth_param, which are not initialized at this moment yet. Use
operation params instead.
Signed-off-by: Fiona Trahe
---
Change in v2 :
- fixed implementation to avoid data truncation
This fix should be backported to s
Hi Dmitri,
Thanks for debugging this.
However the below fix can truncate the data - I'll send an alternative fix
shortly.
Fiona
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dmitry Eremin-Solenikov
> Sent: Wednesday, July 11, 2018 1:25 PM
> To: dev@dpdk.org
29/06/2018 19:27, Gavin Hu:
> Gavin Hu (4):
> build: fix the meson build warning
> devtools: fix the missing ninja command error
> build: fix the meson cross compile error
> devtools: expand meson cross compiling test coverage
>
> gavin hu (2):
> mk: fix makefile based cross build errors
A quick reminder that the CFP for this closes on July 27th, which is two weeks
on Friday. If you're planning to submit a proposal you can do so at:
https://goo.gl/forms/Jh70MIA7QJE2nSBb2
Registration for the event is also open now. You can register at:
https://www.regonline.com/DPDKDublin
> --
On Wed, Jul 11, 2018 at 09:22:47AM +0200, Nelio Laranjeiro wrote:
> Signed-off-by: Nelio Laranjeiro
> ---
> drivers/net/mlx5/mlx5_flow.c | 682 +++
> 1 file changed, 537 insertions(+), 145 deletions(-)
>
[...]
> @@ -1322,26 +1583,122 @@ mlx5_flow_merge(struct rte_
05/07/2018 17:47, Jasvinder Singh:
> Add connection agent to enable connectivity with external agen
> (e.g. telnet, netcat, Python script, etc).
>
> Signed-off-by: Cristian Dumitrescu
> Signed-off-by: Jasvinder Singh
> ---
> config/common_base | 2 +-
> config/
On Wed, Jul 11, 2018 at 09:22:33AM +0200, Nelio Laranjeiro wrote:
> Re-work flow engine to support port redirection actions through TC.
>
> This first series depends on [1] which is implemented in commit
> "net/mlx5: support inner RSS computation" and on [2].
> Next series will bring the port red
On Wed, 11 Jul 2018 20:53:46 +0300
Alex Kiselev wrote:
> librte_lpm: Improve lpm6 performance
>
> Rework the lpm6 rule subsystem and replace
> current rules algorithm complexity O(n)
> with hashtables which allow dealing with
> large (50k) rule sets.
>
> Signed-off-by: Alex Kiselev
> ---
> li
On Tue, 10 Jul 2018 09:59:58 -0700
Yipeng Wang wrote:
> +
> +static inline void
> +__hash_rw_reader_lock(const struct rte_hash *h)
> +{
> + if (h->readwrite_concur_support && h->hw_trans_mem_support)
> + rte_rwlock_read_lock_tm(h->readwrite_lock);
> + else if (h->readwrite_con
> -Original Message-
> From: Verma, Shally [mailto:shally.ve...@cavium.com]
> Sent: Wednesday, July 11, 2018 6:16 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Athreya, Narayana Prasad
> ; Challa, Mahipal
> ; Sahu, Sunila ;
> Gupta, Ashish
> Subject: RE: [PATCH v2 5/5] doc: add ZL
04/07/2018 17:22, Thomas Monjalon:
> 30/06/2018 01:10, Kevin Traynor:
> > Set the starting point that all commits on master branch
> > with Fixes tag should be backported to relevant stable/LTS
> > branches, and explain that the submitter may indicate it is
> > not suitable for backport.
> >
> > O
I am seeing a build failure of MLX5 driver on Debian testing (buster)
with dpdk.org master branch.
This is using libibverbs-dev version 19.0-1
The failure is:
mlx5_glue.h:94:11: error: ‘struct ibv_counter_set_init_attr’ declared inside
parameter list will not be visible outside of this definitio
Signed-off-by: Mattias Rönnblom
---
config/common_base|5 +
drivers/event/Makefile|1 +
drivers/event/dsw/Makefile| 28 +
drivers/event/dsw/dsw_evdev.c | 361 +
drivers/event/dsw/dsw_evdev.h
This is the Distributed Software (DSW) event device, which distributes
the task of scheduling events among all the eventdev ports and their
lcore threads.
DSW is primarily designed for atomic-only queues, but also supports
single-link and parallel queues.
(DSW would be more accurately described a
09/05/2018 18:22, Erik Gabriel Carrillo:
> Add APIs that allow an application to query and reset the attributes of
> a service lcore. Add one such new attribute, "loops", which is a
> counter that tracks the number of times the service core has looped in
> the service runner function. This is use
This patchset introduces a new EAL API for querying devices,
filtered by arbitrary properties.
The following elements are introduced to this end:
* A new object, "rte_class", is used to describe
the device class abstraction layer (eth, crypto, ...).
* Both rte_bus and rte_class now offer a
Use the standard EAL logging functions in rte_devargs.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_devargs.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_devargs.c
b/lib/librte_eal/common/eal_common_devargs.c
in
This library will be used by the EAL to parse parameters.
Signed-off-by: Gaetan Rivet
---
lib/Makefile | 3 +--
lib/librte_eal/meson.build| 1 +
lib/librte_kvargs/Makefile| 2 +-
lib/librte_kvargs/meson.build | 3 +++
lib/meson.build | 8 ++--
5 files c
This function permits defining additional terminating characters,
ending the parsing to arbitrary delimiters.
Signed-off-by: Gaetan Rivet
Acked-by: Thomas Monjalon
Acked-by: Shreyansh Jain
---
lib/Makefile | 1 +
lib/librte_kvargs/meson.build| 2 ++
li
Error logs in kvargs parsing should be better handled in components
calling the library.
This library must be as lean as possible.
Signed-off-by: Gaetan Rivet
Acked-by: Thomas Monjalon
---
lib/librte_kvargs/rte_kvargs.c | 22 +-
1 file changed, 5 insertions(+), 17 deletions
rte_devargs_parse becomes non-variadic,
rte_devargs_parsef becomes the variadic version, to be used to compose
device strings.
Signed-off-by: Gaetan Rivet
Acked-by: Shreyansh Jain
Acked-by: Thomas Monjalon
---
drivers/net/failsafe/failsafe_args.c| 2 +-
drivers/net/failsafe/failsafe_e
This macro adds symbols to the .fini section using the global
RTE priorities, to ensure consistency.
Signed-off-by: Gaetan Rivet
Acked-by: Shreyansh Jain
---
lib/librte_eal/common/include/rte_common.h | 23 ++
1 file changed, 23 insertions(+)
diff --git a/lib/librte_eal/com
Use the iteration hooks in the abstraction layers to perform the
requested filtering on the internal device lists.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_dev.c | 168
lib/librte_eal/common/include/rte_dev.h | 26
lib/librte_eal/rte_eal_ve
This abstraction exists since the infancy of DPDK.
It needs to be fleshed out however, to allow a generic
description of devices properties and capabilities.
A device class is the northbound interface of the device, intended
for applications to know what it can be used for.
It is conceptually jus
Parse a device description.
Split this description in their relevant part for each layers.
No dynamic allocation is performed.
Signed-off-by: Gaetan Rivet
---
lib/Makefile| 1 +
lib/librte_eal/bsdapp/eal/Makefile | 1 +
lib/librte_eal/common/eal_common_dev.c |
This function is private to the EAL.
It is used to parse each layers in a device description string,
and store the result in an rte_devargs structure.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_devargs.c | 144
lib/librte_eal/common/eal_private.h
A device iterator allows iterating over a set of devices.
This set is defined by the two descriptions offered,
* rte_bus
* rte_class
Only one description can be provided, or both. It is not allowed to
provide no description at all.
Each layer of abstraction then performs a filter based on th
This function can be used as a callback to
rte_kvargs_process.
This should reduce code duplication.
Signed-off-by: Gaetan Rivet
---
lib/librte_kvargs/rte_kvargs.c | 10 +
lib/librte_kvargs/rte_kvargs.h | 26
lib/librte_kvargs/rte_kvargs_versi
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/Makefile | 3 +-
drivers/bus/pci/meson.build | 6 +++-
drivers/bus/pci/pci_common.c | 3 +-
drivers/bus/pci/pci_params.c | 53
drivers/bus/pci/private.h| 25 +
5 files changed, 86 inse
The PCI bus can now parse a matching field "id" as follows:
"bus=pci,id=:00:00.0"
or
"bus=pci,id=00:00.0"
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/pci_params.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/driver
This iterator can be customized with a comparison function that will
trigger a stopping condition.
It can be leveraged to write several different iterators that have
similar but non-identical purposes.
It is private to librte_ethdev.
Signed-off-by: Gaetan Rivet
---
lib/librte_ethdev/Makefile
The vdev bus parses a field "driver", matching
a vdev driver name with one passed as follows:
"bus=vdev,driver="
Signed-off-by: Gaetan Rivet
---
drivers/bus/vdev/vdev_params.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/vdev/vdev_param
Signed-off-by: Gaetan Rivet
---
drivers/bus/vdev/Makefile | 3 +-
drivers/bus/vdev/meson.build| 5 +++-
drivers/bus/vdev/vdev.c | 10 ---
drivers/bus/vdev/vdev_params.c | 51 +
drivers/bus/vdev/vdev_private.h | 26 +
5 files
101 - 200 of 259 matches
Mail list logo