Added MACsec support in Marvell cnxk PMD.
The patchset is pending from last release [1]
Sending as a new series as the functionality is now
complete and tested on hardware.
[1]
https://patches.dpdk.org/project/dpdk/cover/20220928124516.93050-1-gak...@marvell.com/
Changes in v3:
- rebased
- fixed
Added ROC init and fini APIs for supporting MACsec.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_features.h | 12 ++
drivers/common/c
Added ROC APIs to allocate/free MACsec resources
and APIs to write SA policy.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_mbox.h| 12 ++
drivers/common/cnxk/roc_mcs.h
Added ROC APIs to configure MACsec secure channel(SC)
and its mapping with SAs for both Rx and Tx.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h| 37 ++
drivers/common/cnxk/roc_mcs.h | 41 ++
d
Added ROC APIs to configure MACsec secy policy and
flow entries.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h| 38 +
drivers/common/cnxk/roc_mcs.h | 37 +
drivers/common/cnxk/roc_mcs_s
Added ROC APIs for setting packet number and LMAC
related configurations.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h| 56 +
drivers/common/cnxk/roc_mcs.c | 71 +
Added ROC APIs for MACsec stats for SC/SECY/FLOW/PORT
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_mbox.h | 93 ++
drivers/common/cnxk/roc_mcs.h | 85 +
Added ROC APIs to support various MACsec interrupts.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_dev.c | 86 +
drivers/common/cnxk/roc_mbox.h | 37 +++-
drivers/common/cnxk/roc_mcs.c | 117
Added ROC APIs for MACsec port configurations
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h | 40
drivers/common/cnxk/roc_mcs.c | 346
drivers/common/cnxk/roc_mcs.h | 48
Added ROC APIs to configure MACsec control port.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h | 72
drivers/common/cnxk/roc_mcs.c | 117
drivers/common/cnxk/roc
Added MACsec FIPS configuration mbox
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h | 74 ++
drivers/common/cnxk/roc_mcs.h | 69 +++
2 files changed, 143 inser
MACsec hardware configuration need hash key to be generated
from the cipher key of AES-GCM-128/256.
Added an ROC API to derive the hash key and extend the case
for AES-256 as well.
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_aes.c | 86 ++---
drivers/comm
Added initialization routines for MACsec for
cn10kb platform.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 6 ++
drivers/net/cnxk/cnxk_ethdev.c | 13 +++
drivers/net/cnxk/cnxk_ethdev.h | 14 +++
drivers/net/cnxk/cnxk_ethdev_mcs.c | 151 +
Added support to create/destroy MACsec SA and SC.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 9 +-
drivers/net/cnxk/cnxk_ethdev_mcs.c | 250
drivers/net/cnxk/cnxk_ethdev_mcs.h | 16 ++
3 files changed, 271 insertions(+), 4 deletions(-)
Added support for MACsec session/flow create/destroy.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 11 +-
drivers/net/cnxk/cn10k_flow.c | 23 ++-
drivers/net/cnxk/cnxk_ethdev.c | 2 +
drivers/net/cnxk/cnxk_ethdev.h | 16 ++
drivers/net/cnxk/cnxk_ethde
Added support for MACsec SC/flow/session stats.
Signed-off-by: Akhil Goyal
---
doc/guides/rel_notes/release_23_07.rst | 5 ++
drivers/net/cnxk/cn10k_ethdev_sec.c| 11 +++--
drivers/net/cnxk/cnxk_ethdev_mcs.c | 64 ++
drivers/net/cnxk/cnxk_ethdev_mcs.h | 9 ++
Add myself as maintainer of PCI bus driver and co-maintainer of PCI
library.
Signed-off-by: Chenbo Xia
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 906b31f97c..fea84b8cb9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -586,6 +586,7 @@ F: dr
> -Original Message-
> From: Bar Neuman
> Sent: Tuesday, June 13, 2023 8:28 AM
> To: dev@dpdk.org
> Cc: Ori Kam ; Raslan Darawsheh ;
> Matan Azrad ; Slava Ovsiienko
> ; Maayan Kashani ; Itamar
> Gozlan
> Subject: [PATCH 1/2] net/mlx5/hws: removing the table name from dest root
> table
>
> -Original Message-
> From: Bar Neuman
> Sent: Tuesday, June 13, 2023 8:28 AM
> To: dev@dpdk.org
> Cc: Ori Kam ; Raslan Darawsheh ;
> Matan Azrad ; Slava Ovsiienko
> ; Maayan Kashani
> Subject: [PATCH 2/2] net/mlx5: add support for send to kernel over HWS
>
> Added hws send to kernel ac
Hi Cheng,
My replies are inline.
Thanks,
Amit Shukla
> -Original Message-
> From: Jiang, Cheng1
> Sent: Tuesday, June 13, 2023 10:21 AM
> To: Amit Prakash Shukla ;
> tho...@monjalon.net; Richardson, Bruce ;
> m...@smartsharesystems.com; Xia, Chenbo
> Cc: dev@dpdk.org; Hu, Jiayu ; Ding
> -Original Message-
> From: David Marchand
> Sent: Monday, June 12, 2023 10:56 PM
> To: Yan, Zhirun
> Cc: Jerin Jacob ; Thomas Monjalon
> ; dev@dpdk.org; jer...@marvell.com;
> kirankum...@marvell.com; ndabilpu...@marvell.com;
> step...@networkplumber.org; pbhagavat...@marvell.com; Lian
The initialized queue number is not match the description in HW
datasheet.
Fixes: 805803445a02 ("e1000: support EM devices (also known as e1000/e1000e)")
Cc: sta...@dpdk.org
Signed-off-by: Qiming Yang
---
drivers/net/e1000/em_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
d
Signed-off-by: Qiming Yang
---
doc/guides/rel_notes/release_23_07.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_23_07.rst
b/doc/guides/rel_notes/release_23_07.rst
index 027ae7bd2d..382dbfbe37 100644
--- a/doc/guides/rel_notes/release_23_07.rst
+++ b/doc/
On 6/12/23 22:53, Chautru, Nicolas wrote:
Hi Maxime, David,
-Original Message-
From: Maxime Coquelin
On 6/6/23 23:01, Chautru, Nicolas wrote:
Hi David,
-Original Message-
From: David Marchand > >>
On Mon, Jun 5, 2023 at 10:08 PM Chautru, Nicolas
wrote:
Wrt the MLD func
As DPDK provides examples compiled with makefiles, we need some tests in
the CI. So far, a few maintainers have been testing them but a simple
issue has been missed for some time and there was no way to try to build
all examples that were built with meson.
Additionnally, this series can help in id
Added sources were not referenced in the makefile used when compiling
this example externally.
Fixes: 36128a67c27e ("examples/fips_validation: add asymmetric validation")
Fixes: b455d261eb89 ("examples/fips_validation: validate ECDSA")
Cc: sta...@dpdk.org
Signed-off-by: David Marchand
---
examp
Rename sub directories in this example.
This removes the only special case in examples and will ease a next
change.
Signed-off-by: David Marchand
---
doc/guides/sample_app_ug/server_node_efd.rst | 14 +++---
examples/meson.build | 4 ++--
examples/ser
So far, users of test-meson-builds.sh had to define their own set of
examples to build externally. This is not that great because users need
to maintain this list when examples are removed/added.
Rework the script so that the 'all' value triggers an automatic
discovery based on what was configured
Enhance our CI coverage by building examples against an installed DPDK.
Signed-off-by: David Marchand
---
.ci/linux-build.sh | 25 -
.github/workflows/build.yml | 6 +++---
2 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/.ci/linux-build.sh b/.ci/
> -Original Message-
> From: Yutang Jiang
> Sent: Monday, June 12, 2023 10:48 PM
> To: Ruifeng Wang
> Cc: Open Source Submission ; dev@dpdk.org;
> Yutang Jiang OS
>
> Subject: RE: [PATCH] config/arm: add Ampere Altra/AltraMax/AmpereOne platform
>
> Hi Ruifeng,
>
> Please help me r
On Mon, Jun 12, 2023 at 9:36 PM wrote:
>
> From: Jerin Jacob
>
> Specialized fast path routines are not applicable to non
> arm64 build, removing those function contained
> files to improve the build time on non arm64 build.
>
> Signed-off-by: Jerin Jacob
> Acked-by: Nithin Dabilpuram
Applied
From: Beilei Xing
Memzone of split Rx queue is not released, this commit fixes
this issue.
Fixes: c3f4af354506 ("net/cpfl: refine structures")
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_rxtx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/cpfl/cpfl_rxtx.c b/drivers
On Tue, Jun 13, 2023 at 10:13 AM Qiming Yang wrote:
>
> Signed-off-by: Qiming Yang
> ---
> doc/guides/rel_notes/release_23_07.rst | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/doc/guides/rel_notes/release_23_07.rst
> b/doc/guides/rel_notes/release_23_07.rst
> index 027ae7bd2d..382
Hello,
On Fri, May 12, 2023 at 4:30 PM Arnaud Fiorini
wrote:
>
> The tracepoints added are used to track lcore role and status,
> as well as service mapping and service runstates. These
> tracepoints are then used in analyses in Trace Compass.
>
> Signed-off-by: Arnaud Fiorini
Harry, the majori
On Tue, Jun 13, 2023 at 10:17:40AM +0200, David Marchand wrote:
> So far, users of test-meson-builds.sh had to define their own set of
> examples to build externally. This is not that great because users need
> to maintain this list when examples are removed/added.
>
> Rework the script so that th
On Tue, Jun 13, 2023 at 10:17:37AM +0200, David Marchand wrote:
> As DPDK provides examples compiled with makefiles, we need some tests in
> the CI. So far, a few maintainers have been testing them but a simple
> issue has been missed for some time and there was no way to try to build
> all example
On Tue, Jun 13, 2023 at 10:17:40AM +0200, David Marchand wrote:
> So far, users of test-meson-builds.sh had to define their own set of
> examples to build externally. This is not that great because users need
> to maintain this list when examples are removed/added.
>
> Rework the script so that th
> -Original Message-
> From: Thomas Monjalon
> Sent: Monday, June 12, 2023 8:45 PM
> To: Ruifeng Wang ; Zhang, Qi Z ;
> zhoumin
>
> Cc: dev@dpdk.org; m...@smartsharesystems.com; konstantin.v.anan...@yandex.ru;
> Yang, Qiming
> ; Wu, Wenjun1 ;
> d...@linux.vnet.ibm.com;
> roret...@linux
From: Pavan Nikhilesh
Remove recalculating SQB thresholds in Tx queue buffer adjustment.
The adjustment is already done during Tx queue setup.
Signed-off-by: Pavan Nikhilesh
---
v2 Changes:
- Rebase on ToT.
drivers/event/cnxk/cn10k_eventdev.c | 9 +
drivers/event/cnxk/cn10k_tx_wor
From: Pavan Nikhilesh
Using labels in asm generates them as regular function and shades
callstack in tools like gdb or perf.
Use local label instead for better visibility.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/cnxk/cn10k_worker.h| 8 ++---
drivers/event/cnxk/cn9k_worker.h |
From: Pavan Nikhilesh
Use WFE is Tx path when waiting for space in the Tx queue.
Depending upon the Tx queue contention and size, WFE will
reduce the cache pressure and power consumption.
In multi-core scenarios we have observed up to 8W power reduction.
Signed-off-by: Pavan Nikhilesh
---
driv
On Tue, Jun 13, 2023 at 11:21 AM Bruce Richardson
wrote:
>
> On Tue, Jun 13, 2023 at 10:17:40AM +0200, David Marchand wrote:
> > So far, users of test-meson-builds.sh had to define their own set of
> > examples to build externally. This is not that great because users need
> > to maintain this lis
Segmentation fault has been observed while running the
ixgbe_recv_pkts_lro() function to receive packets on the Loongson 3C5000
processor which has 64 cores and 4 NUMA nodes.
>From the ixgbe_recv_pkts_lro() function, we found that as long as the first
packet has the EOP bit set, and the length of
On Tue, Jun 13, 2023 at 10:27 AM wrote:
>
> From: Satheesh Paul
>
> Currently PORT_ID action can redirect traffic only between
> VFs of a PF. This patch extends PORT_ID action to redirect
> traffic from one PF port to another PF port also.
>
> Signed-off-by: Satheesh Paul
> Reviewed-by: Kiran Ku
On Wed, May 24, 2023 at 1:35 AM Akhil Goyal wrote:
>
> Added support for MACsec SC/flow/session stats.
>
> Signed-off-by: Akhil Goyal
# Please fix the the build issue
http://mails.dpdk.org/archives/test-report/2023-June/410104.html
# Please rebase to dpdk-next-mrvl as doc is updated in
https://
Hi Ferruh,
On 2023/6/12 21:53, Ferruh Yigit wrote:
> On 2/9/2023 6:36 AM, Chengwen Feng wrote:
>> The memarea library is an allocator of variable-size object which based
>> on a memory region. The main features are as follows:
>>
>> - The memory region can be initialized from the following memory
Hello,
On Mon, Jun 12, 2023 at 6:32 PM Tyler Retzlaff
wrote:
> If there has been a broad regression here could I ask for your help in
> either reverting it until I can look at it properly or if you see the
> obvious problem fixing it.
>
> There were multiple instances of flags being converted to
> -Original Message-
> From: David Marchand
> Sent: Tuesday, June 13, 2023 9:39 AM
> To: Arnaud Fiorini ; Van Haaren, Harry
>
> Cc: Thomas Monjalon ; Jerin Jacob
> ; Sunil Kumar Kori ; dev@dpdk.org
> Subject: Re: [PATCH v3] eal: add tracepoints to track lcores and services
>
> Hello,
Hi
Hi Jiawen,
On Tues, June 13, 2023 at 11:30PM, Jiawen Wu wrote:
On Tuesday, June 13, 2023 9:43 AM, zhoumin wrote:
On Mon, June 12, 2023 at 8:44PM, Thomas Monjalon wrote:
12/06/2023 13:58, zhoumin:
On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote:
15/05/2023 04:10, Zhang, Qi Z:
From: Ru
Added MACsec support in Marvell cnxk PMD.
The patchset is pending from last release [1]
Sending as a new series as the functionality is now
complete and tested on hardware.
[1]
https://patches.dpdk.org/project/dpdk/cover/20220928124516.93050-1-gak...@marvell.com/
Changes in v4:
Fix build with RH
Added ROC init and fini APIs for supporting MACsec.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_features.h | 12 ++
drivers/common/c
Added ROC APIs to allocate/free MACsec resources
and APIs to write SA policy.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_mbox.h| 12 ++
drivers/common/cnxk/roc_mcs.h
Added ROC APIs to configure MACsec secure channel(SC)
and its mapping with SAs for both Rx and Tx.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h| 37 ++
drivers/common/cnxk/roc_mcs.h | 41 ++
d
Added ROC APIs to configure MACsec secy policy and
flow entries.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h| 38 +
drivers/common/cnxk/roc_mcs.h | 37 +
drivers/common/cnxk/roc_mcs_s
Added ROC APIs for setting packet number and LMAC
related configurations.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h| 56 +
drivers/common/cnxk/roc_mcs.c | 71 +
Added ROC APIs for MACsec stats for SC/SECY/FLOW/PORT
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_mbox.h | 93 ++
drivers/common/cnxk/roc_mcs.h | 85 +
> -Original Message-
> From: Min Zhou
> Sent: Tuesday, June 13, 2023 5:44 PM
> To: tho...@monjalon.net; qi.z.zh...@intel.com; m...@smartsharesystems.com;
> konstantin.v.anan...@yandex.ru; Ruifeng Wang ;
> d...@linux.vnet.ibm.com; roret...@linux.microsoft.com; qiming.y...@intel.com;
> wenju
Added ROC APIs to support various MACsec interrupts.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_dev.c | 86 +
drivers/common/cnxk/roc_mbox.h | 37 +++-
drivers/common/cnxk/roc_mcs.c | 117
Added ROC APIs for MACsec port configurations
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h | 40
drivers/common/cnxk/roc_mcs.c | 346
drivers/common/cnxk/roc_mcs.h | 48
Added ROC APIs to configure MACsec control port.
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h | 72
drivers/common/cnxk/roc_mcs.c | 117
drivers/common/cnxk/roc
Added MACsec FIPS configuration mbox
Signed-off-by: Ankur Dwivedi
Signed-off-by: Vamsi Attunuru
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_mbox.h | 74 ++
drivers/common/cnxk/roc_mcs.h | 69 +++
2 files changed, 143 inser
MACsec hardware configuration need hash key to be generated
from the cipher key of AES-GCM-128/256.
Added an ROC API to derive the hash key and extend the case
for AES-256 as well.
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_aes.c | 86 ++---
drivers/comm
Added initialization routines for MACsec for
cn10kb platform.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 6 ++
drivers/net/cnxk/cnxk_ethdev.c | 13 +++
drivers/net/cnxk/cnxk_ethdev.h | 14 +++
drivers/net/cnxk/cnxk_ethdev_mcs.c | 151 +
Added support to create/destroy MACsec SA and SC.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 9 +-
drivers/net/cnxk/cnxk_ethdev_mcs.c | 253
drivers/net/cnxk/cnxk_ethdev_mcs.h | 16 ++
3 files changed, 274 insertions(+), 4 deletions(-)
Added support for MACsec session/flow create/destroy.
Signed-off-by: Akhil Goyal
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 11 +-
drivers/net/cnxk/cn10k_flow.c | 23 ++-
drivers/net/cnxk/cnxk_ethdev.c | 2 +
drivers/net/cnxk/cnxk_ethdev.h | 16 ++
drivers/net/cnxk/cnxk_ethde
Added support for MACsec SC/flow/session stats.
Signed-off-by: Akhil Goyal
---
doc/guides/rel_notes/release_23_07.rst | 5 ++
drivers/net/cnxk/cn10k_ethdev_sec.c| 11 +++--
drivers/net/cnxk/cnxk_ethdev_mcs.c | 64 ++
drivers/net/cnxk/cnxk_ethdev_mcs.h | 9 ++
V13:
Add sub header into meson indirect_headers list to export.(change meson.build
in patch02, 05)
V12:
Fix compilation broken at patch 1.(keep renamed header align with patch 1,2)
V11:
Update comments and fix to add experimental flags for
rte_graph_model_is_valid() in patch 04.
Update added sy
Rename rte_graph_work.h to rte_graph_work_common.h for supporting
multiple graph worker model.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
MAINTAINERS | 3 ++-
app/test/test_graph.c
To support multiple graph worker model, split graph into common
and default. Naming the current walk function as rte_graph_model_rtc
cause the default model is RTC(Run-to-completion).
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
a
Node process is a single and reusable block, move the code into an inline
function.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
lib/graph/rte_graph_model_rtc.h | 20 ++---
lib/graph/rte_graph_worker_common.h | 33
Add new get/set APIs to configure graph worker model which is used to
determine which model will be chosen.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
lib/graph/meson.build | 1 +
lib/graph/rte_graph_worker.c
Add lcore_id for node to hold affinity core id and impl
rte_graph_model_mcore_dispatch_lcore_affinity_set to set node affinity
with specific lcore.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
lib/graph/graph_private.h
Add lcore_id for graph to hold affinity core id where graph would run on.
Add bind/unbind API to set/unset graph affinity attribute. lcore_id will
be set as MAX by default, it means not enable this attribute.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acke
Move clone_name() into graph_private.h as a common function for both node
and graph to naming a new cloned object.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
lib/graph/graph_private.h | 41 +++
This patch adds graph API for supporting to clone the graph object for
a specified worker core. The new graph will also clone all nodes.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
---
lib/graph/graph.c | 89 +
Add graph_mcore_dispatch_wq_node to hold graph scheduling workqueue
node.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
---
lib/graph/graph.c | 2 ++
lib/graph/graph_populate.c | 1 +
lib/graph/graph_private.h | 12
This patch introduces key functions to allow a worker thread to
enable enqueue and move streams of objects to the next nodes over
different cores for mcore dispatch model.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Pavan Nikhilesh
---
lib/graph
This patch enables to create and destroy scheduling workqueue into
common graph operations.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Pavan Nikhilesh
---
lib/graph/graph.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/gra
This patch introduces the task scheduler mechanism to enable dispatching
tasks to another worker cores. Currently, there is only a local work
queue for one graph to walk. We introduce a scheduler worker queue in
each worker core for dispatching tasks. It will perform the walk on
scheduler work queu
This patch enables to chose new scheduler model. Must define
RTE_GRAPH_MODEL_SELECT before including rte_graph_worker.h
to enable specific model choosing.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
Acked-by: Pavan Nikhilesh
---
doc
Add stats for mcore dispatch model if stats collection is
enabled.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Jerin Jacob
Acked-by: Pavan Nikhilesh
---
lib/graph/graph_debug.c| 6 ++
lib/graph/graph_stats.c
Add functional test for mcore dispatch model including graph clone,
graph model set/get, node worker affinity, graph worker binding/unbinding.
Signed-off-by: Haiyue Wang
Signed-off-by: Cunming Liang
Signed-off-by: Zhirun Yan
Acked-by: Pavan Nikhilesh
---
app/test/test_graph.c | 130 ++
Add new parameter "model" to choose mcore dispatch or rtc model.
And in dispatch model, the node will affinity to worker core successively.
RTE_GRAPH_MODEL_SELECT is set to RTE_GRAPH_MODEL_RTC by default. Must set
model the same as RTE_GRAPH_MODEL_SELECT if set it as rtc or mcore
dispatch explicit
On 5/29/2023 12:21 PM, Fengnan Chang wrote:
when there is enough space for memseg, we should pormpt which
config to modify, not just print numbers.
Signed-off-by: Fengnan Chang
---
lib/eal/linux/eal_memory.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/eal/lin
On 6/13/2023 10:50 AM, fengchengwen wrote:
Hi Ferruh,
On 2023/6/12 21:53, Ferruh Yigit wrote:
On 2/9/2023 6:36 AM, Chengwen Feng wrote:
The memarea library is an allocator of variable-size object which based
on a memory region. The main features are as follows:
- The memory region can be init
On Tue, Jun 13, 2023 at 10:18 AM David Marchand
wrote:
> diff --git a/doc/guides/sample_app_ug/server_node_efd.rst
> b/doc/guides/sample_app_ug/server_node_efd.rst
> index c6cbc3def6..7253b38da7 100644
> --- a/doc/guides/sample_app_ug/server_node_efd.rst
> +++ b/doc/guides/sample_app_ug/server_no
On Tue, Jun 13, 2023 at 3:53 PM Zhirun Yan wrote:
>
> V13:
> Add sub header into meson indirect_headers list to export.(change meson.build
> in patch02, 05)
Please rebase with dpdk.org/main. There are build issues now also
make sure monitor CI after pushing the patches.
[569/2998] Compiling C
> -Original Message-
> From: Jerin Jacob
> Sent: Tuesday, June 13, 2023 7:13 PM
> To: Yan, Zhirun
> Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com;
> ndabilpu...@marvell.com; step...@networkplumber.org;
> pbhagavat...@marvell.com; david.march...@redhat.com; Liang, Cunming
> -Original Message-
> From: Ruifeng Wang
> Sent: Tuesday, June 13, 2023 6:20 PM
> To: Min Zhou ; tho...@monjalon.net; Zhang, Qi Z
> ; m...@smartsharesystems.com;
> konstantin.v.anan...@yandex.ru; d...@linux.vnet.ibm.com;
> roret...@linux.microsoft.com; Yang, Qiming ; Wu,
> Wenjun1
> C
On 2023/6/13 19:04, Burakov, Anatoly wrote:
> On 6/13/2023 10:50 AM, fengchengwen wrote:
>> Hi Ferruh,
>>
>> On 2023/6/12 21:53, Ferruh Yigit wrote:
>>> On 2/9/2023 6:36 AM, Chengwen Feng wrote:
The memarea library is an allocator of variable-size object which based
on a memory region. Th
Hi Cheng,
Few comments inline. Please check.
Thanks,
Dengdui
On 2023/6/13 12:31, Cheng Jiang wrote:
> There are many high-performance DMA devices supported in DPDK now, and
> these DMA devices can also be integrated into other modules of DPDK as
> accelerators, such as Vhost. Before integrating
On Wed, May 17, 2023 at 4:53 PM Ferruh Yigit wrote:
>
> On 3/9/2023 4:21 PM, Stephen Hemminger wrote:
> > On Thu, 9 Mar 2023 09:16:33 +0100
> > David Marchand wrote:
> >
> >> +RTE_ETHDEV_LOG(ERR, "Ethdev port_id=%u requested Rx offloads
> >> '%s' in %s(). "
> >> +
Displaying a bitmask is terrible for users.
Prefer offload names when refusing some offloads in
rte_eth_dev_configure.
Before:
Ethdev port_id=0 requested Rx offloads 0x621 doesn't match Rx offloads
capabilities 0x0 in rte_eth_dev_configure()
After:
Ethdev port_id=0 does not support Rx off
On Mon, Jun 12, 2023 at 7:15 PM Bruce Richardson
wrote:
>
> The has_libnuma flag was using 0 and 1 integer values, instead of the
> more appropriate boolean type. Change to use true/false instead.
>
> Signed-off-by: Bruce Richardson
This patch lgtm (with or without the suggestion on config/arm b
On Mon, Jun 12, 2023 at 7:59 PM Bruce Richardson
wrote:
>
> On Mon, Jun 12, 2023 at 06:14:56PM +0100, Bruce Richardson wrote:
> > When libnuma development package is missing on a system, DPDK can still
> > be built but will be missing much-needed support for NUMA memory
> > management. This may la
On Tue, Jun 13, 2023 at 03:43:34PM +0200, David Marchand wrote:
> On Mon, Jun 12, 2023 at 7:15 PM Bruce Richardson
> wrote:
> >
> > The has_libnuma flag was using 0 and 1 integer values, instead of the
> > more appropriate boolean type. Change to use true/false instead.
> >
> > Signed-off-by: Bruc
Signed-off-by: Ivan Malov
---
.mailmap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index 8e3940a253..d97cdc670c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -105,7 +105,7 @@ Andriy Berestovskyy
Andrzej Ostruszka
Andy Gospodarek
Andy Green
-Andy Mo
As DPDK provides examples compiled with makefiles, we need some tests in
the CI. So far, a few maintainers have been testing them but a simple
issue has been missed for some time and there was no way to try to build
all examples that were built with meson.
Additionnally, this series can help in id
So far, users of test-meson-builds.sh had to define their own set of
examples to build externally. This is not that great because users need
to maintain this list when examples are removed/added.
Rework the script so that the 'all' value triggers an automatic
discovery based on what was configured
Enhance our CI coverage by building examples against an installed DPDK.
Signed-off-by: David Marchand
Acked-by: Bruce Richardson
---
Changes since v1:
- reworked built examples discovery,
- added comment for people who are not sed fluent,
---
.ci/linux-build.sh | 27 ++
1 - 100 of 192 matches
Mail list logo