Hi,
> -Original Message-
> From: Andrew Rybchenko
> Sent: Wednesday, June 1, 2022 9:21 PM
> Subject: Re: [RFC v2 2/2] ethdev: queue-based flow aged report
>
> Again, summary must not be a statement.
>
> On 6/1/22 10:39, Xiaoyu Min wrote:
> > When application use queue-based flow rule ma
> -Original Message-
> From: Andrew Rybchenko
> Sent: Wednesday, June 1, 2022 9:21 PM
> Subject: Re: [RFC v2 1/2] ethdev: port flags for pre-configuration flow hints
>
> Summary must not be a statement. May be:
> ethdev: add strict queue to pre-configuration flow hints
>
> On 6/1/22 10
> -Original Message-
> From: Ferruh Yigit
> Sent: Wednesday, June 1, 2022 9:51 PM
> To: Sean Zhang (Networking SW) ; Ori Kam
> ; Xiaoyun Li
> ; Aman Singh ; Yuying Zhang
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ;
> Andrew Rybchenko
> Cc: dev@dpdk.org; Jiawei(Jonny) Wang ; Alexande
Modify RSS-related interface functions, as the NFDK firmware support
feature NFP_NET_CFG_CTRL_RSS2 rather than NFP_NET_CFG_CTRL_RSS.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_c
Implement NFP3800 card packet transmit function for NFDK firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 3 +-
drivers/net/nfp/nfp_ethdev_vf.c | 3 +-
dri
Move macro __round_mask, round_up and round_down from C file to
corresponding head file, will be used by TX function of nfp net
nfdk firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net
Implement NIC stop and close function for NFDK firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 92 -
drivers/net/nfp/nfp_ethde
This commit does not introduce new features, just integrate some common
logic into helper functions to reduce the same logic and increase code
reuse, include queue stop and queue close logic, will be used when NFP
net stop and close.
queue stop: reset queue
queue close: reset and release queue
Mo
Add ethdev option for NFDK firmware, implement tx_queue setup and
release function for NFDK firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 32 ++-
drive
Add and modify the nfp PMD struct and macro that will be used by NFDK
firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_rxtx.h | 69 +++---
1
Modify nfp driver logic, add firmware version (NFD3 or NFDK) judgment, will
according to the firmware version, mount different driver functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/n
Add support for a new type of NIC NFP3800 card, and update some
network card data acquisition interface functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.h |
Add 'nfd3' into the nfd3 firmware eth driver function name, preparation
for the next work, as we will support another nfdk firmware version.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/n
The NFP eth driver function name start with 'nfp_net', but set_mac
function start with 'nfp' only, rename it, be consistent with others.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/n
Multiple writes cause intermediate pointer values that do not
end on complete TX descriptors.
The QCP peripheral on the NFP provides a number of access
modes. In some access modes, the maximum amount to add must
be restricted to a 6bit value. The particular access mode
used by _nfp_qcp_ptr_add() h
From: Chaoyong He
This commit remove some unnecessary forward function
declarations.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 22 --
drivers/net/nfp/nfp_ethdev_vf.c | 12
drivers/n
From: Chaoyong He
Change the coding style of some logics, to make it more
compatible with the DPDK coding style.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 150
drivers/net/nfp/nfp_e
NFD is part of NFP firmware, and there only exist a NFD3 version before
this patch series.
This patch series mainly add the support of the new NFP3800 chip use
firmware with NFD3/NFDk.
Chaoyong He (2):
net/nfp: change the coding style
net/nfp: remove unnecessary forward function declaration
19/05/2022 15:28, Rahul Bhansali:
> This disable the sve_acle flag for cn10k.
>
> For native build, -Dplatform=cn10k will require to
> get sve_acle flag parameter in the build.
>
> Performance impact:-
> With l3fwd example, lpm lookup performance increased
> by ~21% if Neon is used instead of SVE
23/05/2022 15:34, Harman Kalra:
> Adding support for marvell thunderX t83 platform.
>
> Signed-off-by: Harman Kalra
> Acked-by: Ruifeng Wang
Applied, thanks.
19/04/2022 10:25, Tomasz Duszynski:
> Add PCI IDs which match CNF95O_A0 SoC.
>
> Signed-off-by: Tomasz Duszynski
Applied, thanks.
02/05/2022 18:24, Jerin Jacob:
> On Mon, May 2, 2022 at 5:01 PM Rahul Bhansali wrote:
> >
> > Added support for CN103XX (cn10kb) platform.
> >
> > Signed-off-by: Rahul Bhansali
>
> Acked-by: Jerin Jacob
Applied, thanks.
On 6/1/22 10:49, Min Hu (Connor) wrote:
Added the ethdev HW Rx desc dump API which provides functions for query
HW descriptor from device. HW descriptor info differs in different NICs.
The information demonstrates I/O process which is important for debug.
As the information is different between N
On 2022-06-01 18:15, Stephen Hemminger wrote:
> On Wed, 1 Jun 2022 08:19:54 +
> Mattias Rönnblom wrote:
>
>> On 2022-06-01 00:45, Stephen Hemminger wrote:
>>> On Mon, 23 May 2022 16:23:46 +0200
>>> Mattias Rönnblom wrote:
>>>
+/**
+ * The RTE seqcount type.
+ */
+type
On 4/2/2022 8:11 AM, Sean Zhang wrote:
This patch set adds support for modifying ECN fields in IPv4/IPv6
header, and also adds support for modify_filed action in meter.
Jiawei Wang (1):
ethdev: add IPv4/IPv6 ECN header rewrite action
Sean Zhang (3):
common/mlx5: add modify ECN capability
On 4/2/2022 8:11 AM, Sean Zhang wrote:
From: Jiawei Wang
This patch introduces the IPv4/IPv6 ECN modify field support, and
adds the testpmd CLI commands support.
Usage:
modify_field op set dst_type ipv4_ecn src_type ...
For example:
flow create 0 ingress group 1 pattern eth / ipv4 /
Andrew Rybchenko writes:
> Again, please, add maintainers using --cc-cmd or --to-cmd to patches.
> Also, don't forget to keep in Cc participants of the discussion.
And you can add my Acked-by to 1/4.
> On 6/1/22 10:49, Min Hu (Connor) wrote:
>> This patch set support HW Rx/Tx descriptor dump
Again, please, add maintainers using --cc-cmd or --to-cmd to patches.
Also, don't forget to keep in Cc participants of the discussion.
On 6/1/22 10:49, Min Hu (Connor) wrote:
This patch set support HW Rx/Tx descriptor dump by using procinfo tool.
Min Hu (Connor) (4):
ethdev: introduce ethdev
Summary must not be a statement. May be:
ethdev: add strict queue to pre-configuration flow hints
On 6/1/22 10:39, Xiaoyu Min wrote:
The data-path focused flow rule management can manage flow rules in more
optimized way than traditional one by using hints provided by
application in initializatio
Again, summary must not be a statement.
On 6/1/22 10:39, Xiaoyu Min wrote:
When application use queue-based flow rule management and operate the
same flow rule on the same queue, e.g create/destroy/query, API of
querying aged flow rules should also have queue id parameter just like
other queue-b
On 5/3/2022 11:02 AM, Min Hu (Connor) wrote:
From: Huisong Li
Currently, some eth devices are added to bond device, these devices are not
released when the quit command is executed in testpmd. This patch adds the
release operation for all active slaves under a bond device.
Fixes: 0e545d3047fe (
On 6/1/22 09:39, Min Hu (Connor) wrote:
From: Huisong Li
The rte_eth_dev_data::mac_addrs is a MAC address array. The index zero of
this array is as the default address index, and other indexes can't be the
same as the address corresponding to index 0. If we break it, may cause
following problem
On 6/1/22 09:39, Min Hu (Connor) wrote:
From: Huisong Li
The dev->data->mac_addrs[0] will be changed to a new MAC address when
applications modify the default MAC address by
rte_eth_dev_default_mac_addr_set(). However, if the new default one has
been added as a non-default MAC address by rte_et
On 6/1/22 09:39, Min Hu (Connor) wrote:
The index zero of rte_eth_dev_data::mac_addrs array is as the default MAC
index, and other indexes can't be the same as the address corresponding to
index 0. If we break it, may cause following problems:
1) waste of MAC address spaces.
2) a fake MAC address
Hi Maxime,
>
> Reviewed-by: Maxime Coquelin
>
Do you have any more comments on other patches of this series?
If not, please ack other patches as well.
On 31/05/2022 17:37, Kevin Laatz wrote:
On 31/05/2022 17:17, Thomas Monjalon wrote:
Kevin Laatz (5):
dma/idxd: fix memory leak in pci close
dma/idxd: fix memory leak due to free on incorrect pointer
app/test: close dma devices during cleanup
app/testpmd: stop and close dmadevs at exi
On Wed, Jun 01, 2022 at 06:02:34PM +0100, Kevin Laatz wrote:
> During EAL init, all buses are probed and the devices found are
> initialized. On eal_cleanup(), the inverse does not happen, meaning any
> allocated memory and other configuration will not be cleaned up
> appropriately on exit.
>
> Cu
During EAL init, all buses are probed and the devices found are
initialized. On eal_cleanup(), the inverse does not happen, meaning any
allocated memory and other configuration will not be cleaned up
appropriately on exit.
Currently, in order for device cleanup to take place, applications must
cal
On Wed, 1 Jun 2022 08:19:54 +
Mattias Rönnblom wrote:
> On 2022-06-01 00:45, Stephen Hemminger wrote:
> > On Mon, 23 May 2022 16:23:46 +0200
> > Mattias Rönnblom wrote:
> >
> >> +/**
> >> + * The RTE seqcount type.
> >> + */
> >> +typedef struct {
> >> + uint32_t sn; /**< A sequence numb
On 6/1/2022 9:47 AM, Andrew Rybchenko wrote:
On 6/1/22 04:52, Min Hu (Connor) wrote:
Hi, Andrew ,
在 2022/6/1 0:42, Andrew Rybchenko 写道:
On 5/21/22 10:06, Min Hu (Connor) wrote:
When kernel version change into 5.18 from 5.17, 'netif_rx_ni' is
discard.
It is replaced by 'netif_rx' and this API
On 6/1/2022 6:45 AM, Ke Zhang wrote:
The warning info:
warning: passing argument 1 of ‘memcpy’ discards ‘const’
qualifier from pointer target type
Variable is done const intentionally to prevent using it
directly, using the new helper functions :
'eth_hw_addr_set()' and 'eth_hw_addr_random()'
F
On Tue, May 31, 2022 at 7:26 PM David Christensen
wrote:
> On 5/14/22 12:14 AM, Duncan Bellamy wrote:
> > musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase()
> >
> > Signed-off-by: Duncan Bellamy
> Reviewed-by: David Christensen
Applied, thanks.
--
David Marchand
26/05/2022 13:02, Ray Kinsella:
> Thomas Monjalon writes:
> > 25/05/2022 20:34, Tyler Retzlaff:
> >> On Wed, May 25, 2022 at 07:02:52PM +0100, Ray Kinsella wrote:
> >> > Thomas Monjalon writes:
> >> > > 25/05/2022 13:48, Ray Kinsella:
> >> > >> Thomas Monjalon writes:
> >> > >>
> >> > >> > The
27/05/2022 17:38, Stephen Hemminger:
> On Fri, 27 May 2022 13:21:42 +
> Cian Ferriter wrote:
>
> > The rte_pcapng_init function doesn't exist, so remove it from the docs.
> >
> > Also fix minor mistakes in the file.
> >
> > Signed-off-by: Cian Ferriter
>
> Yes, this is leftover from earli
17/05/2022 17:15, Stephen Hemminger:
> On Tue, 17 May 2022 11:01:15 +0100
> Quentin Armitage wrote:
>
> > In pcap_tsc_to_ns(), delta * NSEC_PER_SEC will overflow approx 8
> > seconds after pcap_init is called when using a TSC with a frequency
> > of 2.5GHz.
> >
> > To avoid the overflow, update
21/05/2022 00:31, Cristian Dumitrescu:
> Add support for hash functions that compute a signature for an array
> of bytes read from a packet header or meta-data. Useful for flow
> affinity-based load balancing.
>
> Signed-off-by: Cristian Dumitrescu
Series applied, thanks.
From: Wenxuan Wu
Add command line parameter:
--rxhdrs=mac,[ipv4,udp]
Set the protocol_hdr of segments to scatter packets on receiving if
split feature is engaged. And the queues with BUFFER_SPLIT flag.
Add interative mode command:
testpmd>set rxhdrs mac,ipv4,l3,tcp,udp,sctp
(protocol sequence a
From: Wenxuan Wu
This patch adds support for proto based buffer split in normal Rx data
paths. When the Rx queue is configured with specific protocol type,
packets received will be directly splitted into protocol header and
payload parts. And the two parts will be put into different mempools.
Cu
From: Wenxuan Wu
Currently, Rx buffer split supports length based split. With Rx queue
offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment
configured, PMD will be able to split the received packets into
multiple segments.
However, length based buffer split is not suitable for N
From: Wenxuan Wu
Currently, Rx buffer split supports length based split. With Rx queue
offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment
configured, PMD will be able to split the received packets into
multiple segments.
However, length based buffer split is not suitable for N
From: Wenxuan Wu
Buffer split consists of splitting a received packet into two separate
regions based on the packet content. It is useful in some scenarios,
such as GPU acceleration. The splitting will help to enable true zero
copy and hence improve the performance significantly.
This patchset e
On 6/1/22 00:31, Nicolas Chautru wrote:
Cosmetic update to remove RTE_ prefix for a define
kept internal.
Signed-off-by: Nicolas Chautru
---
drivers/baseband/acc100/rte_acc100_pmd.c | 4 ++--
drivers/baseband/acc100/rte_acc100_pmd.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletio
Thanks Maxime
> -Original Message-
> From: Maxime Coquelin
> Sent: Wednesday, June 1, 2022 6:11 PM
> To: Pei, Andy ; dev@dpdk.org
> Cc: Xia, Chenbo ; Cao, Gang ;
> Liu, Changpeng ; Xu, Rosen
> ; Xiao, QimaiX
> Subject: Re: [PATCH v10 00/13] add virtio_blk device support to vdpa/ifc
>
>
21/05/2022 00:12, Cristian Dumitrescu:
> Previously, on lookup hit, the hit key had its timer automatically
> rearmed with the same timeout in order to prevent its expiration. Now,
> a broader set of actions is available on lookup hit, which has to be
> managed explicitly: the key can have its time
From: Wenxuan Wu
Add command line parameter:
--rxhdrs=mac,[ipv4,udp]
Set the protocol_hdr of segments to scatter packets on receiving if
split feature is engaged. And the queues with BUFFER_SPLIT flag.
Add interative mode command:
testpmd>set rxhdrs mac,ipv4,l3,tcp,udp,sctp
(protocol sequence a
From: Wenxuan Wu
This patch adds support for proto based buffer split in normal Rx data
paths. When the Rx queue is configured with specific protocol type,
packets received will be directly splitted into protocol header and
payload parts. And the two parts will be put into different mempools.
Cu
From: Wenxuan Wu
Currently, Rx buffer split supports length based split. With Rx queue
offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment
configured, PMD will be able to split the received packets into
multiple segments.
However, length based buffer split is not suitable for N
From: Wenxuan Wu
Buffer split consists of splitting a received packet into two separate
regions based on the packet content. It is useful in some scenarios,
such as GPU acceleration. The splitting will help to enable true zero
copy and hence improve the performance significantly.
This patchset e
On Tue, May 31, 2022 at 8:18 PM Min Hu (Connor) wrote:
>
> Hi, Ajit
> v3 has been sent, thanks
Thanks
smime.p7s
Description: S/MIME Cryptographic Signature
From: Wenxuan Wu
Add command line parameter:
--rxhdrs=mac,[ipv4,udp]
Set the protocol_hdr of segments to scatter packets on receiving if
split feature is engaged. And the queues with BUFFER_SPLIT flag.
Add interative mode command:
testpmd>set rxhdrs mac,ipv4,l3,tcp,udp,sctp
(protocol sequence a
From: Wenxuan Wu
This patch adds support for proto based buffer split in normal Rx data
paths. When the Rx queue is configured with specific protocol type,
packets received will be directly splitted into protocol header and
payload parts. And the two parts will be put into different mempools.
Cu
From: Wenxuan Wu
Currently, Rx buffer split supports length based split. With Rx queue
offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment
configured, PMD will be able to split the received packets into
multiple segments.
However, length based buffer split is not suitable for N
From: Wenxuan Wu
Buffer split consists of splitting a received packet into two separate
regions based on the packet content. It is useful in some scenarios,
such as GPU acceleration. The splitting will help to enable true zero
copy and hence improve the performance significantly.
This patchset e
> +/**
> + * Output port packet clone and transmit
> + *
> + * @param[in] port
> + * Output port handle.
> + * @param[in] pkt
> + * Packet to be transmitted.
A parameter is not documented here.
Adding this while merging:
* @param[in] truncation_length
* Packet length to be cloned.
> + */
>
06/04/2022 20:55, Cristian Dumitrescu:
> Add packet clone operation to the output ports in order to support
> packet mirroring.
>
> Signed-off-by: Cristian Dumitrescu
> Signed-off-by: Kamalakannan R
Series applied, thanks.
11/04/2022 20:21, Cristian Dumitrescu:
> Add support for arguments to the default action of regular and learner
> tables at initialization time. Until now, only default actions with no
> arguments were accepted in the .spec file.
>
> Signed-off-by: Cristian Dumitrescu
> Signed-off-by: Yogesh Jang
27/04/2022 23:56, Cristian Dumitrescu:
> Fix the emit instruction for the pathological case of all headers to
> be emitted being invalid. In this case, the for loop was essentially
> skipped and the last emitted header (or an invalid memory location)
> getting corrupted by setting its size to 0 thr
On 01/06/2022 12:15, Stanislaw Kardach wrote:
From: Michal Mazurek
Add an implementation of the rte_lpm_lookupx4() function for platforms
without support for vector operations.
This will be useful in the upcoming RISC-V port as well as any platform
which may want to start with a basic level
From: Michal Mazurek
Add an implementation of the rte_lpm_lookupx4() function for platforms
without support for vector operations.
This will be useful in the upcoming RISC-V port as well as any platform
which may want to start with a basic level of LPM support.
Signed-off-by: Michal Mazurek
Si
All other rte_lpm_lookup* functions take lpm argument as a const. As the
basic rte_lpm_lookup() performs the same function, it should also do
that.
As this function is inline, no API/ABI change happens.
Signed-off-by: Stanislaw Kardach
Acked-by: Vladimir Medvedkin
Acked-by: Stephen Hemminger
-
Make sure that ipsec_perf_autotest checks if there are any crypto
devices available before it starts performance testing.
Same test is performed in the ipsec_autotest so it seems prudent to do
it here too to not introduce false failures.
Signed-off-by: Stanislaw Kardach
---
app/test/test_ipsec_p
13/04/2022 13:19, David Marchand:
> On NUMA systems, default cores (0 and 1) might be on different memory
> nodes. Double the amount of memory.
>
> Cc: sta...@dpdk.org
>
> Signed-off-by: David Marchand
Fixes: 9e6b36c34ce9 ("app/testpmd: reduce memory consumption")
Applied, thanks.
> Dmitry Kozlyuk (3):
> doc: simplify CSS customization for Doxygen
> doc: fix API index Markdown syntax
> doc: rewrite shell scripts in Python
Applied, thanks.
I hope the Windows setup issue seen by Vipin can be workarounded.
On 6/1/22 06:15, Min Hu (Connor) wrote:
From: Min Hu
Secondary process need to close dev to release process private resources.
But secondary process should not be obliged to wait for device stop before
closing ethdev.
This patch fixed it.
Fixes: febc855b358e ("ethdev: forbid closing started d
Hi Vladimir,
On Wed, Jun 1, 2022 at 11:41 AM Medvedkin, Vladimir
wrote:
>
> Hi Stanislaw,
>
>
> On 30/05/2022 19:24, Stanislaw Kardach wrote:
> > From: Michal Mazurek
> >
> > Add an implementation of the rte_lpm_lookupx4() function for platforms
> > without support for vector operations.
> >
> >
Hi Akhil,
I did not put much effort into documentation part. I believe it needs bit more
attention in asym area (one bigger patch) + backported fixes about ECDSA and
ECPM.
> -Original Message-
> From: Kusztal, ArkadiuszX
> Sent: Wednesday, June 1, 2022 11:03 AM
> To: dev@dpdk.org
> Cc:
- Added salt length and optional label.
Common parameters to PSS and OAEP padding for RSA.
- Changed RSA hash padding fields names.
Now it corresponds to the RSA documents.
Signed-off-by: Arek Kusztal
---
lib/cryptodev/rte_crypto_asym.h | 19 +--
1 file changed, 17 insertions(+),
- Clarified where should output be stored of signature
decryption with padding none.
PMD is not able to know what padding algorithm was used,
therefore decrypted signature should be returned to the user.
- Removed incorrect big-endian constraints.
Not all data in RSA can be treated as big endian in
- move RSA padding into separate struct.
More padding members should be added into padding,
therefore having separate struct for padding parameters will
make this more readable.
Signed-off-by: Arek Kusztal
---
app/test/test_cryptodev_asym.c | 10 ++--
drivers/common/cpt/cpt_ucode_as
- Clarified usage of RSA padding hash.
It was not specified how to use hash for PKCS1_5
padding. This could lead to incorrect implementation.
Signed-off-by: Arek Kusztal
---
lib/cryptodev/rte_crypto_asym.h | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --g
- Added flags to rte_crypto_asym_op struct.
It may be shared between different algorithms.
- Added Diffie-Hellman padding flags.
Diffie-Hellman padding is used in certain protocols,
in others, leading zero bytes need to be stripped.
Even same protocol may use a different approach - most
glaring exa
- Added key exchange public key verify option.
For some elliptic curves public point in DH exchange
needs to be checked, if it lays on the curve.
Modular exponentiation needs certain checks as well, though
mathematically much easier.
This commit adds verify option to asym_op operations.
Signed-off
- Added elliptic curve Diffie-Hellman parameters.
Point multiplication allows the user to process every phase of
ECDH, but for phase 1, user should not really care about the generator.
The user does not even need to know what the generator looks like,
therefore setting ec xform would make this work
- Moved dh operation type to dh operation struct.
Operation type (PUBLIC_KEY_GENERATION, SHARED_SECRET) should
be free to choose for any operation. One xform/session should
be enough to perform both DH operations, if op_type would be xform
member, session would have to be to be created twice for th
- Clarified usage of private key in Diffie-Hellman.
CSRNG capable device should generate private key and then
use it for public key generation.
Signed-off-by: Arek Kusztal
---
lib/cryptodev/rte_crypto_asym.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/lib/cryptodev/rte_crypto_asym.h
- Removed comment that stated DSA can be used with Diffie
Hellman ephemeral key.
DH and DSA integration allowed to use ephemeral keys for
random integer, but not for private keys.
Signed-off-by: Arek Kusztal
---
lib/cryptodev/rte_crypto_asym.h | 8 +---
1 file changed, 1 insertion(+), 7 dele
- Separated key exchange enum from asym op type.
Key exchange and asymmetric crypto operations like signatures,
encryption/decryption should not share same operation enum as
its use cases are unrelated and mutually exclusive.
Therefore op_type was separate into:
1) operation type
2) key exchange op
- EC enum was renamed to rte_crypto_curve_id.
Elliptic curve enum name was incorrectly associated
with a group (it comes from the current tls registry name).
- Clarified comments about TLS deprecation.
Some curves included are deprecated with TLS 1.3.
Comments to address it were added.
- Clarified
This patchset introduces some of changes discussed on mailing list for 22.07
release in cryptodev asym.
Key changes:
- It fixes API for RSA (expescially signature paddings)
- Adds Elliptic-Curve Diffie-Hellman
- Adds Eliiptic-Curve point verification
- Adds RSA missing padding fields
- Adds asym
On 5/24/22 04:48, Andy Pei wrote:
This patch set add virtio_blk device support to vdpa/ifc driver.
With a lot of similarities, I re-use part of vdpa/ifc driver.
Distinguish the virtio net and blk device by device id, and implement
specific features and ops.
Add example to vdpa to support virti
On 5/18/22 15:36, Yuan Wang wrote:
If the VMDQ limits is 0, a divide-by-zero error occurs.
This patch replaces throwing a floating point exception with
a normal error message.
Fixes: d19533e86f ("examples/vhost: copy old vhost example")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
exa
Update and rephrasing some sentences, small improvements
made to the multi-process sample application user guide
Fixes: d0dff9ba445e ("doc: sample application user guide")
Cc: bernard.iremon...@intel.com
Signed-off-by: Kai Ji
---
doc/guides/sample_app_ug/multi_process.rst | 67 +++--
On 6/1/22 09:55, Maxime Coquelin wrote:
Hi Yajun,
On 3/15/22 03:47, Yajun Wu wrote:
vDPA driver first uses kernel driver to allocate doorbell(VAR) area for
each device. Then uses var->mmap_off and var->length to mmap uverbs
device
file as doorbell userspace virtual address.
Current kernel
Hi Stanislaw,
On 30/05/2022 19:24, Stanislaw Kardach wrote:
From: Michal Mazurek
Add an implementation of the rte_lpm_lookupx4() function for platforms
without support for vector operations.
This will be useful in the upcoming RISC-V port as well as any platform
which may want to start with
Doc was updated with fixed grammar in most cases. These
include adding periods to ends of sentences and capitalizing
some words. Some instances of "a" were changed to "an". The
option "-n 4" has also been removed from the example of
running the application.
Fixes: ba7b86b1419 ("doc: add l2fwd-cryp
On 30/05/2022 19:24, Stanislaw Kardach wrote:
All other rte_lpm_lookup* functions take lpm argument as a const. As the
basic rte_lpm_lookup() performs the same function, it should also do
that.
As this function is inline, no API/ABI change happens.
Signed-off-by: Stanislaw Kardach
---
lib
13/04/2022 14:59, Morten Brørup:
> > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > Sent: Wednesday, 13 April 2022 14.03
> >
> > 12/04/2022 18:11, Ben Magistro:
> > > Was there a consensus on if this should be re-drafted as a bug and
> > fixes or
> > > left as a backportable feature/improv
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com]
> Sent: Wednesday, 1 June 2022 11.02
>
> On 2022-05-31 13:52, David Marchand wrote:
> > On Mon, May 23, 2022 at 4:24 PM Mattias Rönnblom
> > wrote:
> >>
> >> A sequence lock (seqlock) is a synchronization primitive which
> allows
> >
Hi Jack,
> -Original Message-
> From: Jack Min
> Sent: Wednesday, June 1, 2022 10:39 AM
> Subject: [RFC v2 1/2] ethdev: port flags for pre-configuration flow hints
>
> The data-path focused flow rule management can manage flow rules in more
> optimized way than traditional one by using h
On 6/1/22 04:59, Min Hu (Connor) wrote:
Currently, run KNI APP When Kernel version is 5.17. When quit the APP,
dmesg buffer get calltrace, info like:
[ 5965.847401] rte_kni: Creating kni...
[ 6225.627205] vEth0 (unregistered): Current addr: 70 fd 45 d0 72 a7 00..
[ 6225.640113] vEth0 (unregister
1 - 100 of 124 matches
Mail list logo