On Fri, Sep 6, 2024 at 1:07 PM Vladimir Medvedkin
wrote:
>
> Previously when running rte_fib_lookup IPv4 addresses must have been in
> host byte order.
>
> This patch adds a new flag RTE_FIB_FLAG_LOOKUP_BE that can be passed on
> fib create, which will allow to have IPv4 in network byte order on
>
On Fri, Sep 27, 2024 at 6:13 PM Robin Jarry wrote:
>
> Vladimir Medvedkin, Sep 06, 2024 at 13:09:
> > Currently, for DIR24-8 algorithm, the tbl8 group is freed even though the
> > readers might be using the tbl8 group entries. The freed tbl8 group can
> > be reallocated quickly. As a result, looku
On 9/27/2024 4:10 AM, Chaoyong He wrote:
> From: Long Wu
>
> Using the Rx packet offload flag rather than the device
> capability to control the packet type offload configuration.
> Also implement the device packet type set interface to
> let application can set the Rx packet offload flag.
>
> S
On 9/27/2024 2:23 PM, Niall Meade wrote:
> Addressed a specific overflow issue in the eth_dev_adjust_nb_desc()
> function where the uint16_t variable nb_desc would overflow when its
> value was greater than (2^16 - nb_align). This overflow caused nb_desc
> to incorrectly wrap around between 0 and n
On Fri, 27 Sep 2024 18:09:22 -0400
David Marchand wrote:
> On Fri, Sep 27, 2024 at 4:48 PM Stephen Hemminger
> wrote:
> >
> > The allocation functions take a alignment argument that
> > can be useful to hint the compiler optimizer.
> >
> > This is supported by Gcc and Clang but only useful with
Reviewed-by: Luca Vizzarro
Reviewed-by: Luca Vizzarro
Before, the remote session did't allows to copy directories,
only files. This feature will be used in future commit.
Signed-off-by: Tomáš Ďurovec
---
dts/framework/testbed_model/os_session.py| 120 ++-
dts/framework/testbed_model/posix_session.py | 88 +-
dts/fra
On Fri, Sep 27, 2024 at 4:48 PM Stephen Hemminger
wrote:
>
> The allocation functions take a alignment argument that
> can be useful to hint the compiler optimizer.
>
> This is supported by Gcc and Clang but only useful with
> Gcc because Clang gives warning if alignment is 0.
>
> Recent versions
I'm pretty sure this is been reported before, but in ixgbe_ethdev.c, line 4311
begins:
/* BSD has no interrupt mechanism, so force NIC status synchronization. */
#ifdef RTE_EXEC_ENV_FREEBSD
wait = 1;
#endif
We've had to remove this code ever since it was added because it causes
improper
On 9/26/2024 10:43 PM, Damodharam Ammepalli wrote:
> This patch series is a continuation of the patch set that supports
> configuring speed lanes.
> https://patchwork.dpdk.org/project/dpdk/patch/20240708232351.491529-1-
> damodharam.ammepa...@broadcom.com/
>
> The patchset consists
> 1) rtelib/te
In the previous commits we're adding the support for copying
the whole local DPDK tree directory and git-ref option was
meant to do the same thing.
Signed-off-by: Tomáš Ďurovec
---
doc/guides/tools/dts.rst | 9 ---
dts/framework/settings.py | 51 +++-
dts/framework/utils.py|
By adding support for external build, we extend the
argument documentation for supported options.
Signed-off-by: Tomáš Ďurovec
---
doc/guides/tools/dts.rst | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst
index 65cce
Add support for programming PMU counters and reading their values
in runtime bypassing kernel completely.
This is especially useful in cases where CPU cores are isolated
i.e run dedicated tasks. In such cases one cannot use standard
perf utility without sacrificing latency and performance.
Signed
Since the DPDK may already be built, some more general name
is needed that includes both the DPDK location and the build
config (if we are going to build).
Signed-off-by: Tomáš Ďurovec
---
dts/conf.yaml | 2 +-
dts/framework/config/__init__.py | 26 ++---
Vladimir Medvedkin, Sep 06, 2024 at 13:09:
Currently, for DIR24-8 algorithm, the tbl8 group is freed even though the
readers might be using the tbl8 group entries. The freed tbl8 group can
be reallocated quickly. As a result, lookup may be performed incorrectly.
To address that, RCU QSBR is inte
In the previous commits we're adding the support for copying
the whole local DPDK tree directory and git-ref option was
meant to do the same thing.
Signed-off-by: Tomáš Ďurovec
---
doc/guides/tools/dts.rst | 9 ---
dts/framework/settings.py | 51 +++-
dts/framework/utils.py|
Add support for using DPDK source tree directory as well as DPDK
tarball with the pre-build directory that can user specify and
type of location, it can be stored in the local filesystem or SUT
node. Additionally, this can be set up with the config file or
cmd arguments/environment variables.
Sign
Before, the remote session did't allows to copy directories,
only files. This feature will be used in future commit.
Signed-off-by: Tomáš Ďurovec
---
dts/framework/testbed_model/os_session.py| 120 ++-
dts/framework/testbed_model/posix_session.py | 88 +-
dts/fra
When the DPDK build can be already pre-build, there is
not a need for defining multiple build targets. To make
it cleaner we decide to use one DPDK build wheater can
be pre-build or DTS will build it.
Signed-off-by: Tomáš Ďurovec
---
dts/conf.yaml | 14 +--
dts/fram
The OSSession (and its subclasses) should accept PurePaths
for remote paths to translate from OS-unaware (PurePath)
to OS-aware (Path) only on the remote side. For local paths,
they should accept Paths, as Python is OS-aware locally.
Signed-off-by: Tomáš Ďurovec
---
.../remote_session/remote_ses
Since the DPDK may already be built, some more general name
is needed that includes both the DPDK location and the build
config (if we are going to build).
Signed-off-by: Tomáš Ďurovec
---
dts/conf.yaml | 2 +-
dts/framework/config/__init__.py | 26 ++---
This patch series adds ability to use pre-build DPDK in various options of
usage. User can specify
this option from config file or cmd arguments/environment variables:
* The source of DPDK (tarball or tree),
* The build dir witch will be located in a subdirectory of DPDK tree root
directory, oth
Add support for reading ARM PMU events in runtime.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 4 ++
lib/pmu/meson.build | 8
lib/pmu/pmu_arm64.c | 94 +
lib/pmu/rte_pmu.h | 4 ++
lib/pmu/rte_pmu_pmc_arm6
By adding support for external build, we extend the
argument documentation for supported options.
Signed-off-by: Tomáš Ďurovec
---
doc/guides/tools/dts.rst | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst
index 65cce
>On 9/26/2024 3:03 PM, Meade, Niall wrote:
>>> From: Ferruh Yigit
>>> Sent: Thursday, September 26, 2024 12:16 AM
>>> To: Meade, Niall ; Thomas Monjalon
>>> ; Andrew Rybchenko ;
>>> Roman Zhukov
>>> Cc: dev@dpdk.org
>>> Subject: Re: [PATCH v1] ethdev: fix int overflow in descriptor count logic
Add support for using DPDK source tree directory as well as DPDK
tarball with the pre-build directory that can user specify and
type of location, it can be stored in the local filesystem or SUT
node. Additionally, this can be set up with the config file or
cmd arguments/environment variables.
Sign
Addressed a specific overflow issue in the eth_dev_adjust_nb_desc()
function where the uint16_t variable nb_desc would overflow when its
value was greater than (2^16 - nb_align). This overflow caused nb_desc
to incorrectly wrap around between 0 and nb_align-1, leading to the
function setting nb_des
> From: Ferruh Yigit
> Sent: Thursday, September 26, 2024 12:16 AM
> To: Meade, Niall ; Thomas Monjalon
> ; Andrew Rybchenko ;
> Roman Zhukov
> Cc: dev@dpdk.org
> Subject: Re: [PATCH v1] ethdev: fix int overflow in descriptor count logic
> > The resolution involves upcasting nb_desc to a uint
The OSSession (and its subclasses) should accept PurePaths
for remote paths to translate from OS-unaware (PurePath)
to OS-aware (Path) only on the remote side. For local paths,
they should accept Paths, as Python is OS-aware locally.
Signed-off-by: Tomáš Ďurovec
---
.../remote_session/remote_ses
When the DPDK build can be already pre-build, there is
not a need for defining multiple build targets. To make
it cleaner we decide to use one DPDK build wheater can
be pre-build or DTS will build it.
Signed-off-by: Tomáš Ďurovec
---
dts/conf.yaml | 14 +--
dts/fram
In order to profile app one needs to store significant amount of samples
somewhere for an analysis later on. Since trace library supports
storing data in a CTF format lets take advantage of that and add a
dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
app/test/test_trace_perf.c
Add support for reading Intel x86_64 PMU events in runtime.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 2 ++
lib/pmu/meson.build | 1 +
lib/pmu/rte_pmu.h| 2 ++
lib/pmu/rte_pmu_pmc_x86_64.h | 24
4 files changed, 29 inserti
This series adds self monitoring support i.e allows to configure and
read performance measurement unit (PMU) counters in runtime without
using perf utility. This has certain advantages when application runs on
isolated cores running dedicated tasks.
Events can be read directly using rte_pmu_read()
Calling rte_free twice on same object will corrupt the heap.
Warning is:
In function 'nfp_pre_tun_table_check_del',
inlined from 'nfp_flow_destroy' at
../drivers/net/nfp/flower/nfp_flower_flow.c:5143:9:
../drivers/net/nfp/flower/nfp_flower_flow.c:3830:9: error: pointer 'entry' used
after 'rte_fre
On 9/27/2024 11:46 AM, Meade, Niall wrote:
>> On 9/26/2024 3:03 PM, Meade, Niall wrote:
From: Ferruh Yigit
Sent: Thursday, September 26, 2024 12:16 AM
To: Meade, Niall ; Thomas Monjalon
; Andrew Rybchenko ;
Roman Zhukov
Cc: dev@dpdk.org
Subject: Re: [PATCH v1
On 9/26/2024 1:42 PM, Jie Hai wrote:
> The registers can be dumped through the API rte_eth_dev_get_reg_info.
> However, only register values are exported, which is inconvenient for
> users to interpret. Therefore, an extension of the structure
> "rte_dev_reg_info" and a new API rte_eth_dev_get_reg_
The driver cleanup code was freeing the filter object
then dereferencing it.
Bugzilla ID: 1550
Fixes: 6a4d050e2855 ("net/igb: flush all the filter")
Cc: wei.zh...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Stephen Hemminger
---
drivers/net/e1000/igb_ethdev.c | 4 ++--
1 file changed, 2 insert
The data structure is allocated with rte_malloc and incorrectly
freed in cleanup logic using free.
Bugzilla ID: 1549
Fixes: 9449330a8458 ("dma/idxd: create dmadev instances on PCI probe")
Cc: kevin.la...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Stephen Hemminger
---
drivers/dma/idxd/idxd_pc
Use rte_alloc_function annotation to catch mismatch errors
on memzone handling.
Signed-off-by: Stephen Hemminger
---
lib/mempool/rte_mempool.h | 41 +--
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte
The TAILQ_FOREACH() macro would refer to info after it
had been freed. Fix by introducing TAILQ_FOREACH_SAFE here.
Fixes: 4a19f89104f8 ("raw/ifpga/base: support multiple cards")
Cc: tianfei.zh...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Stephen Hemminger
---
drivers/raw/ifpga/base/opae_inte
Use the GCC function attribute to detect cases where
memory is allocated with rte_malloc and freed incorrectly
with libc version of free (and vice versa). Also will detect
some other pointer mismatches.
Signed-off-by: Stephen Hemminger
---
lib/eal/include/rte_malloc.h | 55 +-
Checking return value of rte_memzone_free() is pointless
and if it failed then it was because the pointer was null.
Fixes: 7b1374b1e6e7 ("common/qat: limit configuration to primary process")
Cc: arkadiuszx.kusz...@intel.com
Signed-off-by: Stephen Hemminger
---
drivers/common/qat/qat_device.c |
The raw ifpga driver redefines malloc to be opae_malloc
and free to be opae_free; which is a bad idea.
This leads to case where interrupt efd array is allocated
with calloc() and then passed to rte_free. The workaround
is to allocate the array with rte_calloc() instead.
Fixes: d61138d4f0e2 ("driv
With proper annotation, GCC discovers that this driver is
calling rte_free() on an object that was not allocated
(it is part of array in another object).
In function ‘cpfl_flow_js_mr_layout’,
inlined from ‘cpfl_flow_js_mr_action’ at
../drivers/net/cpfl/cpfl_flow_parser.c:848:9,
inlined fr
If compiler detection of use-after-free is enabled then this drivers
debug messages will cause warnings. Change to move debug message
before the object is freed.
Bugzilla ID: 1551
Fixes: 55c1238246d5 ("net/sfc: add more debug messages to transfer flows")
Cc: ivan.ma...@oktetlabs.ru
Signed-off-by:
The driver would refer to the mempool object after it was freed.
Bugzilla ID: 1554
Fixes: 7ea187184a51 ("common/cnxk: support 1-N pool-aura per NIX LF")
Cc: rbhans...@marvell.com
Cc: sta...@dpdk.org
Signed-off-by: Stephen Hemminger
---
drivers/net/cnxk/cnxk_ethdev_sec.c | 2 +-
1 file changed,
If conversion of cBF to eBPF fails then an object allocated with
rte_malloc() would be passed to free().
[908/3201] Compiling C object lib/librte_bpf.a.p/bpf_bpf_convert.c.o
../lib/bpf/bpf_convert.c: In function ‘rte_bpf_convert’:
../lib/bpf/bpf_convert.c:559:17: warning: ‘free’ called on pointer
The pointer bdev is allocated with rte_zmalloc() and then
incorrectly freed with free() which will lead pool corruption.
Bugzilla ID: 1553
Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample")
Cc: jin...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Stephen Hemminger
---
exa
The code to cleanup in case of error was passing incorrect
value to rte_free. The ports[] entry was allocated with
rte_malloc and that should be used instead of the offset
in that object.
Fixes: 97a05c1fe634 ("event/cnxk: add port config")
Cc: sthot...@marvell.com
Cc: sta...@dpdk.org
Signed-off-b
The device structure is allocated with rte_malloc() and
then incorrectly freed with free(). This will lead to
corrupt malloc pool.
Bugzilla ID: 1552
Fixes: c8e79da7c676 ("crypto/bcmfs: introduce BCMFS driver")
Cc: vikas.gu...@broadcom.com
Cc: sta...@dpdk.org
Signed-off-by: Stephen Hemminger
---
Using the freed value for tracing is not a good idea.
Although it is harmless for tracing, it will cause analyzers to flag
this as unsafe.
Signed-off-by: Stephen Hemminger
---
lib/eal/common/eal_common_memzone.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/eal/common
The allocation functions take a alignment argument that
can be useful to hint the compiler optimizer.
This is supported by Gcc and Clang but only useful with
Gcc because Clang gives warning if alignment is 0.
Recent versions of GCC have a malloc attribute that can
be used to find mismatches betwe
Recent versions of GCC have some additional function attributes that can
help with DPDK performance and stability.
The alloc_align attribute can tell the compiler what the alignment
of the allocation will be, and the optimizer can use this to produce
better code (especially memcpy and structure co
From: Shuanglin Wang
TFC supports the flow scale query feature for OVS application.
The resource usage(WC-TCAM) is tracked inside Thor2 firmware.
This patch is to query the wc-tcam usage info when adding/
deleting a flow. It is just for debugging purpose and disabled by
default.
Using the build
From: Peter Spreadborough
The RTE hash is highly optimized and will use HW acceleration
when available.
Signed-off-by: Peter Spreadborough
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Kishore Padmanabha
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_ulp/bnxt_ulp_tf.c | 4
dr
From: Shahaji Bhosle
FW tries to update the HWRM request data in the
delete case to update the mode bit and also
update invalid profile id. This update only
happens when the data is send over DMA. HWRM
requests are read only buffers and cannot be
updated. So driver now will always send WC
tcam se
From: Shahaji Bhosle
Add hooks in the hwrm and ulp layer to enable,
custom tunnel header support on wh+ generic app(ovs).
Signed-off-by: Shahaji Bhosle
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Kishore Padmanabha
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt.h| 4
From: Kishore Padmanabha
Added support for the vf to vf flow offload for the whitney platform.
It includes the change of the pipeline from using vlan tags to using
custom L2 encap and decap of the packets.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Shah
From: Jay Ding
Implement action read and clear support. Change flow
query count to reset the count after read in ULP.
Update cli cmds accordingly.
Fixed bnxt_mpc_xmit() to pad the mpc message to be
multiple of 16 bytes.
Signed-off-by: Jay Ding
Signed-off-by: Sriharsha Basavapatna
Reviewed-by:
From: Shuanglin Wang
Isolate external EM support as it is now defunct on Wh+.
Signed-off-by: Shuanglin Wang
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Shahaji Bhosle
Reviewed-by: Farah Smith
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/meson.build |2 -
drivers/ne
From: Sangtani Parag Satishbhai
When entries are moved during HA, a shared move function transfers
TCAM entries by using get/set message APIs, and the slice number of the
entry is required to accomplish the movement. The slice number is
calculated as the product of row_slice and entry size. Befor
https://bugs.dpdk.org/show_bug.cgi?id=1554
Bug ID: 1554
Summary: Use after free in cnxk_ethdev
Product: DPDK
Version: 24.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Nor
From: Kishore Padmanabha
If application does not specify mask in a field description then
use the default mask values from dpdk header files.
This patch also includes the following related changes.
fix stats collection for shared session
The stats accumulation was being performed on def
From: Kishore Padmanabha
This patch provides the following changes.
support generic template items
Add support for jump action, dynamic tunnels and
flow priority to thor2 platform.
fix generic application template
The queue action is enabled for Thor2 platform.
E
From: Farah Smith
The maximum EM key size is 640 bits for Thor. But the lookup record
+ the key size is 679 bits. This value must be rounded up to a 128 bit
aligned number. So the size check should be 96 bytes rather than 80.
This fix allows keys > 601 bits to be successfully inserted.
Fixes:
From: Kishore Padmanabha
Added logic to add flows to wildcard tcam if flows fail to be added to
exact match table.
Signed-off-by: Kishore Padmanabha
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
Reviewed-by: Shahaji Bhosle
Signed-off-by: Sriharsha Basavapatna
---
drivers/net/bnxt/
From: Kishore Padmanabha
The locking for the parent child counters need to be done till the
stats are retrieved. Also the OVS is creating multiple F1 flows for
same tunnel hence reference count needs to be maintined for the F1
flows.
Fix name conflicts for class and action tables. Matcher alloca
From: Peter Spreadborough
This change adds a stats cache for Thor2 flows using counters.
Flow stats will be harvested periodically in the background
and stats reads by the application will be returned stats from
the cache and not by initiating a read from HW.
This change also adds read-clear fun
From: Kishore Padmanabha
This patch supports the following features.
add support for port table write operation
Added support for port table write operation from the
template so that template can write mirror id details into
the port database.
support generic template fo
From: Kishore Padmanabha
Added truflow feature bit meson configuration parameter to enable
optional capability features of the appplication.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Shahaji Bhosle
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_
From: Randy Schacher
Support flow query rss command for truflow in ULP layer.
Signed-off-by: Randy Schacher
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Kishore Padmanabha
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_vnic.c| 39 +-
drivers/net/bnxt/bnxt_
From: Shuanglin Wang
TF supports the flow scale query feature for OVS application.
The resource usage is tracked when opening a TF session
or adding/deleting a flow. The resources includes WC TCAM,
EM, Action, Counter, Meter, ACT_ENCAP, ACT_ENCAP, and SP_SMAC.
User can query the resource usage us
From: Jay Ding
1. Implement Thor2 meter template tables
2. Add Thor2 meter support in ULP
3. Make rte_mtr API implementation device independent
to adapt Thor2 meter hw change
4. Fix the round issue in xir calculation
Signed-off-by: Jay Ding
Signed-off-by: Sriharsha Basavapatna
Reviewed-by:
From: Kishore Padmanabha
This patch updates template files for the following list
of changes, that are being added in the next patch.
dynamic support for VF representor mode (template files only)
The configurable VF representor mode is removed and it is
dynamic. The action record
From: Shuanglin Wang
Modified return values of the several ULP utilities to comply C
coding standard. Like using macros EXIT_SUCCESS(0) and
EXIT_FAILURE(1) for the conventional status value for success
and failure, respectively. They are declared in the file stdlib.h.
Signed-off-by: Shuanglin W
From: Kishore Padmanabha
Added support to generate recipe id generation.
This patch includes a few related changes:
fix segfault in the wildcard recipe process
The recipe id is being passed as 8 bit instead of 64bit
causing the crash.
Ported code using default_non_ha resource
From: Kishore Padmanabha
This patch updates template files for the following list
of changes, that are being added in the next patch.
- enable recipe id generation
- fix segfault in the wildcard recipe process
Signed-off-by: Kishore Padmanabha
Signed-off-by: Sriharsha Basavapatna
Reviewed-by:
From: Mike Baucom
Update to VFR code to:
- add the endpoint (efid) to the session
- modify the generic tables to write the l2 context id
- tfc session code changes to allow the efid to be added to the sid
- release both rfid and efid from afm
This patch includes a few related changes:
Thor2 cha
From: Kishore Padmanabha
Converted the recipe table allocation from static model to dynamic
memory allocation model.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_ulp/ulp_mapper.c | 175 +
From: Mike Baucom
Template compiler modifications for v3 api:
Compile named/unnamed shared app resources for the applications
that are capable.
Change app id signature with base zero offset:
The app id is used in the calculation of the matching signatures
and as app id value incr
From: Manish Kurup
1. ULP fixes to enable primitives to support mirroring
2. RTE parser changes to support and use multiple ports in RTE
input msgs
3. Template changes required to support ingress mirroring
4. Template changes required to support egress mirroring
(using VFR pipeline)
Signed
From: Randy Schacher
Remove references to tx_tcam_supported and rx_tcam_supported
logic which chooses between FW-based tcam resource allocation
and driver-based tcam manager.
Signed-off-by: Randy Schacher
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Peter Spreadborough
Reviewed-by: Manis
From: Randy Schacher
Remove references to AFM allocated memory which is no longer
supported with TCAM mgr and truflow
Signed-off-by: Randy Schacher
Signed-off-by: Sriharsha Basavapatna
Reviewed-by: Farah Smith
Reviewed-by: Kishore Padmanabha
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/
From: Shuanglin Wang
TF supports the flow scale query feature for OVS application.
The resource usage is tracked when opening a TF session
or adding/deleting a flow. The resources includes WC TCAM,
EM, Action, Counter, Meter, ACT_ENCAP, ACT_ENCAP, and SP_SMAC.
User can query the resource usage us
From: Shahaji Bhosle
Max entries per session were not getting initialized
to 0, when the sessions were closed.
Reset max entries counter session when the session is initialized
Fixes: 97435d7906d7 ("net/bnxt: update Truflow core")
Signed-off-by: Shahaji Bhosle
Signed-off-by: Sriharsha Basavapat
This patch series introduces TruFlow functionality for Broadcom Thor2 NIC.
TruFlow(TF) is the software library that exposes CFA HW resources to
upper layer protocols or applications. This patch series implements the
tfc (tf_core) and the tf_ulp libraries as a part of the bnxt PMD,
so that upper la
Hi Luca,
I apologize for not giving this patch more time/attention. I think
this patch is worth having a more in-depth discussion about since it
does add quite a bit more complexity, but the benefit of that is some
valuable simplicity. I know we discussed in the recent team meeting
about whether o
On Thu, Sep 26, 2024 at 2:56 PM Damodharam Ammepalli
wrote:
>
> Broadcom Thor2 NICs support link mode settings where user
> can configure fixed speed and associated supported number of
> lanes. This patch does code-refactoring to address proposed
> poll mode library design updates.
>
> Signed-off-
On Thu, Sep 26, 2024 at 5:39 PM Ferruh Yigit wrote:
>
> On 9/26/2024 10:43 PM, Damodharam Ammepalli wrote:
> > Update the eth_dev_ops structure with new function vectors
> > to get, get capabilities and set ethernet link speed lanes.
> > Update the testpmd to provide required config and informatio
On Tue, Sep 10, 2024 at 7:05 AM Juraj Linkeš wrote:
>
> >> -tg_port.peer,
> >> -tg_port.identifier,
> >> -):
> >> -self._port_links.append(PortLink(sut_port=sut_port,
> >> tg_port=tg_port))
> >> +sut_ports = []
>
27/09/2024 02:19, Ferruh Yigit:
> On 9/16/2024 5:28 PM, Stephen Hemminger wrote:
> > From: Nandini Persad
> > +Avoid doing the following:
> > +
> > +* Using PMD specific macros when DPDK macros exist
> > +* Including unused headers (process-iwyu.py)
> > +* Disabling compiler warnings for driver
>
add support of sm4 xts .
Signed-off-by: Hanxiao Li
---
lib/cryptodev/rte_crypto_sym.h | 4 +++-
lib/cryptodev/rte_cryptodev.c | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h
index 53b18b9412..b34d041fe0 1006
Add drivers and some interfaces of zsda compressdev.
Signed-off-by: Hanxiao Li
---
MAINTAINERS | 4 +
drivers/common/zsda/meson.build | 12 +-
drivers/compress/zsda/zsda_comp.c | 392 ++
drivers/compress/zsda/zsda_comp.h | 52 +++
d
Reviewed-by: Luca Vizzarro
add support of sm4 xts test.
Signed-off-by: Hanxiao Li
---
app/test/test_cryptodev_blockcipher.c | 3 +-
app/test/test_cryptodev_sm4_test_vectors.h | 58 ++
2 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev_blockcipher.c
b/app/test/
v7:
- add release notes and some documentations.
- add MAINTAINERS context in the patch where the file/folder is added.
- add files in meason.build which are included in the patch only.
- add a check for unsupported on Windows
- notice the implicit cast in C.
- add cover letter.
- compile each of
This patch adds documents and release notes
about compressdev and cryptodev.
Signed-off-by: Hanxiao Li
---
doc/guides/compressdevs/features/zsda.ini | 15 ++
doc/guides/compressdevs/index.rst | 1 +
doc/guides/compressdevs/zsda.rst | 45
doc/guides/cryptodevs/features/z
Reviewed-by: Luca Vizzarro
Reviewed-by: Luca Vizzarro
1 - 100 of 122 matches
Mail list logo