Replace keeping PRNG state in a RTE_MAX_LCORE-sized static array of
cache-aligned and RTE_CACHE_GUARDed struct instances with keeping the
same state in a more cache-friendly lcore variable.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Konstantin Ananyev
--
RFC v3:
* Remo
Replace static array of cache-aligned structs with an lcore variable,
to slightly benefit code simplicity and performance.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Konstantin Ananyev
--
PATCH v6:
* Update FOREACH invocation to match new API.
RFC v3:
* Replace for l
Add functional test suite to exercise the API.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
--
PATCH v6:
* Update FOREACH invocations to match new API.
RFC v5:
* Adapt tests to reflect the removal of the GET() and SET() macros.
RFC v4:
* Check all lcore id's values for all var
Keep per-lcore power intrinsics state in a lcore variable to reduce
cache working set size and avoid any CPU next-line-prefetching causing
false sharing.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Konstantin Ananyev
---
lib/eal/x86/rte_power_intrinsics.c | 17 +++
This patch set introduces a new API for static
per-lcore id data allocation.
Please refer to the API documentation for both a
rationale for this new API, and a comparison to the alternatives
available.
The adoption of this API would affect many different DPDK modules, but
the author updated onl
Introduce DPDK per-lcore id variables, or lcore variables for short.
An lcore variable has one value for every current and future lcore
id-equipped thread.
The primary use case is for statically allocating
small, frequently-accessed data structures, for which one instance
should exist for each l
Add basic micro benchmark for lcore variables, in an attempt to assure
that the overhead isn't significantly greater than alternative
approaches, in scenarios where the benefits aren't expected to show up
(i.e., when plenty of cache is available compared to the working set
size of the per-lcore dat
On 3. 9. 2024 21:49, Dean Marx wrote:
On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš
wrote:
The scatter Rx offload capability is needed for the pmd_buffer_scatter
test suite. The command that retrieves the capability is:
show port rx_offload capabilities
The command also re
On Wed, 18 Sep 2024 15:18:04 +0800
fengchengwen wrote:
> > +/* Parse the all arguments looking for log related ones */
> > +int
> > +eal_log_level_parse(int argc, char * const argv[])
> > +{
> > + struct internal_config *internal_conf =
> > eal_get_internal_configuration();
> > + int option_
On Wed, 18 Sep 2024 09:31:19 +0100
Bruce Richardson wrote:
> On Wed, Sep 18, 2024 at 01:51:18AM +, bugzi...@dpdk.org wrote:
> >[1]Stephen Hemminger changed [2]bug 1547
> >
> > What Removed Added
> >Status UNCONFIRMED RESOLVED
> >Resolution --- INVALID
>
Have rte_bit_[test|set|clear|assign|flip]() and rte_bit_atomic_*()
handle volatile-marked pointers.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Jack Bond-Preston
--
PATCH v3:
* Updated to reflect removed 'fun' parameter in __RTE_GEN_BIT_*()
(Jack Bond-Preston).
PATC
This patch set represent an attempt to improve and extend the RTE
bitops API, in particular for functions that operate on individual
bits.
All new functionality is exposed to the user as generic selection
macros, delegating the actual work to private (__-marked) static
inline functions. Public fun
Add atomic bit test/set/clear/assign/flip and
test-and-set/clear/assign/flip functions.
All atomic bit functions allow (and indeed, require) the caller to
specify a memory order.
Signed-off-by: Mattias Rönnblom
Acked-by: Morten Brørup
Acked-by: Tyler Retzlaff
Acked-by: Jack Bond-Preston
--
On Thu, Aug 22, 2024 at 1:31 PM Amit Prakash Shukla
wrote:
>
> > -Original Message-
> > From: pbhagavat...@marvell.com
> > Sent: Thursday, August 22, 2024 2:08 AM
> > To: Jerin Jacob ; Amit Prakash Shukla
> >
> > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula
> >
> > Subject: [PATCH] tes
On Wed, Sep 18, 2024 at 8:10 AM WanRenyong wrote:
>
> Add log macro to print runtime messages and trace functions.
>
> Signed-off-by: WanRenyong
>
> ---
>
> v3:
> * use RTE_LOG_LINE_PREFIX instead of rte_log
> ---
> drivers/net/xsc/xsc_ethdev.c | 11 +
> drivers/net/xsc/xsc_log.h| 46
From: Vamsi Attunuru
Some DMA controllers offer the ability to configure priority level
for the hardware command queues, allowing for the prioritization of
DMA command execution based on queue importance.
This patch introduces the necessary fields in the dmadev structures to
retrieve information
Some applications want to omit the trace feature.
Either to reduce the memory footprint, to reduce the exposed attack
surface, or for other reasons.
This patch adds an option in rte_config.h to include or omit trace in the
build. Trace is included by default.
Omitting trace works by omitting all
On Mon, Sep 16, 2024 at 4:20 PM Mattias Rönnblom wrote:
>
> On 2024-09-13 13:23, Jerin Jacob wrote:
> > On Fri, Sep 13, 2024 at 12:17 PM Mattias Rönnblom
> > wrote:
> >>
> >> On 2024-09-12 17:11, Jerin Jacob wrote:
> >>> On Thu, Sep 12, 2024 at 6:50 PM Mattias Rönnblom
> >>> wrote:
>
> >>
On 2024-09-18 13:15, David Marchand wrote:
On Tue, Sep 17, 2024 at 11:30 AM Mattias Rönnblom wrote:
On 2024-09-16 14:05, David Marchand wrote:
Hello,
On Tue, Sep 10, 2024 at 10:41 AM Mattias Rönnblom
wrote:
diff --git a/lib/acl/rte_acl_osdep.h b/lib/acl/rte_acl_osdep.h
index 3c1dc402ca..e4
From: Adel Belkhiri
Split the tracepoints rte_ethdev_trace_rx_burst and
rte_eth_trace_call_rx_callbacks into two separate ones
for empty and non-empty calls to avoid saturating
quickly the trace buffer.
Signed-off-by: Adel Belkhiri
---
.mailmap | 1 +
doc/guides/
From: Jeremy Spewock
Multiple test suites from the old DTS framework rely on being able to
consume and interpret the verbose output of testpmd. The new framework
doesn't have an elegant way for handling the verbose output, but test
suites are starting to be written that rely on it. This patch cre
From: Jeremy Spewock
v4:
* adjust name of OLFlags class to be PacketOffloadFlags
* change values in PacketOffloadFlags to match the ones in
rte_mbuf_core.h
* added documentation from rte_mbuf_core.h to flag values
* added documentation from rte_mbuf_ptype.h to the RtePTypes class
Test suite for verifying VLAN filtering, stripping, and insertion
functionality on Poll Mode Driver.
Depends-on: Patch-143966 ("dts: add VLAN methods to testpmd shell")
Signed-off-by: Dean Marx
Reviewed-by: Jeremy Spewock
---
dts/framework/config/conf_yaml_schema.json | 3 +-
dts/tests/TestS
The message already goes through logging, and does not need
to be printed on stderr. Message level should be ALERT
to match function name.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/eal/freebsd/
The rte_exit() output format confuses the timestamp and coloring
options. Change it to use be a single line with proper prefix.
Before:
[ 0.006481] EAL: Error - exiting with code: 1
Cause: [ 0.006489] Cannot init EAL: Permission denied
After:
[ 0.006238] EAL: Error - exiting with co
Windows does not have localtime_r but it does have a similar
function that can be used instead.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
---
lib/eal/windows/include/rte_os_shim.h | 10 ++
1 file changed, 10 insertions
The code to parse for log-level option should be same on
all OS variants.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
---
lib/eal/common/eal_common_options.c | 40 +++
lib/eal/common/eal_options.h
Improvements and unification of logging library.
This version works on all platforms: Linux, Windows and FreeBSD.
This is update to rework patch set. It adds several new features
to the console log output.
* Putting a timestamp on console output which is useful for
analyzing performance of
Having different prototypes on different platforms can lead
to lots of unnecessary workarounds. Looks like the version of
getopt used from windows was based on an older out of date
version from FreeBSD.
This patch changes getopt, getopt_long, etc to have the same const
attributes as Linux and Fre
"You touch it you own it"
Add myself as maintainer for log library.
Signed-off-by: Stephen Hemminger
Acked-by: Tyler Retzlaff
Acked-by: Morten Brørup
Acked-by: Chengwen Feng
Acked-by: Bruce Richardson
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINE
Like dmesg, colorize the log output (unless redirected to file).
Timestamp is green, the subsystem is in yellow and the message
is red if urgent, boldface if an error, and normal for info and
debug messages.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Ack
The syslog facility property is better handled in lib/log
rather than in eal. This also allows for changes to what
syslog flag means in later steps.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/eal/common/eal_common_option
In order for all log messages (including CPU mismatch) to
come out through the logging library, it must be initialized
as early in rte_eal_init() as possible on all platforms.
Where it was done before was likely historical based on
the support of non-OS isolated CPU's which required a shared
memor
This patch makes the log setup code common across all platforms.
Drops syslog support for now, will come back in later patch.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
---
app/test/test_eal_flags.c | 11 ++-
lib/eal/common/eal_common_option
Log to syslog only if option is specified. And if syslog is used
then normally only log to syslog, don't duplicate output.
Also enables syslog support on FreeBSD.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
app/test/test_eal_
This is useful for when decorating log output for console
or journal. Provide basic version in this patch.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
lib/log/log.c | 6 +-
lib/log/log_private.h | 9 +
2 f
If DPDK application is being run as a systemd service, then
it can use the journal protocol which allows putting more information
in the log such as priority and other information.
The use of journal protocol is automatically detected and
handled. Rather than having a dependency on libsystemd,
ju
Port over VLAN capabilities test suite from old DTS. This test
suite verifies that VLAN filtering, stripping, and header
insertion all function as expected. When a VLAN ID is in the
filter list, all packets with that ID should be forwarded
and all others should be dropped. While stripping is enable
When debugging driver or startup issues, it is useful to have
a timestamp on each message printed. The messages in syslog
already have a timestamp, but often syslog is not available
during testing.
There are multiple timestamp formats similar to Linux dmesg.
The default is time relative since star
Significant enough to add some documentation.
Signed-off-by: Stephen Hemminger
Acked-by: Morten Brørup
Acked-by: Bruce Richardson
Acked-by: Chengwen Feng
---
doc/guides/rel_notes/release_24_11.rst | 27 ++
1 file changed, 27 insertions(+)
diff --git a/doc/guides/rel_n
On 2024/9/18 23:05, Stephen Hemminger wrote:
> On Wed, 18 Sep 2024 15:37:49 +0800
> fengchengwen wrote:
>
>> ...
>>
>>> +
>>> +static enum {
>>> + LOG_TIMESTAMP_NONE = 0,
>>> + LOG_TIMESTAMP_TIME, /* time since start */
>>> + LOG_TIMESTAMP_DELTA,/* time since last message */
>>> +
On 2024/9/18 12:56, Stephen Hemminger wrote:
> The rte_exit() output format confuses the timestamp and coloring
> options. Change it to use be a single line with proper prefix.
>
> Before:
> [ 0.006481] EAL: Error - exiting with code: 1
> Cause: [ 0.006489] Cannot init EAL: Permission de
Acked-by: Chengwen Feng
On 2024/9/18 12:56, Stephen Hemminger wrote:
> This is useful for when decorating log output for console
> or journal. Provide basic version in this patch.
>
> Signed-off-by: Stephen Hemminger
> Acked-by: Morten Brørup
On 21. 8. 2024 17:02, Juraj Linkeš wrote:
The generation is done with Sphinx, which DPDK already uses, with
slightly modified configuration of the sidebar present in an if block.
DTS dependencies do not need to be installed, but there is the option to
install doc build dependencies with Poetr
On 2024/9/18 12:56, Stephen Hemminger wrote:
> When debugging driver or startup issues, it is useful to have
> a timestamp on each message printed. The messages in syslog
> already have a timestamp, but often syslog is not available
> during testing.
>
> There are multiple timestamp formats simila
Acked-by: Chengwen Feng
On 2024/9/18 12:56, Stephen Hemminger wrote:
> Log to syslog only if option is specified. And if syslog is used
> then normally only log to syslog, don't duplicate output.
> Also enables syslog support on FreeBSD.
>
> Signed-off-by: Stephen Hemminger
> Acked-by: Morten B
Acked-by: Chengwen Feng
On 2024/9/18 12:56, Stephen Hemminger wrote:
> Like dmesg, colorize the log output (unless redirected to file).
> Timestamp is green, the subsystem is in yellow and the message
> is red if urgent, boldface if an error, and normal for info and
> debug messages.
>
> Signed-
Acked-by: Chengwen Feng
On 2024/9/18 12:56, Stephen Hemminger wrote:
> Significant enough to add some documentation.
>
> Signed-off-by: Stephen Hemminger
> Acked-by: Morten Brørup
> ---
> doc/guides/rel_notes/release_24_11.rst | 15 +++
> 1 file changed, 15 insertions(+)
>
> diff
On 17. 9. 2024 17:22, Patrick Robb wrote:
Dean actually just came down with an illness. Since the changes in his
series are minimal (I see the only ones left are updating dts.rst and
the devcontainer json) I think that one of us at UNH should submit a
patch which is essentially a v2 of his ser
On 2024-09-17 18:29, Konstantin Ananyev wrote:
+#define LCORE_BUFFER_SIZE (RTE_MAX_LCORE_VAR * RTE_MAX_LCORE)
+
+static void *lcore_buffer;
+static size_t offset = RTE_MAX_LCORE_VAR;
+
+static void *
+lcore_var_alloc(size_t size, size_t align)
+{
+ void *handle;
+ void *value;
+
+
> -Original Message-
> From: Kevin Traynor
> Sent: Thursday, September 5, 2024 3:38 PM
> To: sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ; Ali
> Alnubani ; David Christensen ;
> Hemant Agrawal ; Ian Stokes
> ; Jerin Jacob ; John McNamara
> ; Ju-Hyoung Lee ; Kevin
> Traynor ; Luca
From: Vanshika Shukla
This series includes:
-> Fixes and enhancements for NXP DPAA2 drivers.
-> Upgrade with MC version 10.37
-> Enhancements in DPDMUX code
-> Fixes for coverity issues reported
V2 changes:
Fixed the broken compilation for clang in:
"net/dpaa2: dpdmux single flow/multipl
On 2024/9/18 15:28, David Marchand wrote:
> On Wed, Sep 18, 2024 at 8:10 AM WanRenyong wrote:
>> +static const struct rte_pci_id xsc_ethdev_pci_id_map[] = {
>> + { RTE_PCI_DEVICE(XSC_PCI_VENDOR_ID, XSC_PCI_DEV_ID_MS) },
> You need to null terminate this array with something like:
>
From: Vanshika Shukla
This patch adds PTP one-step timestamping support.
dpni_set_single_step_cfg() MC API is utilized with offset provided
to insert correction time on frame.
Signed-off-by: Vanshika Shukla
---
drivers/net/dpaa2/dpaa2_ethdev.c | 61 +++
drivers/net
From: Hemant Agrawal
This patch marks dpcon_close API as internal symbol and
also adds it into version map file
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/mc/fsl_dpcon.h | 3 ++-
drivers/bus/fslmc/version.map| 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/driv
From: Rohit Raj
Add rte_fslmc_close API to close all the DPAA2 devices while
closing the DPDK application.
Signed-off-by: Rohit Raj
---
drivers/bus/fslmc/bus_fslmc_driver.h | 3 +
drivers/bus/fslmc/fslmc_bus.c| 13
drivers/bus/fslmc/fslmc_vfio.c | 87 +++
From: Jun Yang
Create TX SG pool only for primary process and lookup
this pool in secondary process.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_ethdev.c | 46 +++-
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethde
From: Vanshika Shukla
This patch adds the support for DPDMUX_METHOD_C_VLAN_MAC method
which implements DPDMUX based on C-VLAN and MAC address.
Signed-off-by: Vanshika Shukla
---
drivers/net/dpaa2/dpaa2_mux.c | 59 +--
drivers/net/dpaa2/mc/fsl_dpdmux.h | 18 +
From: Hemant Agrawal
This patch add supports to dump dpdmux counters as they are required
to identify the reasons for packet drop in dpdmux.
Signed-off-by: Hemant Agrawal
Signed-off-by: Rohit Raj
---
drivers/net/dpaa2/dpaa2_mux.c | 84 +++
drivers/net/dpaa2/rte
From: Apeksha Gupta
This patch add proper debug info for check information of
max-pkt-len and configured params.
also store MTU
Signed-off-by: Apeksha Gupta
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_ethdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/d
From: Gagandeep Singh
This patch upgrades the MC version compaitbility to 10.37
Signed-off-by: Gagandeep Singh
Signed-off-by: Apeksha Gupta
---
doc/guides/platform/dpaa2.rst | 4 +-
drivers/bus/fslmc/mc/dpio.c | 94 -
drivers/bus/fslmc/mc/fsl_dpcon.h
From: Brick Yang
If SFP module is not connected to the port and flow control is
configured using flow control API, link will show DOWN even after
connecting the SFP module and fiber cable.
This issue cannot be reproduced if only SFP module is connected and
fiber cable is disconnected before conf
From: Jun Yang
This patch add support to check the DPAA platform type from
the applications.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_ethdev.c | 16 +---
drivers/net/dpaa2/dpaa2_flow.c| 5 ++---
drivers/net/dpaa2/rte_pmd_dpaa2.h | 4
drivers/net/dpaa2/version
From: Jun Yang
Ignore reserved bits of BMan acquire response number.
Signed-off-by: Jun Yang
---
drivers/bus/fslmc/qbman/qbman_portal.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c
b/drivers/bus/fslmc/q
From: Rohit Raj
This patch add support to update the duplex value along with
link status and link speed after setting the link UP.
Signed-off-by: Rohit Raj
---
drivers/net/dpaa2/dpaa2_ethdev.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/net/dpaa
From: Jun Yang
IOVA mode should not be configured with CFLAGS because
1) User can perform "--iova-mode" to configure IOVA.
2) IOVA mode is determined by negotiation between multiple devices.
Eal is in VA mode only when all devices support VA mode.
Hence:
1) Remove RTE_LIBRTE_DPAA2_USE_PHYS_IO
From: Rohit Raj
Fix Issues reported by coverity (NXP Internal Coverity)
Signed-off-by: Rohit Raj
---
drivers/bus/fslmc/qbman/qbman_debug.c | 49 +--
1 file changed, 32 insertions(+), 17 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/qbman_debug.c
b/drivers/bus/fslm
From: Jun Yang
MC VFIO is not registered into RTE VFIO. Primary process registers
MC vfio mp action for secondary process to request.
VFIO/Container handlers are provided via CMSG.
Primary process is responsible to connect MC VFIO group to container.
In addition, MC VFIO code is refactored accor
From: Jun Yang
Get vfio group fd directly from file system instead of
from RTE API to avoid conflicting with PCIe VFIO.
FSL MC VFIO should have it's own logic which doe NOT depend on
RTE VFIO.
Signed-off-by: Jun Yang
---
drivers/bus/fslmc/fslmc_vfio.c | 88 ++
d
From: Jun Yang
Create dpaa2 device with object instead of object ID.
Assign each dpaa2 object with it's container.
Signed-off-by: Jun Yang
---
drivers/bus/fslmc/bus_fslmc_driver.h | 39
drivers/bus/fslmc/fslmc_vfio.c | 3 +-
drivers/bus/fslmc/portal/dpaa
From: Jun Yang
Remove unused GITS translator VFIO mapping.
Signed-off-by: Jun Yang
---
drivers/bus/fslmc/fslmc_vfio.c | 50 --
1 file changed, 50 deletions(-)
diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
index fe18429f42..733423f
From: Rohit Raj
Free vfio_group_fd if add group fails to avoid ersource leak
NXP coverity-id: 26661846
Signed-off-by: Rohit Raj
---
drivers/bus/fslmc/fslmc_vfio.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_v
From: Jun Yang
FAF parser extracts are used to identify protocol type
instead of extracts of previous protocol' type.
FAF starts from offset 2 to include user defined flags which
will be used for soft protocol distribution.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_flow.c | 475 +
From: Jun Yang
export DPAA2_PRINT_RX_PARSER_RESULT=1 is used to dump
RX parser result and frame attribute flags generated by
hardware parser and soft parser.
The parser results are converted to big endian described in RM.
The areas set by soft parser are dump as well.
Signed-off-by: Jun Yang
--
From: Jun Yang
Declare rte_fslmc_vfio_mem_dmamap and rte_fslmc_vfio_mem_dmaunmap
in bus_fslmc_driver.h for external usage.
Signed-off-by: Jun Yang
---
drivers/bus/fslmc/bus_fslmc_driver.h | 7 ++-
drivers/bus/fslmc/fslmc_bus.c| 2 +-
drivers/bus/fslmc/fslmc_vfio.c
From: Rohit Raj
Since error code was being set to 0 in case of error which is a valid
fd, it caused memory leak issue.
This issue have been fixed by changing zero to a valid non fd error.
CID: 26661848
Signed-off-by: Rohit Raj
---
drivers/bus/fslmc/fslmc_vfio.c | 19 ++-
1 file
From: Rohit Raj
Remove miss flow id macro name to DPNI_FS_MISS_DROP since its
conflicting with enum. Also, set default miss flow id to 0.
Signed-off-by: Rohit Raj
---
drivers/net/dpaa2/dpaa2_flow.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2
From: Jun Yang
Configure gtp flow to support RSS and FS.
Check FAF of parser result to identify GTP frame.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_flow.c | 170 ++---
1 file changed, 137 insertions(+), 33 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa
From: Jun Yang
Support combination of RAW extract and header extracts.
RAW extract can start from any absolute offset.
TBD: relative offset support.
To support relative offset of previous L3 protocol item,
extracts should be expanded to identify if the frame is:
vlan or none-vlan.
To support re
From: Jun Yang
Control flow by protocols inside tunnel.
The tunnel flow items applied by application are in order from
outer to inner. The inner items start from tunnel item, something
like vxlan, GRE etc.
For example:
flow create 0 ingress pattern ipv4 / vxlan / ipv6 / end
actions pf /
From: Jun Yang
Extracts from vxlan header for distribution.
The vxlan header is set by soft parser code in
soft parser context located from offset 43 of parser results:
vxlan protocol is identified by vxlan bit of frame attribute flags.
The parser result extracts are added for this functionali
From: Jun Yang
Soft parser extracts ECPRI header and message to specified
areas of parser result.
Flow is classified according to the ECPRI extracts from praser result.
This implementation supports ECPRI over ethernet/vlan/UDP and various
types/messages combinations.
Signed-off-by: Jun Yang
---
From: Jun Yang
Access sp instruction area to check if sp is loaded.
Signed-off-by: Jun Yang
Signed-off-by: Vanshika Shukla
---
drivers/net/dpaa2/dpaa2_ethdev.c | 4 ++
drivers/net/dpaa2/dpaa2_ethdev.h | 2 +
drivers/net/dpaa2/dpaa2_flow.c | 88
3 files cha
From: Rohit Raj
Change qbman_eq_desc name to avoid redefining same variable.
Signed-off-by: Rohit Raj
---
drivers/bus/fslmc/qbman/qbman_portal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c
b/drivers/bus/fslmc/qbman/qbman_porta
From: Jun Yang
Convert VA to IOVA and check IOVA before sending parameter
to MC. Invalid IOVA of parameter sent to MC will cause system
stuck and not be recovered unless power reset.
IOVA is not checked in data path because:
1) MC is not involved and error can be recovered.
2) IOVA check impacts
From: Jun Yang
Support AH/ESP flow with SPI field.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_flow.c | 528 -
1 file changed, 385 insertions(+), 143 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_flow.c b/drivers/net/dpaa2/dpaa2_flow.c
index 7207547
From: Apeksha Gupta
store drop priority in mbuf from fd.
Signed-off-by: Sachin Saxena
Signed-off-by: Apeksha Gupta
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 +
drivers/net/dpaa2/dpaa2_rxtx.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw
From: Gagandeep Singh
driver was reserving memory in an array for 8 queues only,
but it can support many more queues configuration.
This patch fixes the memory corruption issue by defining the
queue array with correct size.
Fixes: 72100f0dee21 ("net/dpaa2: support level 2 in traffic management"
From: Jun Yang
Add flow supported by soft parser to verification list.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_flow.c | 86 --
1 file changed, 52 insertions(+), 34 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_flow.c b/drivers/net/dpaa2/dpaa2_fl
From: Sachin Saxena
compatible with MC v10.36 or later
Signed-off-by: Sachin Saxena
---
drivers/net/dpaa2/dpaa2_mux.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_mux.c b/drivers/net/dpaa2/dpaa2_mux.c
index 4390be9789..3c9e155b23 10064
From: Gagandeep Singh
Add software based taildrop support.
Signed-off-by: Gagandeep Singh
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +-
drivers/net/dpaa2/dpaa2_rxtx.c | 24 +++-
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/fslm
From: Jun Yang
Support multiple extractions as well as hardware descriptions
instead of hard code.
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_ethdev.h | 1 +
drivers/net/dpaa2/dpaa2_flow.c | 22 --
drivers/net/dpaa2/dpaa2_mux.c| 395 ---
dr
From: Vanshika Shukla
This patch adds the support for DPDMUX_METHOD_C_VLAN_MAC method
which implements DPDMUX based on C-VLAN and MAC address.
Signed-off-by: Vanshika Shukla
---
drivers/net/dpaa2/dpaa2_mux.c | 2 +-
drivers/net/dpaa2/mc/fsl_dpdmux.h | 16
2 files changed,
From: Vanshika Shukla
This patch adds support for adding rules in DPDMUX
to split VLAN traffic based on VLAN ids.
Signed-off-by: Vanshika Shukla
---
drivers/net/dpaa2/dpaa2_mux.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_mux.c b/drivers/n
From: Jun Yang
Export API in rte_pmd_dpaa2.h
Signed-off-by: Jun Yang
---
drivers/net/dpaa2/dpaa2_ethdev.c | 24
drivers/net/dpaa2/dpaa2_ethdev.h | 4
drivers/net/dpaa2/rte_pmd_dpaa2.h | 3 +++
drivers/net/dpaa2/version.map | 1 +
4 files changed, 32 inser
101 - 195 of 195 matches
Mail list logo