On Fri, Oct 4, 2024 at 2:20 AM Abdullah Sevincer
wrote:
>
> This commit adds support for independent enqueue feature
Remove "This commit adds"
> and updates Event Device and PMD feature list.
>
> A new capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ is introduced. It
> allows out-of-order enqueuing
On Thu, 30 May 2024 18:19:48 +0100
Daniel Gregory wrote:
> This new functionality is controlled by a Meson flag that is disabled by
> default. Whilst it's a hint, like rte_pause(), and so has no effect if
> the target doesn't support the extension, it requires the address
> prefetched to be loade
On Mon, 6 Nov 2023 07:31:19 +
Chengwen Feng wrote:
> The rte_kvargs_process() was used to parse key-value (e.g. socket_id=0),
> it also supports to parse only-key (e.g. socket_id). But many drivers's
> callback can only handle key-value, it will segment fault if handles
> only-key. so the pat
On Fri, 13 Sep 2024 15:19:18 +0300
Oleksandr Nahnybida wrote:
> The pcapng generates corrupted files when dealing with chained mbufs.
> This issue arises because in rte_pcapng_copy the length of the EPB block
> is incorrectly calculated using the data_len of the first mbuf instead
> of the pkt_le
The use of the word segregate should be avoided.
Rationale from https://inclusivenaming.org/word-lists/tier-3/segregate/
The word segregation carries strong context in regard to civil rights
movements in the US and South Africa, segregation in the US South, and
racist history.
Signed-off-by
On Thu, 25 Apr 2024 17:53:08 +0100
Ferruh Yigit wrote:
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
> index 548fada1c7ad..40f04c0e191b 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -3136,6 +3136,9 @@ int rte_eth_stats_get(uint16_t port_id, struct
On Mon, 1 Jul 2024 23:01:17 +0300
Shani Peretz wrote:
> +/**
> + * General device name comparison. Will compare by using the specific bus
> + * compare function or by comparing the names directly.
> + *
> + * @param dev
> + * Device handle.
> + * @param name
> + * Name to compare against.
> +
Simplify awkward wording in description of the multi process
application.
Signed-off-by: Stephen Hemminger
---
doc/guides/sample_app_ug/multi_process.rst | 168 -
1 file changed, 61 insertions(+), 107 deletions(-)
diff --git a/doc/guides/sample_app_ug/multi_process.rst
b/do
On Thu, 24 Aug 2023 09:37:18 +0200
jhascoet wrote:
> From: Julien Hascoet
>
> As the ring is big enough by construction, the ring
> enqueue ops cannot fail; therefore, we check and panic
> on it as soon as it is detected.
>
> Signed-off-by: Julien Hascoet
> ---
As per earlier patch in the em
On Wed, 7 Jun 2023 12:10:01 +0200
Morten Brørup wrote:
> > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
> > Sent: Thursday, 9 March 2023 05.58
> >
> > Clarify that the mempool cache create and free API implementations
> > work on user owned mempool caches.
> >
> > Signed-off
On Wed, 20 Dec 2023 15:43:36 +
Bruce Richardson wrote:
> On Wed, Dec 20, 2023 at 04:08:08PM +0100, Morten Brørup wrote:
> > > From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> > > Sent: Wednesday, 20 December 2023 15.22
> > >
> > > In order to remove more libraries from the mandat
On Fri, Oct 4, 2024 at 1:53 PM Damodharam Ammepalli
wrote:
>
> Mistakenly "\n" sneaked into bnxt_print_link_info which
> prints the speed and lanes information of Broadcom Thor2 NIC.
> This patch removes this newline character.
>
> Fixes: 7bc8e9a227cc ("net/bnxt: support async link notification")
Mistakenly "\n" sneaked into bnxt_print_link_info which
prints the speed and lanes information of Broadcom Thor2 NIC.
This patch removes this newline character.
Fixes: 7bc8e9a227cc ("net/bnxt: support async link notification")
Cc: sta...@dpdk.org
Signed-off-by: Damodharam Ammepalli
---
drivers/n
On Fri, 4 Oct 2024 02:48:21 +0100
Ferruh Yigit wrote:
> > +Stats per queue = Y
> >
>
> This feature name is misleading,
> it is for 'rte_eth_dev_set_[rt]x_queue_stats_mapping()' API, which is
> indeed for covering limitation for some drivers.
> Tap does support getting stats per queue, bu
...
> >>> The stats queue mapping was a feature that was hinted at being removed.
> >>> It only exists because of HW limitations on Intel ixgbe NIC and SW
> >>> limitations from RTE_ETHDEV_QUEUE_STAT_CNTRS.
> >>>
> >>
> >>
> >> We have a plan to remove 'RTE_ETHDEV_QUEUE_STAT_CNTRS', by moving que
Ferruh Yigit, Oct 04, 2024 at 20:01:
On 10/1/2024 9:17 AM, Robin Jarry wrote:
@@ -918,12 +918,14 @@ static struct chrte_fparse parseitem[] = {
.fptr = ch_rte_parsetype_ipv6,
.dmask = &(const struct rte_flow_item_ipv6) {
.hdr = {
-
Paul and Patrick have been appointed as the new dts maintainers.
Updating the MAINTAINERS file to reflect this.
Signed-off-by: Patrick Robb
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 812463fe9f..5c8402707a 100644
--- a/MA
> -Original Message-
> From: Andrew Rybchenko
> Sent: Friday, October 4, 2024 09:27
> To: Ferruh Yigit ; NBU-Contact-Thomas Monjalon
> (EXTERNAL) ; Ori Kam ; Aman Singh
> ; Konstantin Ananyev
> ; Reshma Pattan ;
> Stephen Hemminger ; Akhil Goyal
> ; Anoob Joseph ; Potnuri Bharat
> Teja ; H
> -Original Message-
> From: Ferruh Yigit
> Sent: Monday, September 30, 2024 01:31
> To: Dariusz Sosnowski ; NBU-Contact-Thomas
> Monjalon (EXTERNAL) ; Andrew Rybchenko
>
> Cc: dev@dpdk.org; Bruce Richardson ; Konstantin
> Ananyev
> Subject: Re: [RFC 0/4] ethdev: rework config restore
>
> > >>
> > >> And I can see set() has two different APIs,
> > >> 'rte_eth_dev_stashing_hints_rx' & 'rte_eth_dev_stashing_hints_tx',
> > >> is there a reason to have two separate APIs instead of having one
> > >> which gets RX & TX as argument, as done in internal device ops?
> > >
> > > Some types/
On 10/4/2024 5:39 PM, Nandini Persad wrote:
> +* Each patch should be organized logically as a new feature.
> +* Run test tools per patch (See :ref:`tool_list`:).
>
':' after `tool_list` is extra and can be dropped.
Rest looks good to me, thanks.
Hi Maxime,
> -Original Message-
> From: Maxime Coquelin
> Sent: Friday, October 4, 2024 5:08 AM
> To: Vargas, Hernan ; dev@dpdk.org;
> gak...@marvell.com; t...@redhat.com
> Cc: Chautru, Nicolas ; Zhang, Qi Z
>
> Subject: Re: [PATCH v2 02/10] baseband/acc: queue allocation refactor
>
>
On 9/5/2024 7:25 AM, Chaoyong He wrote:
> This patch series aims to fix some problems in the representor port link
> status and speed update logic, also do some refactors to the related
> logics.
>
> Qin Ke (8):
> net/nfp: fix incorrect type declaration of some variables
> net/nfp: add help fu
Asymmetric crypto algorithms such as SM2, EdDSA would need per op
capability and based on it, the input param to a crypto operation
is chosen wisely.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- op_capa is array of int instead of structure.
- compilation issues addressed.
---
app/test/t
On 10/1/2024 9:17 AM, Robin Jarry wrote:
> @@ -918,12 +918,14 @@ static struct chrte_fparse parseitem[] = {
> .fptr = ch_rte_parsetype_ipv6,
> .dmask = &(const struct rte_flow_item_ipv6) {
> .hdr = {
> - .src_addr =
> +
On 10/4/2024 4:17 PM, Stephen Hemminger wrote:
> On Thu, 1 Aug 2024 02:27:22 -0700
> Ferruh Yigit wrote:
>
>> gcc 15 experimental [1], with -Wextra flag, gives warning in variable
>> initialization as string [2].
>>
>> The warning has a point when initialized variable is intended to use as
>> str
On Sun, 22 Sep 2024 22:43:55 +0100
Ferruh Yigit wrote:
> >>
> >> And I can see set() has two different APIs,
> >> 'rte_eth_dev_stashing_hints_rx' &
> >> 'rte_eth_dev_stashing_hints_tx', is there a reason to have two separate
> >> APIs
> >> instead of having one which gets RX & TX as argument, a
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: 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: 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: 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: 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
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 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
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: 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: 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:
On Fri, 3 May 2024 19:27:30 +0100
Daniel Gregory wrote:
> The ARM implementation of rte_pause uses RTE_BUILD_BUG_ON to check
> memorder, which is not constant. This causes compile errors when it is
> enabled with RTE_ARM_USE_WFE. eg.
>
> ../lib/eal/arm/include/rte_pause_64.h: In function ‘rte_w
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: 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: 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
> Hello,
>
> Ferruh Yigit writes:
>
> > On 9/5/2024 11:14 AM, Akhil Goyal wrote:
> >> Replace *_LIST_END enumerators from asymmetric crypto
> >> lib to avoid ABI breakage for every new addition in
> >> enums with inline APIs.
> >>
> >> Signed-off-by: Akhil Goyal
> >> ---
> >> This patch was dis
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: 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
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: 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: 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: 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: 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
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
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
On Sun, 26 May 2024 09:21:55 +0200
Mattias Rönnblom wrote:
> On 2024-05-08 17:23, Stephen Hemminger wrote:
> > On Wed, 8 May 2024 09:19:02 +0200
> > Mattias Rönnblom wrote:
> >
> >> On 2024-05-04 00:00, Stephen Hemminger wrote:
> >>> On Fri, 3 May 2024 16:45:47 +0100
> >>> Ferruh Yigit wro
On Sun, 28 Apr 2024 20:26:18 +0800 (CST)
"Jianyue Wu" wrote:
> Yes, agree with that, there is also trace from kernel can see that. I'll
> ignore this patch.
>
>
> At 2024-04-27 08:18:53, "Stephen Hemminger"
> wrote:
> >On Fri, 26 Apr 2024 08:47:37 -0700
> >Tyler Retzlaff wrote:
> >
> >> >
> On Fri, Oct 4, 2024 at 5:55 AM Ferruh Yigit wrote:
> >
> > On 9/5/2024 11:14 AM, Akhil Goyal wrote:
> > > Replace *_LIST_END enumerators from asymmetric crypto
> > > lib to avoid ABI breakage for every new addition in
> > > enums with inline APIs.
> > >
> > > Signed-off-by: Akhil Goyal
> > > --
> > If we want to make it a generic thing in rte_common.h
> > Will the below change be ok?
> > --
> > Common header file (rte_common.h):
> > --
> > #define rte_define_enum_list_end(name, last_value) \
> > static inline int name ## _enu
On 10/4/2024 8:54 AM, Bruce Richardson wrote:
> On Fri, Oct 04, 2024 at 05:09:21AM +0100, Ferruh Yigit wrote:
>> On 10/4/2024 3:26 AM, Stephen Hemminger wrote:
>>> On Fri, 4 Oct 2024 02:48:21 +0100
>>> Ferruh Yigit wrote:
>>>
On 9/4/2024 4:42 PM, Stephen Hemminger wrote:
> The TAP device
On Fri, Oct 4, 2024 at 6:56 AM David Marchand wrote:
>
> Hello,
>
> On Thu, Sep 26, 2024 at 11:56 PM Damodharam Ammepalli
> wrote:
> > @@ -1331,16 +1376,17 @@ static int bnxt_dev_configure_op(struct rte_eth_dev
> > *eth_dev)
> > void bnxt_print_link_info(struct rte_eth_dev *eth_dev)
> > {
> >
On Thu, Jun 27, 2024 at 05:34:04AM +, Shaiq Wani wrote:
> Added a note to avoid usage errors by end user.
>
> Signed-off-by: Shaiq Wani
> ---
> app/test-dma-perf/config.ini | 3 +++
> doc/guides/tools/dmaperf.rst | 1 +
> 2 files changed, 4 insertions(+)
>
> diff --git a/app/test-dma-perf/c
From: Oleksandr Kolomeiets
The TX Packet Editor is a software abstraction module,
that keeps track of the handful of FPGA modules
that are used to edit packets in the TX pipeline.
Signed-off-by: Oleksandr Kolomeiets
---
drivers/net/ntnic/include/hw_mod_backend.h| 80 +
drivers/net/ntn
> > From: Pavan Nikhilesh
> >
> > Event pre-scheduling improves scheduling performance by assigning events
> > to event ports in advance when dequeues are issued.
> > This series introduces various types and levels of pre-scheduling to the
> > eventdev library.
> >
> > pre-scheduling Types:
> > *
On Wed, Jun 26, 2024 at 05:45:23AM +, Shaiq Wani wrote:
> Set GRPCFG traffic class to value of 1 for best performance on current
> generation of accelerators. Applicable to gen1 and gen2 devices.
>
> Signed-off-by: Shaiq Wani
> ---
> drivers/dma/idxd/idxd_pci.c | 13 +
> 1 file c
This document was created to assist contributors in creating DPDK drivers
and provides suggestions and guidelines on how to upstream effectively.
Signed-off-by: Ferruh Yigit
Signed-off-by: Nandini Persad
Reviewed-by: Stephen Hemminger
Acked-by: Chengwen Feng
---
doc/guides/contributing/index.
On Fri, 4 Oct 2024 21:54:45 +0530
wrote:
> From: Pavan Nikhilesh
>
> Event pre-scheduling improves scheduling performance by assigning events
> to event ports in advance when dequeues are issued.
> This series introduces various types and levels of pre-scheduling to the
> eventdev library.
>
>
On Fri, 15 Mar 2024 15:14:42 +0100
Robin Jarry wrote:
> Both checkpatches.sh and get-maintainer.sh require scripts that come
> from the linux sources. And they require DPDK_*_PATH variables to be set
> to point at these scripts locally. For new contributors this can be
> tedious since they will h
On Wed, 22 Nov 2023 20:26:21 -0500
David Young wrote:
> This patch series introduces significant updates to the DPDK Getting Started
> Guide, enhancing user accessibility and content clarity:
>
> 1-Structural Improvements:
> Integrated links to the Getting Started Guide in the main index.
> Relo
From: Pavan Nikhilesh
Add support to configure pre-scheduling for eventdev
test application.
Option `--preschedule`
0 - Disable pre-scheduling.
1 - Enable pre-scheduling.
2 - Enable pre-schedule with adaptive mode (Default).
Signed-off-by: Pavan Nikhilesh
---
app/test-eventdev/evt_common
From: Pavan Nikhilesh
Add device level and port level pre-schedule
support for cnxk eventdev.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 10 --
doc/guides/eventdevs/features/cnxk.ini | 1 +
drivers/event/cnxk/cn10k_eventdev.c| 19 +-
From: Pavan Nikhilesh
Enable event pre-scheduling if supported by the event device.
Signed-off-by: Pavan Nikhilesh
---
examples/eventdev_pipeline/pipeline_worker_generic.c | 6 ++
examples/eventdev_pipeline/pipeline_worker_tx.c | 6 ++
examples/ipsec-secgw/event_helper.c
From: Pavan Nikhilesh
Add a new eventdev API to provide a hint to the eventdev PMD to
pre-schedule the next event into the event port, without releasing
the current flow context.
Event device that support this feature advertises the capability
using the RTE_EVENT_DEV_CAP_PRESCHEDULE_EXPLICIT capa
From: Pavan Nikhilesh
Event pre-scheduling improves scheduling performance by assigning events
to event ports in advance when dequeues are issued.
The dequeue operation initiates the pre-schedule operation, which completes
in parallel without affecting the dequeued event flow contexts and
dequeue
From: Pavan Nikhilesh
Some event devices allow pre-schedule types to be modified at
runtime on an event port.
Add `RTE_EVENT_DEV_CAP_PER_PORT_PRESCHEDULE` capability
to indicate that the event device supports this feature.
Add `rte_event_port_preschedule_modify()` API to modify the
pre-schedule
From: Pavan Nikhilesh
Event pre-scheduling improves scheduling performance by assigning events
to event ports in advance when dequeues are issued.
This series introduces various types and levels of pre-scheduling to the
eventdev library.
pre-scheduling Types:
* RTE_EVENT_PRESCHEDULE_NONE: No pr
With functions that return a data structure, the application must
check the return value since the data structure contents will
be undefined in case of error.
Signed-off-by: Stephen Hemminger
---
lib/ethdev/rte_ethdev.h | 34 +-
1 file changed, 21 insertions(+), 1
The mac compare must check return value from rte_eth_dev_info_get
before using the dev_info information.
Signed-off-by: Stephen Hemminger
---
lib/ethdev/rte_class_eth.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/ethdev/rte_class_eth.c b/lib/ethdev/rte_class_eth.c
The return status of link is undefined if call to rte_eth_link_get
returns an error.
Signed-off-by: Stephen Hemminger
---
examples/qos_sched/init.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c
index 32964
The rte_eth_dev_info_get and rte_eth_link_get functions may return
an error, and in that case the information structure is undefined.
The port is valid check is not needed, that can be handled by
rte_eth_dev_info_get checks.
Signed-off-by: Stephen Hemminger
---
examples/pipeline/cli.c | 7 --
The ethdev_info is only valid if rte_eth_dev_info_get returns success.
Fixes: 5194299d6ef5 ("examples/ntb: support more functions")
Cc: xiaoyun...@intel.com
Signed-off-by: Stephen Hemminger
---
examples/ntb/ntb_fwd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/example
Need to check return value from rte_eth_dev_info_get.
Signed-off-by: Stephen Hemminger
---
examples/l3fwd-graph/main.c | 12 ++--
examples/l3fwd/l3fwd_fib.c | 16
examples/l3fwd/l3fwd_lpm.c | 14 ++
3 files changed, 32 insertions(+), 10 deletions(-)
diff -
If device does not support reading registers then call to
rte_eth_dev_get_reg_info will return an error.
This fixes compiler warning when warn unused result is set.
Signed-off-by: Stephen Hemminger
---
examples/ethtool/lib/rte_ethtool.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
The data in rte_eth_dev_info is undefined if rte_eth_dev_info_get
returns an error. Handle the errors the same as previous error.
Signed-off-by: Stephen Hemminger
---
app/graph/ethdev.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/app/graph/ethdev.c b
Handle errors from rte_eth_dev_info_get in the same manner
as other places in this file.
Signed-off-by: Stephen Hemminger
---
drivers/net/memif/rte_eth_memif.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net/memif/rte_eth_memif.c
b/drivers/net/memif
The patch to check return value of rte_eth_dev_info_get
added a duplicate call in one spot.
Fixes: 773392553bed ("app: check status of getting ethdev info")
Signed-off-by: Stephen Hemminger
---
app/test/test_link_bonding_rssconf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/app/test/test_
Several places flagged by Coverity and Codeql are from code that
calls rte_eth_dev_info_get() but does not check the return value.
If rte_eth_dev_info_get() returns an error, the device info is garbage.
This patch series uses the function attribute to force code
to check the result or there will b
Hi Gowrishankar,
> -Original Message-
> From: Gowrishankar Muthukrishnan
> Sent: Friday, October 4, 2024 9:26 AM
> To: dev@dpdk.org; Dooley, Brian
> Cc: Anoob Joseph ; Richardson, Bruce
> ; jer...@marvell.com;
> fanzhang@gmail.com; Kusztal, ArkadiuszX
> ; Ji, Kai ; jack.bond-
> pres.
Hi Gowrishankar,
> -Original Message-
> From: Gowrishankar Muthukrishnan
> Sent: Friday, October 4, 2024 9:26 AM
> To: dev@dpdk.org; Dooley, Brian ; Gowrishankar
> Muthukrishnan
> Cc: Anoob Joseph ; Richardson, Bruce
> ; jer...@marvell.com;
> fanzhang@gmail.com; Kusztal, ArkadiuszX
>
On Fri, 04 Oct 2024 13:54:42 +0200
"Robin Jarry" wrote:
> Stephen Hemminger, Oct 04, 2024 at 01:12:
> > On Tue, 1 Oct 2024 10:17:26 +0200
> > Robin Jarry wrote:
> >
> >> Replace all address size and max depth macros with common ones from
> >> rte_ip6.h.
> >>
> >> Signed-off-by: Robin Jarry
On Fri, 15 Dec 2023 17:26:32 +
Euan Bourke wrote:
> Update to the l3fwd-power example application to call the arg parser
> library for its 'combined core string parser' instead of implementing its
> own corelist parser. The default_type passed into the function call is
> a corelist.
>
> Sign
On Thu, 11 May 2023 22:59:57 +0800
suntianyuan wrote:
> The rte_vhost_driver_unregister() and vhost_user_read_cb() can be
> called at the same time by 2 threads. reconn may be added back to
> reconn_list by vhost_user_read_cb() after rte_vhost_driver_unregister()
> removed from reconn_list. Then
On Thu, 6 Jul 2023 16:36:05 -0400
David Young wrote:
> This patch updates the FreeBSD DPDK installation guide to detail
> how users can find and install specific versions of DPDK using the
> pkg package manager. The prior instructions did not highlight
> 'dpdk' is an alias and may not always po
> Hello guys,
>
> On Tue, Aug 6, 2024 at 12:28 PM Gagandeep Singh wrote:
> >
> > From: Jun Yang
> >
> > Output debug information according to various modes.
> >
> > Signed-off-by: Jun Yang
> > ---
> > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 87 +++--
> > 1 file changed, 6
1 - 100 of 263 matches
Mail list logo