> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing
> Sent: Thursday, July 5, 2018 9:36 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/i40e: fix packet type parser error
>
> To parse packet type corr
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing
> Sent: Thursday, July 5, 2018 9:36 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser
> issue
>
> Since PPPoL2T
When building share library, thread-local storage model will be changed
to global-dynamic. It will add additional cost for reading thread local
variable. On the other hand, dynamically load share library with static
TLS will request additional DTV slot which is limited by loader. By now
only librte
On 7/4/2018 3:55 PM, Thomas Monjalon wrote:
04/07/2018 09:16, Guo, Jia:
On 7/4/2018 6:21 AM, Thomas Monjalon wrote:
29/06/2018 12:30, Jeff Guo:
/**
+ * Implementation a specific hot plug handler, which is responsible
+ * for handle the failure when hot remove the device, guaranty the sys
Free the buffer allocated for shared_shaper_id array in
case of configuration without shared shapers.
Signed-off-by: Nithin Dabilpuram
Acked-by: Jasvinder Singh
---
v2 changes:
- Modify subject to use proper keyword for test-pmd
- Change author email address
app/test-pmd/cmdline_tm.c | 16
On Wed, Jul 04, 2018 at 11:54:37PM +0200, Maxime Coquelin wrote:
[...]
> @@ -225,6 +231,15 @@ struct vring_desc_packed {
> uint16_t index;
> uint16_t flags;
> };
> +
> +#define VRING_EVENT_F_ENABLE 0x0
> +#define VRING_EVENT_F_DISABLE 0x1
> +#define VRING_EVENT_F_DESC 0x2
> +
> +struct
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Thursday, July 5, 2018 9:55 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; Burakov, Anatoly ; Ananyev,
> Konstantin ; Richardson, Bruce
> ; Yigit, Ferruh ; Shelton,
> Benjamin H ; Vangati, Narender
> ; arybche..
>-Original Message-
>From: Pablo de Lara [mailto:pablo.de.lara.gua...@intel.com]
>Sent: 04 July 2018 19:41
>To: Verma, Shally ; Gupta, Ashish
>; fiona.tr...@intel.com;
>lee.d...@intel.com
>Cc: dev@dpdk.org; Pablo de Lara
>Subject: [PATCH v3 2/4] doc: rename compress feature flag
>
>Ext
05/07/2018 03:38, Zhang, Qi Z:
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > 04/07/2018 12:49, Zhang, Qi Z:
> > > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > > > 04/07/2018 03:47, Zhang, Qi Z:
> > > > > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > > > > > 03/07/2018
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Thursday, July 5, 2018 5:42 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; Burakov, Anatoly ; Ananyev,
> Konstantin ; Richardson, Bruce
> ; Yigit, Ferruh ; Shelton,
> Benjamin H ; Vangati, Narender
> ; arybche..
To parse packet type correctly, profile needs to be
loaded again to update tables in SW even if profile
has exited. But previously packet type parser will
be false after loading profile when profile already
exists.
This patch fixes the issue.
Fixes: 0585f5c3d264 ("net/i40e: fix DDP profile DEL ope
Since PPPoL2TP profile is updated, PPPoL2TP packet type
parser will be false with the current parser function.
This patch fixes the issue.
Fixes: 11556c915a08 ("net/i40e: improve packet type parser")
Cc: sta...@dpdk.org
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 3 ++-
1 fi
Renamed feature "Bypass" to "Pass-through",
as it is a more explicit name, meaning that the PMD
is capable of passing the mbufs through it,
without making any modifications (i.e.. NULL algorithm).
Signed-off-by: Pablo de Lara
---
doc/guides/compressdevs/features/default.ini | 2 +-
doc/guides/co
The current mbuf scatter gather feature flag is
too ambiguous, as it is not clear if input and/or output
buffers can be scatter gather mbufs or not.
Therefore, three new flags will replace this flag:
- RTE_COMP_FF_OOP_SGL_IN_SGL_OUT
- RTE_COMP_FF_OOP_SGL_IN_FB_OUT
- RTE_COMP_FF_OOP_FB_IN_SGL_OUT
Added Huffman fixed and dynamic encoding feature flags,
so an application can query if a device supports
these two types, when performing DEFLATE compression.
Signed-off-by: Pablo de Lara
Acked-by: Fiona Trahe
---
Changes in v3:
- No change
Changes in v2:
- Fixed typo
drivers/compress/isal
In PMD feature matrices (.ini files), it is not required to
have the list of features that are not supported,
just the ones that are.
Signed-off-by: Pablo de Lara
---
doc/guides/compressdevs/features/isal.ini | 8
1 file changed, 8 deletions(-)
diff --git a/doc/guides/compressdevs/feat
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 5c7effabe..a2930b620 100644
--- a/lib/librte_vhost/vhost.h
+++ b/lib/librte_vhost/vhost.h
@@ -274,7 +274,8 @@
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.c | 70 +--
lib/librte_vhost/vhost.h | 63 --
lib/librte_vhost/vhost_user.c | 24 +++
lib/librte_vhost/virtio_net.c | 12
4 files ch
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 117 +-
1 file changed, 116 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 1a04df807..764f7cd23 100644
--- a/lib/librte_vhost/
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 70 ---
1 file changed, 40 insertions(+), 30 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index da5a13aad..e3b73c951 100644
--- a/lib/librte_vhost
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 111 ++
1 file changed, 111 insertions(+)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index e3b73c951..1a04df807 100644
--- a/lib/librte_vhost/virtio_net.c
++
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.c | 9 --
lib/librte_vhost/vhost.h | 13 ++--
lib/librte_vhost/vhost_user.c | 64 --
lib/librte_vhost/virtio_net.c | 71 +--
4 files changed, 13
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.h | 1 +
lib/librte_vhost/virtio_net.c | 119 +-
2 files changed, 119 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 993f10ef9..92a87712e
From: Yuanhan Liu
Add code to set up packed queues when enabled.
Signed-off-by: Yuanhan Liu
Signed-off-by: Jens Freimann
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.c | 43 ++-
lib/librte_vhost/vhost.h | 7 ++-
lib/librte_v
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 7705c853b..7db3877d4 100644
--- a/lib/librte_vhost/virtio_net.c
+
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index e189cbb2c..85b7ca02f 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib/librt
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 81377e79a..e189cbb2c 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib/librte_vhost/virtio
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 238 +++---
1 file changed, 129 insertions(+), 109 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index b5f4f14df..7705c853b 100644
--- a/lib/librte_vho
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 85b7ca02f..b5f4f14df 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib/librte_vhost/v
From: Jens Freimann
Add some helper functions to check descriptor flags
and check if a vring is of type packed.
Signed-off-by: Jens Freimann
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/librte_vhost/vhost.h
From: Jens Freimann
Signed-off-by: Jens Freimann
---
lib/librte_vhost/vhost.h | 20
1 file changed, 20 insertions(+)
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 79e3117d2..d1f3a4d22 100644
--- a/lib/librte_vhost/vhost.h
+++ b/lib/librte_vhost/vho
This series is a handover from Jen's "[PATCH v4 00/20]
implement packed virtqueues", which only implements the
vhost side. Virtio PMD implementation will follow in a
next series.
The series applies on top of previous reworks I posted
during this cycle that merges mergeable and non-mergeable
recei
04/07/2018 12:49, Zhang, Qi Z:
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > 04/07/2018 03:47, Zhang, Qi Z:
> > > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > > > 03/07/2018 17:08, Zhang, Qi Z:
> > > > > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > > > > > 02/07/2018
On 07/04/2018 08:51 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:21AM +0200, Maxime Coquelin wrote:
[...]
+
+ if (unlikely(vq->access_ok == 0))
+ if (unlikely(vring_translate(dev, vq) < 0))
+ goto out;
+
+
Please just keep one blank line.
+
On 07/04/2018 08:25 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:28AM +0200, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.c | 73
lib/librte_vhost/vhost.h | 71 ++
04/07/2018 21:47, Ferruh Yigit:
> On 6/12/2018 3:02 PM, Ophir Munk wrote:
> > Please note that other than cloning iproute2 we also need to install clang
> > and llvm tools versions 3.7 and upper.
> > Not sure there are clang and llvm packages of the required versions for the
> > common distributi
On 6/29/2018 8:23 PM, Rahul Lakkireddy wrote:
> Patch 1 adds link up and down operations for PF and VF.
>
> Patch 2 enables 2-tuple based RSS hash on IPv4 fragment packets and
> IPv6 packets with extension headers.
>
> Patch 3 queries firmware for max queues that can be allocated.
>
> Patch 4 fi
On 7/4/2018 8:16 PM, Ferruh Yigit wrote:
> On 6/29/2018 7:12 PM, Rahul Lakkireddy wrote:
>> This series of patches add support to offload flows to HASH region
>> available on Chelsio T6 NICs. HASH region can only offload exact match
>> (maskless) flows and hence the masks must be all set for all ma
On 6/12/2018 3:02 PM, Ophir Munk wrote:
> Please note that other than cloning iproute2 we also need to install clang
> and llvm tools versions 3.7 and upper.
> Not sure there are clang and llvm packages of the required versions for the
> common distributions.
> I compiled the tools source code a
On 04.07.2018 20:15, Ferruh Yigit wrote:
Fixes: 3d12dceed2df ("ethdev: add new offload flag to keep CRC")
Signed-off-by: Ferruh Yigit
Acked-by: Andrew Rybchenko
On 6/29/2018 7:12 PM, Rahul Lakkireddy wrote:
> From: Shagun Agrawal
>
> CLIP region holds destination IPv6 addresses to be matched for
> corresponding flows. Query firmware for CLIP resources and allocate
> table to manage them. Also update LE-TCAM to use CLIP to reduce
> number of slots needed
On 6/29/2018 7:12 PM, Rahul Lakkireddy wrote:
> This series of patches add support to offload flows to HASH region
> available on Chelsio T6 NICs. HASH region can only offload exact match
> (maskless) flows and hence the masks must be all set for all match
> items.
Hi Shagun, Rahul,
Can you pleas
ethdev layer introduced checks for application requested RSS hash
functions and returns error for ones unsupported by hardware
This check breaks some sample applications which blindly configures
RSS hash functions without checking underlying hardware support.
Updated examples to mask out unsuppor
On 7/3/2018 7:37 PM, Ferruh Yigit wrote:
> On 7/2/2018 10:27 PM, Thomas Monjalon wrote:
>> A new offload API has been introduced in DPDK 17.11.
>>
>> This patchset resumes the work started by Ferruh (RFC)
>> to definitely drop the old offload API.
>>
>> There are:
>> - 3 patches to remove some usel
On 7/4/2018 10:45 AM, Ferruh Yigit wrote:
> On 7/4/2018 10:34 AM, Ferruh Yigit wrote:
>> On 7/4/2018 2:31 AM, dev-boun...@dpdk.org wrote:
>>> Add DEV_RX_OFFLOAD_CRC_STRIP to virtual drivers since they don't
>>> use CRC at all, when an application requires this offload virtual
>>> PMDs should not re
On 7/4/2018 7:04 PM, Ferruh Yigit wrote:
> On 7/3/2018 10:36 PM, Ed Czeck wrote:
>> Replace the BSD license header with the SPDX tag.
>>
>> Signed-off-by: Ed Czeck
>
> Reviewed-by: Ferruh Yigit
Applied to dpdk-next-net/master, thanks.
On 6/29/2018 4:41 PM, Andrew Rybchenko wrote:
> Implement EF10 ESSB Rx datapath callback to get number of pending
> descriptors.
>
> Signed-off-by: Andrew Rybchenko
> Reviewed-by: Ivan Malov
Series applied to dpdk-next-net/master, thanks.
On 6/29/2018 4:41 PM, Andrew Rybchenko wrote:
> Number of buffers left in completed descriptor may be 0. If so,
> all buffers of the descriptor are freed once again.
>
> Fixes: 390f9b8d82c9 ("net/sfc: support equal stride super-buffer Rx mode")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Andrew Rybc
On 7/3/2018 10:36 PM, Ed Czeck wrote:
> Replace the BSD license header with the SPDX tag.
>
> Signed-off-by: Ed Czeck
Reviewed-by: Ferruh Yigit
On 6/29/2018 4:27 PM, Andrew Rybchenko wrote:
> Fixes: 390f9b8d82c9 ("net/sfc: support equal stride super-buffer Rx mode")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Andrew Rybchenko
> Reviewed-by: Ivan Malov
Applied to dpdk-next-net/master, thanks.
On 7/3/2018 7:37 PM, Ferruh Yigit wrote:
> On 7/1/2018 12:05 PM, ido goshen wrote:
>> From: ido g
>>
>> Support rx of in direction packets only
>> Useful for apps that also tx to eth_pcap ports in order to not see them
>> echoed back in as rx when out direction is also captured
>>
>> Example:
>> I
On 6/29/2018 4:23 PM, Andrew Rybchenko wrote:
> TCI may contain PCP or DEI bits. Matching of these bits is not
> supported, but the bits still may be set in specification value and
> not covered by mask. So, these bits should be ignored.
>
> Fixes: 894080975e1e ("net/sfc: support VLAN in flow API
On 6/29/2018 8:15 AM, David Marchand wrote:
> On Thu, Jun 28, 2018 at 4:16 PM, Ferruh Yigit wrote:
>> Documents the assumption that 'xstats[i].id == i' and
>> key=xstats_names[i].name, value=xstats[i].value
>>
>> xstats[i].id is still used for xstats _by_id() APIs.
>>
>> This patch reverts some pa
On 7/1/2018 5:46 PM, Pavan Nikhilesh wrote:
> From: "Kudurumalla, Rakesh"
>
> This feature is used to offload stripping of vlan header from recevied
> packets and update vlan_tci field in mbuf when
> DEV_RX_OFFLOAD_VLAN_STRIP & ETH_VLAN_STRIP_MASK flag is set.
>
> Signed-off-by: Rakesh Kudurumal
Prior to this patch, all port representors detected on a given device were
probed and Ethernet devices instantiated for each of them.
This patch adds support for the standard "representor" parameter, which
implies that port representors are not probed by default anymore, except
for the list provid
This patch brings support for BlueField representors.
Signed-off-by: Adrien Mazarguil
Cc: Shahaf Shuler
--
v3 changes:
- This patch was not present in prior revisions.
---
drivers/net/mlx5/mlx5.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/
Port representors are probed in whatever unspecified order
ibv_get_device_list() returns them.
This is counterintuitive to users since DPDK port IDs assignment almost
never follows the same sequence as representor IDs. Additionally, the
master device does not necessarily inherit the lowest DPDK po
Probe existing port representors in addition to their master device and
associate them automatically.
To avoid collision between Ethernet devices, they are named as follows:
- "{DBDF}" for master/switch devices.
- "{DBDF}_representor_{rep}" with "rep" starting from 0 for port
representors.
(Pa
The current PCI probing method is not aware of Verbs port representors,
which appear as standard Verbs devices bound to the same PCI address and
cannot be distinguished.
Problem is that more often than not, the wrong Verbs device is used,
resulting in unexpected traffic.
This patch makes the driv
Unlike mlx4 from which this capability was inherited, mlx5 devices expose
exactly one Verbs port per PCI bus address. Each physical port gets
assigned its own bus address with a single Verbs port.
While harmless, this code requires an extra loop that would get in the way
of subsequent refactoring.
This patch gets rid of redundant calls to open the device and query its
attributes in order to simplify the code.
Signed-off-by: Adrien Mazarguil
Reviewed-by: Xueming Li
--
v2 changes:
- Minor indent fix on existing code.
---
drivers/net/mlx5/mlx5.c | 64 +--
All the generic probing code needs is an IB device. While this device is
currently supplied by a PCI lookup, other methods will be added soon.
This patch divides the original function, which has become huge over time,
as follows:
1. PCI-specific (mlx5_pci_probe()).
2. Verbs device (mlx5_dev_spawn
Since commit "net/mlx5: drop useless support for several Verbs ports"
removed an inner loop, mlx5_dev_spawn() is left with an unnecessary indent
level.
This patch eliminates a block, moves its local variables to function scope,
and re-indents its contents (diff best viewed with --ignore-all-space)
There are several attribute objects in this function:
- IB device attributes (struct ibv_device_attr_ex device_attr).
- Direct Verbs attributes (struct mlx5dv_context attrs_out).
- Port attributes (struct ibv_port_attr).
- IB device attributes again (struct ibv_device_attr_ex device_attr_ex).
"at
This series adds support for port (VF) representors to the mlx5 PMD, which
can be instantiated using the standard "representor" device parameter.
Note the PMD only probes existing representors which exist as Verbs devices;
their creation is part of the host system configuration.
v3 changes:
- Ad
Since asymmetric functionality will be implemented soon,
not all PMDs must support symmetric sessions.
Therefore, a check is added if a device does not implement
the symmetric functions, meaning that the device does not
support symmetric operations.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Go
As announced in the previous release,
The API to attach/dettach a session to a queue pair
is removed, as it was only used in DPAA, and it is not
actually needed.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
doc/guides/rel_notes/deprecation.rst | 8
doc/guides/rel_notes
The PMD specific API to configure, clear and
obtain session private size is renamed, including
the word _sym_ to clarify that it is API
for symmetric sessions, so there will not be any
conflicts for asymmetric and other type of sessions
in the future.
Signed-off-by: Pablo de Lara
Acked-by: Akhil
Removed cryptodev queue start/stop functions,
as they were marked deprecated in 18.05, since they
were not implemented by any driver.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
doc/guides/rel_notes/deprecation.rst | 4 ---
doc/guides/rel_notes/release_18_08.rst |
Removed rte_cryptodev_get_header_session_size
and rte_cryptodev_get_private_session_size functions,
as they have been substituted with functions
specific for symmetric operations, with _sym_ word
after "rte_cryptodev_".
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
doc/guides/rel_notes
The current mbuf scatter gatter feature flag is
too ambiguous, as it is not clear if input and/or output
buffers can be scatter gather mbufs or not, plus
if in-place and/or out-of-place is supported.
Therefore, five new flags will replace this flag:
- RTE_CRYPTODEV_FF_IN_PLACE_SGL
- RTE_CRYPTODEV_
In release 18.05, a deprecation notice to remove the `sym`
structure in the cryptodev info structure was sent.
However, only one of the fields inside the structure will
be removed, so the notice is not actually correct.
In any case, it needs to be removed.
Signed-off-by: Pablo de Lara
Acked-by: A
Most crypto PMDs do not have a limitation
of the number of the sessions that can be handled
internally. The value that was set before was not
actually used at all, since the sessions are created
at the application level.
Therefore, this value is not parsed from the initial
crypto parameters anymore
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
examples/ipsec-secgw/ipsec-secgw.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/examples/ipsec-secgw/ipsec-secgw.c
b/examples/ipsec-secgw/ipsec-secgw.c
index a5da8b280..2582dcb6e 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
The maximum number of sessions device argument will be removed,
as most PMDs do not have a limitation on this number.
Therefore, the MVSAM PMD needs to parse this value internally.
Signed-off-by: Pablo de Lara
---
drivers/crypto/mvsam/rte_mrvl_pmd.c | 132
1
Currently, the info structure contains the maximum number
of sessions that a device can manage.
This field was useful when the session mempool was created inside
each device, but now it is created at the application level.
Most PMDs do not have a limitation on the sessions managed,
but a few do, t
Structure rte_cryptodev_info has currently PCI device
information ("struct rte_pci_device") in it.
This information is not generic to all devices,
so this gets replaced with the generic "rte_device" structure,
compatible with all crypto devices.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
The cryptodev info structure currently contains
the maximum number of sessions that can be used in a queue pair.
This is only set in DPAA_SEC PMD, and since it is calculated
based on the maximum number of sessions (which is not used
anymore), this field can be removed.
Signed-off-by: Pablo de Lara
Instead of using the maximum number of sessions
allowed by the PMDs (which will change to unlimited most
of the PMDs), limit the number to a small sufficient amount.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
test/test/test_cryptodev.c | 27 +--
1 file change
Instead of creating a fixed number of sessions,
calculate the necessary number based on number of devices
and queue pairs used.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
app/test-crypto-perf/main.c | 34 +++---
1 file changed, 31 insertions(+), 3 deletio
Calculate the number of sessions required for the application,
knowing that there is only one session required per device.
Signed-off-by: Pablo de Lara
Acked-by: Akhil Goyal
---
examples/l2fwd-crypto/main.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --gi
API changes in the cryptodev library, announced in the previous release, 18.05.
Changes in v4:
- Fixed MVSAM max number of sessions (Tomasz Duszynksi)
- Changed OUT_OF_PLACE to OOP in feature flags (Akhil Goyal)
- Added missing feature flags in aesni_gcm and openssl PMDs (Akhil
Goyal)
- Removed
On 07/04/2018 07:56 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:24AM +0200, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 61 ++-
1 file changed, 37 insertions(+), 24 deletions(-)
diff --git a/lib/
On 07/04/2018 07:53 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:25AM +0200, Maxime Coquelin wrote:
[...]
+static __rte_always_inline int
+fill_vec_buf_packed_indirect(struct virtio_net *dev,
+ struct vhost_virtqueue *vq,
+ struct vring_desc_p
Fixes: 3d12dceed2df ("ethdev: add new offload flag to keep CRC")
Signed-off-by: Ferruh Yigit
---
doc/guides/nics/features.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst
index ee89d6bfa..6fe6aa559 100644
--- a/do
On 07/04/2018 07:45 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:27AM +0200, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.h | 1 +
lib/librte_vhost/virtio_net.c | 121 +-
2 files changed, 121 inserti
On 07/04/2018 07:39 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:16AM +0200, Maxime Coquelin wrote:
From: Jens Freimann
Add some helper functions to check descriptor flags
and check if a vring is of type packed.
Signed-off-by: Jens Freimann
Signed-off-by: Maxime Coquelin
---
lib/
On 07/04/2018 07:37 AM, Tiwei Bie wrote:
On Mon, Jul 02, 2018 at 10:16:15AM +0200, Maxime Coquelin wrote:
From: Jens Freimann
Signed-off-by: Jens Freimann
---
lib/librte_vhost/vhost.h | 3 +++
lib/librte_vhost/virtio-packed.h | 22 ++
2 files changed, 25 in
On 07/03/2018 08:06 AM, Jason Wang wrote:
On 2018年07月02日 16:16, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.c | 73
lib/librte_vhost/vhost.h | 71
++
lib
Hi Akhil,
> -Original Message-
> From: Akhil Goyal [mailto:akhil.go...@nxp.com]
> Sent: Wednesday, July 4, 2018 1:57 PM
> To: De Lara Guarch, Pablo ; Doherty, Declan
> ; shally.ve...@caviumnetworks.com;
> ravi1.ku...@amd.com; jerin.ja...@caviumnetworks.com; Zhang, Roy Fan
> ; Trahe, Fiona
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.
>
> Of course there will be exceptions that will crop
On 7/2/2018 11:40 AM, Mohammad Abdul Awal wrote:
>
> On 27/06/2018 12:45, Nelio Laranjeiro wrote:
>> This series adds an easy and maintainable configuration version support for
>> those two actions for 18.08 by using global variables in testpmd to store the
>> necessary information for the tunnel
Implement support for hardware TSO.
Signed-off-by: Moti Haimovsky
---
v4:
* Bug fixes in filling TSO data segments.
* Modifications according to review inputs from Adrien Mazarguil
and Matan Azrad.
in reply to
1530190137-17848-1-git-send-email-mo...@mellanox.com
v3:
* Fixed compilation errors
Crypto dev would specify its headroom and tailroom requirement and the
application is expected to honour this while creating buffers.
Signed-off-by: Anoob Joseph
---
v1:
* Accomodated the name change of new fields
app/test-crypto-perf/cperf_options.h | 2 ++
app/test-crypto-perf/cperf_test
Enabling crypto devs to specify the minimum headroom and tailroom it
expects in the mbuf. For net PMDs, standard headroom has to be honoured
by applications, which is not strictly followed for crypto devs. This
prevents crypto devs from using free space in mbuf (available as
head/tailroom) for inte
Crypto PMDs would specify the head/tailroom it would use while
processing the crypto requests. This need to be considered while
verifying buffers processed by crypto PMDs.
Signed-off-by: Anoob Joseph
---
v1:
* Added patch
test/test/test_cryptodev_blockcipher.c | 60 +
This series adds the ability, for crypto PMDs, to communicate the
minimum head/tailroom requirement it may have, using the existing
cryptodev_info framework.
The availability and use of head/tailroom is an optimisation if the
hardware supports its use for crypto-op info. Devices that do not
suppor
On 7/2/2018 12:11 PM, Moti Haimovsky wrote:
> This patch adds support for building and running mlx5 PMD on
> 32bit systems such as i686.
>
> The main issue to tackle was handling the 32bit access to the UAR
> as quoted from the mlx5 PRM:
> QP and CQ DoorBells require 64-bit writes. For best perfor
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nithin Dabilpuram
> Sent: Wednesday, July 4, 2018 11:18 AM
> To: Lu, Wenzhuo ; Wu, Jingjing
> ; Iremonger, Bernard
>
> Cc: dev@dpdk.org; kka...@caviumnetworks.com; Nithin Dabilpuram
>
> Subject: [dpdk-dev] [PAT
Acked-by: Akhil Goyal
1 - 100 of 174 matches
Mail list logo