Add Transport Layer Security (TLS) and Datagram Transport Layer Security
(DTLS). The protocols provide communications privacy for L4 protocols
such as TCP & UDP.
TLS (and DTLS) protocol is composed of two layers,
1. TLS Record Protocol
2. TLS Handshake Protocol
While TLS Handshake Protocol helps
Add Transport Layer Security (TLS) and Datagram Transport Layer Security
(DTLS). The protocols provide communications privacy for L4 protocols
such as TCP & UDP.
TLS (and DTLS) protocol is composed of two layers,
1. TLS Record Protocol
2. TLS Handshake Protocol
While TLS Handshake Protocol helps
From: Akhil Goyal
Added TLS and DTLS packet headers for L4 security applications.
Signed-off-by: Akhil Goyal
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
doc/api/doxy-api-index.md | 2 ++
lib/net/meson.build | 2 ++
lib/net/rte_dtls.h| 61 ++
TLS/DTLS record processing requires content type to be provided per
packet (for record write operation). Extend usage of
rte_crypto_op.aux_flags for the same purpose.
Signed-off-by: Akhil Goyal
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/prog_guide/rte_securi
On Fri, 11 Aug 2023 at 04:06, YangHang Liu wrote:
>
> Hi, Luca
>
> RedHat QE did not find any new issues about 20.11.9 rc dpdk during the tests.
>
> I tested below 18 scenarios and all got PASS on RHEL9:
>
> Guest with device assignment(PF) throughput testing(1G hugepage size): PASS
> Guest with d
On Thu, Aug 10, 2023 at 03:34:43PM -0700, Tyler Retzlaff wrote:
> On Thu, Aug 10, 2023 at 08:17:23PM +0200, Morten Brørup wrote:
> > > From: Stephen Hemminger [mailto:step...@networkplumber.org]
> > > Sent: Thursday, 10 August 2023 19.03
> > >
> > > On Thu, 10 Aug 2023 18:49:09 +0200
> > > Thomas
Similar to out of place(OOP) processing support that exists for
Lookaside crypto/security sessions, Inline ingress security
sessions may also need out of place processing in usecases
where original encrypted packet needs to be retained for post
processing. So for NIC's which have such a kind of HW
Add support for inline ingress session with out-of-place
support.
Signed-off-by: Nithin Dabilpuram
---
drivers/event/cnxk/cn10k_worker.h | 12 +-
drivers/net/cnxk/cn10k_ethdev.c | 13 +-
drivers/net/cnxk/cn10k_ethdev_sec.c | 43 +++
drivers/net/cnxk/cn10k_rx.h | 181
Add unittest for inline ingress out-of-place processing.
Signed-off-by: Nithin Dabilpuram
---
app/test/test_cryptodev_security_ipsec.c | 8 +++
app/test/test_cryptodev_security_ipsec.h | 1 +
app/test/test_security_inline_proto.c| 85
3 files changed, 94 insertions
On Thu, Aug 10, 2023 at 06:31:56PM -0700, Tyler Retzlaff wrote:
> Provide API for atomic operations in the rte namespace that may
> optionally be configured to use C11 atomics with meson
> option enable_stdatomics=true
>
> Signed-off-by: Tyler Retzlaff
> ---
> config/meson.build |
On Thu, Aug 10, 2023 at 06:32:01PM -0700, Tyler Retzlaff wrote:
> Refrain from using compiler __atomic_xxx builtins DPDK now requires
> the use of rte_atomic__explicit macros when operating on DPDK
> atomic variables.
>
> Signed-off-by: Tyler Retzlaff
> Acked-by: Morten Brørup
> ---
Acked-by: Br
From: Sunil Kumar Kori
Each RQ can be associated with lpb_aura and spb_aura.
lpb_aura or spb_aura is shared across multiple RQs then
cleanup via one RQ will reset the aura context.
To prevent, adding ref count mechanism.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/roc_nix_fc.c |
From: Rakesh Kudurumalla
PFC configuration function is taking 8 ms due
to mailbox communication to check whether sso is
connected to RQ and whether back pressure is enabled
on each aura. To optimize this time we are updating
aura attributes in nixlf and sso_ena parameter
in RQ during write config
From: Satha Rao
This patch preferred user provided argument while configuring slack.
If no platform argument given then by default MAX(24, 30% of SQ size)
was configured as slack. Currently even if user provided SQB slack,
we take max of internally calculated value and user given one
Signed-off-
Add workaround for CPT context fetch issue in CN10KB
by setting CTX_ILEN to that of CTX_SIZE and enabling
FLR_FLUSH in CPT_LF_CTX_CTL.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_cpt.c | 23 ---
drivers/common/cnxk/roc_cpt.h | 2 ++
drivers/c
From: Satha Rao
New SQ rate limit API to support SQ rate limit on PFC tree.
In PFC tree each SQ had its one to one mapped TL3, this patch
configures shaper rate on TL3. Also configures the TL2 with
link rate.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix.h| 9 ++-
drivers/c
From: Rahul Bhansali
This will allow CGX promisc toggling even when exact
match feature is enabled.
Also, In case of exact feature, CGX promisc enable/disable mbox
response returns failure code -1101 in case if no change in the state.
This failure code can be ignored and proceed further.
Fixes:
From: Rakesh Kudurumalla
xstats for transmitted packets with different sizes
are not updated as sizeof mbox response structure
are different in dpdk and kernel.This patch fixes the
same.
Fixes: 503b82de2cbf ("common/cnxk: add mbox request and response definitions")
Signed-off-by: Rakesh Kudurum
From: Satha Rao
Host SDP port closes the SDP link on NIX causes crash when
BP enabled on SDP link. This patch disables BP on SDP link
when SQ flush fails due to link disabled at host.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_tm.c | 73 ++--
1 file ch
From: Akhil Goyal
Fixed resource leak when pthread create fails in dev_init().
Fixes: 1c7a4d37e73d ("common/cnxk: fix mailbox timeout due to deadlock")
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_dev.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drive
From: Akhil Goyal
WORD_SIZE is made as unsigned long long so that
bit operations are done on same size of variables.
Fixes: 1ec23c7523b4 ("common/cnxk: support anti-replay check in SW for cn9k")
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/cnxk_security_ar.h | 2 +-
1 file changed, 1 in
From: Akhil Goyal
Bitwise or is being done on relchan which is 32 bit,
but the result is 64 bit, hence typecast to uint64_t.
Fixes: 8f867a87b9c5 ("common/cnxk: enable SDP channel backpressure to TL4")
Fixes: 0885429c3028 ("common/cnxk: add NIX TM hierarchy enable/disable")
Signed-off-by: Akhil
From: Akhil Goyal
Removed the calls to roc_nix_num_rx[tx]_xstats which
does a model check again for cn9k/cn10k.
The model check is already done before the call in the
same leg, hence not needed to call these APIs.
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_nix_stats.c | 16
From: Srujana Challa
Sync MAC address set mailbox format with kernel. And
send match table index to the kernel to add the
mac address. This fixes the issues on cn10kb, where
traffic was not received when promisc is disabled
and two ports are used.
Signed-off-by: Srujana Challa
---
drivers/comm
From: Rahul Bhansali
For SDP, provide an API to get Rx chan count from NIX as
all channels are always active.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix.c | 8
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/version.map | 1 +
3 files changed, 10 insert
From: Sunil Kumar Kori
Current macro to calculate BP threshold were evaluating incorrect
threshold because aura_limit is first shifted by shift then percentage
is calculated.
While first percentage should be calculated and the resultant should be
shifted by shift.
So formula is updated accordin
From: Sunil Kumar Kori
To achieve actual PFC behavior, user needs to configure
different TC on different aura so that PFC can be generated
for specific TC but same TC can also configured on multiple
RQs which has same configured aura.
In this patch, aura with same BP configuration is allowed
on
From: Kommula Shiva Shankar
This patch enables CQ stashing for better CQE
processing performance
Signed-off-by: Kommula Shiva Shankar
---
drivers/common/cnxk/roc_features.h | 6 ++
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_queue.c | 7 +++
3 files changed,
From: Sunil Kumar Kori
Currently same bp percentage is applied on SPB and
LPB pool but both pools can be configured with different
bp level.
Added one more parameter so that separate threshold parameters
can be passed for SPB and LPB pools.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/c
From: Pavan Nikhilesh
The function `sso_hwgrp_alloc_xaq` expects aura ID, fix incorrectly
passing aura handle to it.
Fixes: 7e9a94909eea ("common/cnxk: realloc inline device XAQ AURA")
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_nix_inl_dev.c | 3 ++-
1 file changed, 2 insertio
From: Satha Rao
Allocate number of CQs sufficient to handle completions of both
RQs and SQs.
Fixes: dd9446991212 ("net/cnxk: add transmit completion handler")
Cc: rkuduruma...@marvell.com
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev.c | 26 +++---
1 file chang
Fix issue with GCC 4.8 cross compilation of ARM64 for
flexible vector conversions.
Fixes: ec28231ed260 ("net/cnxk: support reassembly of multi-segment packets")
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_rx.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --g
From: Sunil Kumar Kori
Add support to map DMAC address indexes during
mac address add and remove operation.
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_ethdev.c | 11 +++
drivers/net/cnxk/cnxk_ethdev.h | 1 +
drivers/net/cnxk/cnxk_ethdev_ops.c | 4 +++-
3 files
From: Akhil Goyal
sa_base may be uninitialized in some remote case.
It is better to initialize it.
Fixes: 4382a7ccf781 ("net/cnxk: support Rx security offload on cn10k")
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_rx.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
From: Satha Rao
SQ rate limit was different in PFC tree compared to regular rate
limit tree.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_tm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/cnxk/cnxk_tm.c b/drivers/net/cnxk/cnxk_tm.c
index 9d8cd3f0a9..c799193cb8 10064
From: Akhil Goyal
mbuf->rearm_data is a zero length array and it is being
used to set data from that location. This shows an error
in static code analysis.
Hence it is typecast to a pointer which can be used to
set values accordingly.
Fixes: c062f5726f61 ("net/cnxk: support IP reassembly")
Sign
From: Srujana Challa
Channel(rx_chan_base) is not available in the kernel at
the time of nix probe. Hence, move the mac address set
call from nix_device_init() to nix_device_configure().
This fixes the issue on cn10kb, where traffic was not
getting received when promisc is disabled.
Signed-off-b
From: Akhil Goyal
Certain bitwise operations are done with different
sized operands which causes warnings in static code
analysis. The necessary operands are typecast to remove
the warning.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev.c | 2 +-
drivers/net/cnxk/cn10k_rx.h
From: Akhil Goyal
shift may be uninitialized in certain case.
It is better to initialize.
Fixes: 55bfac717c72 ("net/cnxk: support Tx security offload on cn10k")
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_tx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver
From: Akhil Goyal
nix_mtr_find may return NULL in case mtr is not found.
Hence checking the return value before using it.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cnxk_ethdev_mtr.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/net/cnxk/cnxk_ethdev_mtr
From: Akhil Goyal
send_hdr_ext is being used, but it may be null when
the flag check for NIX_TX_NEED_EXT_HDR is not done.
Hence added a check here to avoid null pointer dereference.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_tx.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
From: Rahul Bhansali
In reassembly path, next header field in IPv6 header is not
updated correctly, hence reassembled packet is corrupted.
This fix will consider IPv6 fragment header presence at start/mid/end in
extension list and update the next header field accordingly.
Fixes: ec28231ed260 ("n
This patchset adds basic support for rte_flow.
---
Depends-on: series-29139 ("net/cpfl: support port representor")
Wenjing Qiao (4):
net/cpfl: parse flow parser file in devargs
net/cpfl: add flow json parser
net/cpfl: introduce CPF common library
net/cpfl: setup ctrl path
drivers/net/cpf
Add devargs "flow_parser" for rte_flow json parser.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 30 +-
drivers/net/cpfl/cpfl_ethdev.h | 3 +++
drivers/net/cpfl/meson.build | 6 ++
3 files changed, 38 insertions(+), 1 deletion(-)
diff --gi
A JSON file will be used to direct DPDK CPF PMD to
parse rte_flow tokens into low level hardware resources
defined in a DDP package file.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_flow_parser.c | 1758 +++
drivers/net/cpfl/cpfl_flow_parser.h | 205
drive
Add common library support for CPFL rte_flow to
create/delete rules.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_actions.h | 858 +++
drivers/net/cpfl/cpfl_controlq.c | 380 ++
drivers/net/cpfl/cpfl_controlq.h | 51 ++
drivers/net/cpfl/cpfl_rul
Setup the control vport and control queue for flow offloading.
Signed-off-by: Yuying Zhang
Signed-off-by: Beilei Xing
Signed-off-by: Qi Zhang
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 270 -
drivers/net/cpfl/cpfl_ethdev.h | 14 ++
driver
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Friday, 11 August 2023 03.32
>
> Provide API for atomic operations in the rte namespace that may
> optionally be configured to use C11 atomics with meson
> option enable_stdatomics=true
>
> Signed-off-by: Tyler Retzlaff
> ---
>
Adding IPsec tests using external mbuf API.
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c| 191 ++-
app/test/test_cryptodev_security_ipsec.h | 1 +
2 files changed, 189 insertions(+), 3 deletions(-)
diff --git a/app/test/test_cryptodev.c b/ap
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Friday, 11 August 2023 03.32
>
> Refrain from using compiler __atomic_xxx builtins DPDK now requires
> the use of rte_atomic__explicit macros when operating on DPDK
> atomic variables.
>
> Signed-off-by: Tyler Retzlaff
> Acked-
This patchset adds basic support for rte_flow.
---
Depends-on: series-29139 ("net/cpfl: support port representor")
Wenjing Qiao (4):
net/cpfl: parse flow parser file in devargs
net/cpfl: add flow json parser
net/cpfl: introduce CPF common library
net/cpfl: setup ctrl path
drivers/net/cpf
Add devargs "flow_parser" for rte_flow json parser.
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_ethdev.c | 30 +-
drivers/net/cpfl/cpfl_ethdev.h | 3 +++
drivers/net/cpfl/meson.build | 6
A JSON file will be used to direct DPDK CPF PMD to
parse rte_flow tokens into low level hardware resources
defined in a DDP package file.
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_flow_parser.c | 1758 +++
Add common library support for CPFL rte_flow to
create/delete rules.
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_actions.h | 858 +++
drivers/net/cpfl/cpfl_controlq.c | 379 ++
Setup the control vport and control queue for flow offloading.
Signed-off-by: Yuying Zhang
Signed-off-by: Beilei Xing
Signed-off-by: Qi Zhang
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_ethdev.c | 270 ++
> From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> Sent: Friday, 11 August 2023 10.53
>
> On Thu, Aug 10, 2023 at 03:34:43PM -0700, Tyler Retzlaff wrote:
> > On Thu, Aug 10, 2023 at 08:17:23PM +0200, Morten Brørup wrote:
> > > > From: Stephen Hemminger [mailto:step...@networkplumber.or
This patchset adds support to the cryptodev scheduler PMD and unit
tests for the existing security protocols in the security library,
namely IPSec, MACSec, PDCP and DOCSIS.
v2:
* Improve inclusion of rte_security header files
* Fix typo in commit message
David Coyle (2):
crypto/scheduler: suppo
Add support to the cryptodev scheduler PMD for the existing security
protocols in the security library, namely IPSec, MACSec, PDCP and
DOCSIS. This includes adding the following:
- synchronization of worker's security capabilities
- retrieval of the scheduler's synchronized security capabilities
-
Add IPSec, PDCP and DOCSIS security test cases to the cryptodev
scheduler test suite.
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
app/test/test_cryptodev.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app/test/
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power interface similar to rte_power
and rename specific implementations ("rte_power_intel_uncore") to
"power_intel_uncore" along with functions.
Signed-off-by: Sivaprasad Tummala
---
lib/po
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power management implementation similar
to rte_power and rename specific implementations ("rte_power_intel_uncore")
to "power_intel_uncore" along with functions.
Signed-off-by: Sivaprasad Tumm
Hi David,
While it is desirable to add security under crypto/scheduler, would it be
functionally possible if the PMDs perform stateful processing? For example,
with lookaside protocol mode of IPsec, fields such as seq no & AR defines how
the crypto operation can be performed. Without two PMDs s
Add alternate datapath API for security processing which would do Rx
injection (similar to loopback) after successful security processing.
With inline protocol offload, variable part of the session context
(AR windows, lifetime etc in case of IPsec), is not accessible to the
application. If packet
From: Vidya Sagar Velumuri
Add test to verify Rx inject.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev.c| 326 +++
app/test/test_cryptodev_security_ipsec.h | 1 +
2 files changed, 274 insertions(+), 53 deletio
Packet replay enables users to leverage multiple counters in
one flow and allows to request delivery to multiple ports.
A given flow rule may use either one inline count action
and multiple indirect counters or just multiple indirect
counters. The inline count action (if any) must come
before the
On 8/8/23 07:02, Huisong Li wrote:
The Rx buffer size stands for the size hardware supported to receive
packets in one mbuf. The "min_rx_bufsize" is the minimum buffer hardware
supported in Rx. Actually, some engines also have the maximum buffer
specification, like, hns3. For these engines, the a
This commit enables QAT 2.0c devices in the
Intel QuickAssist Technology PMD.
Signed-off-by: Ciara Power
---
doc/guides/cryptodevs/qat.rst | 4
doc/guides/rel_notes/release_23_11.rst | 3 +++
drivers/common/qat/qat_device.c| 4
3 files changed, 11 insertions(+)
diff -
On Wed, Aug 9, 2023 at 3:36 PM Bruce Richardson
wrote:
>
> There is a general desire to reduce the size and scope of EAL. To this
> end, this patchset makes a (very) small step in that direction by taking
> the logging functionality out of EAL and putting it into its own library
> that can be buil
On Fri, Aug 11, 2023 at 02:46:13PM +0200, David Marchand wrote:
> On Wed, Aug 9, 2023 at 3:36 PM Bruce Richardson
> wrote:
> >
> > There is a general desire to reduce the size and scope of EAL. To this
> > end, this patchset makes a (very) small step in that direction by taking
> > the logging fun
The AVX512 check only matters to x86 compilation with gcc.
Move it where appropriate.
Signed-off-by: David Marchand
---
buildtools/meson.build | 3 ---
{buildtools => config/x86}/binutils-avx512-check.py | 0
config/x86/meson.build | 3 ++
No functional impact foreseen. Simply move this variable and rename it
for consistency with other similar variables.
Signed-off-by: David Marchand
---
app/meson.build | 4 +---
meson.build | 3 ++-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/app/meson.build b/app/meson.bui
On Tue, Apr 25, 2023 at 10:08 PM Tyler Retzlaff
wrote:
>
> Detect when MSVC toolset is available and tweak toolchain arguments
> where the meson build system offers no abstraction.
>
> Signed-off-by: Tyler Retzlaff
> Acked-by: Bruce Richardson
> ---
> buildtools/meson.build | 10 +++---
> c
On Tue, Apr 25, 2023 at 10:08 PM Tyler Retzlaff
wrote:
>
> Build only kvargs and telemetry when is_ms_compiler.
>
> Signed-off-by: Tyler Retzlaff
> Acked-by: Bruce Richardson
> ---
> app/meson.build | 5 +
> drivers/meson.build | 4
> lib/meson.build | 7 +++
> userto
---
.mailmap| 1 +
doc/guides/nics/vmxnet3.rst | 2 ++
2 files changed, 3 insertions(+)
diff --git a/.mailmap b/.mailmap
index 864d33ee46..d408f11a97 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1638,3 +1638,4 @@ Ziye Yang
Zoltan Kiss
Zorik Machulsky
Zyta Szpak
+Igor de
On Fri, Aug 11, 2023 at 03:10:24PM +0200, David Marchand wrote:
> The AVX512 check only matters to x86 compilation with gcc.
> Move it where appropriate.
>
> Signed-off-by: David Marchand
> ---
Acked-by: Bruce Richardson
On Fri, Aug 11, 2023 at 03:28:05PM +0200, David Marchand wrote:
> No functional impact foreseen. Simply move this variable and rename it
> for consistency with other similar variables.
>
> Signed-off-by: David Marchand
> ---
Acked-by: Bruce Richardson
Hello Ciara,
On Fri, Aug 11, 2023 at 2:38 PM Ciara Power wrote:
>
> This commit enables QAT 2.0c devices in the
> Intel QuickAssist Technology PMD.
It is hard to make a link between the commit title "gen 4 c devices",
the table below "402xxx" and the release notes "QAT 2.0c".
Can you use a singl
In order to support the communication between IPv4 and IPv6 nodes in
the network, different technologies are used, like dual-stacks,
tunneling and NAT64. In some IPv4-only clients, it is hard to deploy
new software and hardware to support IPv6.
NAT64 is a choice and it will also reduce the unneces
Make it easier to list experimental symbols added in a certain version.
While at it, add a check on map symbol files content to avoid breaking
this listing tool.
Example:
$ ./buildtools/map-list-symbol.sh -V 18.11 lib/eal/version.map
lib/eal/version.map EXPERIMENTAL rte_dev_event_callback_process
On Fri, Aug 11, 2023 at 11:42:12AM +0200, Morten Brørup wrote:
> > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> > Sent: Friday, 11 August 2023 03.32
> >
> > Provide API for atomic operations in the rte namespace that may
> > optionally be configured to use C11 atomics with meson
>
On Fri, Aug 11, 2023 at 11:51:17AM +0200, Morten Brørup wrote:
> > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> > Sent: Friday, 11 August 2023 03.32
> >
> > Refrain from using compiler __atomic_xxx builtins DPDK now requires
> > the use of rte_atomic__explicit macros when operating
On Fri, Aug 11, 2023 at 03:10:24PM +0200, David Marchand wrote:
> The AVX512 check only matters to x86 compilation with gcc.
> Move it where appropriate.
>
> Signed-off-by: David Marchand
> ---
Acked-by Tyler Retzlaff
On Fri, Aug 11, 2023 at 03:28:05PM +0200, David Marchand wrote:
> No functional impact foreseen. Simply move this variable and rename it
> for consistency with other similar variables.
>
> Signed-off-by: David Marchand
> ---
Acked-by: Tyler Retzlaff
This patchset adds inter-domain DMA operations, and implements driver support
for them in Intel(R) IDXD driver.
Inter-domain DMA operations are similar to regular DMA operations, except that
source and/or destination addresses will be in virtual address space of another
process. In this patchset,
Add a flag to indicate that a specific device supports inter-domain
operations, and add an API for inter-domain copy and fill.
Inter-domain operation is an operation that is very similar to regular
DMA operation, except either source or destination addresses can be in a
different process's address
Implement inter-domain copy and fill operations defined in the newly
added DMA device API.
Signed-off-by: Vladimir Medvedkin
Signed-off-by: Anatoly Burakov
---
doc/guides/prog_guide/dmadev.rst | 4 +
drivers/dma/idxd/idxd_bus.c | 35 +
drivers/dma/idxd/idxd_common.c | 123
This commit implements functions necessary to use inter-domain
operations with idxd driver.
The process is as follows:
1. Process A that wishes to share its memory with others, shall call
`rte_idxd_window_create()`, which will return a file descriptor
2. Process A is to send above mentioned fi
Introducing CNXK driver support for port representor model by adding virtual
ethernet ports providing a logical representation in DPDK for SR-IOV virtual
function (VF) devices for control and monitoring.
These port representor ethdev instances can be spawned on an as needed basis
through configura
Registering exclusive debug log type for representors
Signed-off-by: Harman Kalra
---
drivers/common/cnxk/roc_platform.c | 1 +
drivers/common/cnxk/roc_platform.h | 2 ++
drivers/common/cnxk/version.map| 1 +
3 files changed, 4 insertions(+)
diff --git a/drivers/common/cnxk/roc_platform.c
Implementing the callbacks for processing representor state.
Three operations currently supported:
- set a representor to be active if its VF is enabled and set
it appropriate pf func value.
- check if the VF which sent a mbox has a representor
- clear representor state if its VF goes down.
Signed
Basic skeleton for probing representor devices. If PF device is
passed with "representor" devargs, representor ports gets probed
as a separate ethdev device.
Signed-off-by: Harman Kalra
---
doc/guides/nics/cnxk.rst| 39 +
drivers/net/cnxk/cn10k_ethdev.c | 4 +-
drivers/net/cnxk/cn
Maintaining the state of representor which describes whether it
has an active VF and what is the func id of the representee.
Implement a mbox between VF and PF for the VF to know if
representors are available.
Signed-off-by: Harman Kalra
---
drivers/common/cnxk/roc_dev.c | 167
Implementing the control path for representor ports, where represented
ports can be configured using TLV messaging.
Signed-off-by: Harman Kalra
---
drivers/net/cnxk/cnxk_ethdev.c | 8 +
drivers/net/cnxk/cnxk_ethdev.h | 3 +
drivers/net/cnxk/cnxk_rep.c | 13 +-
drivers/net/cnxk/cnxk_re
Implementing flow operation callbacks for port representors PMD
Signed-off-by: Harman Kalra
---
drivers/net/cnxk/cnxk_flow.h | 9 +-
drivers/net/cnxk/cnxk_rep.h | 3 +
drivers/net/cnxk/cnxk_rep_flow.c | 715 +++
drivers/net/cnxk/cnxk_rep_msg.h | 58 +++
Implementing ethernet device operation callbacks for
port representors PMD
Signed-off-by: Harman Kalra
---
drivers/net/cnxk/cnxk_rep.c | 62 +--
drivers/net/cnxk/cnxk_rep.h | 36 ++
drivers/net/cnxk/cnxk_rep_msg.h | 15 +
drivers/net/cnxk/cnxk_rep_ops.c | 655 +
Adding represented port item an action support for cnxk
device. Flow operations can be performed via representor
ports as well as represented ports.
Signed-off-by: Kiran Kumar K
Signed-off-by: Harman Kalra
---
drivers/common/cnxk/roc_npc.c | 54 --
drivers/common/cnxk/
Adding represented port item matching and action support
for cnxk device.
Signed-off-by: Kiran Kumar K
Signed-off-by: Harman Kalra
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 2 +
doc/guides/nics/features/cnxk_vf.ini | 2 +
drivers/net/cnxk/cn
On Fri, 11 Aug 2023 17:49:44 +0200
David Marchand wrote:
> Make it easier to list experimental symbols added in a certain version.
> While at it, add a check on map symbol files content to avoid breaking
> this listing tool.
>
> Example:
> $ ./buildtools/map-list-symbol.sh -V 18.11 lib/eal/versi
This series introduces API additions prefixed in the rte namespace that allow
the optional use of stdatomics.h from C11 using enable_stdatomics=true for
targets where enable_stdatomics=false no functional change is intended.
Be aware this does not contain all changes to use stdatomics across the D
Provide API for atomic operations in the rte namespace that may
optionally be configured to use C11 atomics with meson
option enable_stdatomics=true
Signed-off-by: Tyler Retzlaff
---
config/meson.build | 1 +
lib/eal/include/generic/rte_atomic.h | 1 +
lib/eal/include/g
1 - 100 of 169 matches
Mail list logo