Exposing POSIX symbols could break consumer POSIX compatibility code.
Export POSIX names for commonly used symbols only to internal consumers.
Move definitions used only by EAL inside EAL.
Replace deprecated [r]index() with standard str[r]chr().
Signed-off-by: Dmitry Kozlyuk
---
doc/guides/rel_n
DPDK code often relies on functions that are not standard C,
but are found on all platforms, even if by slightly different names.
Some headers provide macros or inline difinitions for such symbols.
However, when placed in public headers, these symbols are unnecessarily
exposed to DPDK consumers.
D
POSIX asprintf() is unavailable on Windows.
Add eal_asprintf() wrapper for EAL internal use.
On Windows it's a function, on Unix it's a macro for asprintf().
Signed-off-by: Dmitry Kozlyuk
Acked-by: Khoa To
---
lib/librte_eal/common/eal_common_lcore.c | 2 +-
lib/librte_eal/common/eal_comm
POSIX sleep(3) is missing from Windows.
Add generic rte_thread_sleep() to suspend current OS thread.
Signed-off-by: Dmitry Kozlyuk
Acked-by: Khoa To
---
lib/librte_eal/common/eal_common_timer.c | 5 +++--
lib/librte_eal/include/rte_thread.h | 11 +++
lib/librte_eal/rte_eal_exports
On Windows, rte_os.h contains a small POSIX compatibility set of
functions and macros. Exposing it from EAL can break consumer own POSIX
compatibility layer and is against standards in general.
Hide these symbols from external consumers, while keeping them available
for DPDK code.
v4:
* Instea
Add support for forced ethernet speed setting.
Currently testpmd tries to configure the Ethernet port in autoneg mode.
It is not possible to set the Ethernet port to a specific speed while
starting testpmd. In some cases capability to configure a forced speed
for the Ethernet port during initializa
> -Original Message-
> From: Matan Azrad
> Sent: Thursday, March 4, 2021 6:34 AM
> To: Dumitrescu, Cristian ; Li Zhang
> ; Dekel Peled ; Ori Kam
> ; Slava Ovsiienko
> Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon
> ; Raslan Darawsheh ;
> m...@smartsharesystems.com; ajit.khapa...@broadc
Add Marvell OCTEON CNXK mempool documentation.
Signed-off-by: Jerin Jacob
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Ashwin Sekhar T K
---
MAINTAINERS | 6 +++
doc/guides/mempool/cnxk.rst | 84
doc/guides/mempool/index.rst | 1 +
do
Add support for asynchronous batch enqueue/dequeue
of pointers from NPA pool.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_mempool_ops.c | 258 ++-
drivers/mempool/cnxk/cnxk_mempool.c | 19 +-
drivers/mempool/cnxk/cnxk_mempool.h | 3 +-
drivers
Add base cn10k mempool ops.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_mempool_ops.c | 46
drivers/mempool/cnxk/meson.build | 3 +-
2 files changed, 48 insertions(+), 1 deletion(-)
create mode 100644 drivers/mempool/cnxk/cn10k_mempool_ops.c
Add mempool ops specific to cn9k.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn9k_mempool_ops.c | 90 +
drivers/mempool/cnxk/meson.build| 3 +-
2 files changed, 92 insertions(+), 1 deletion(-)
create mode 100644 drivers/mempool/cnxk/cn9k_mempool_o
Add generic cnxk mempool ops.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.h | 16 +++
drivers/mempool/cnxk/cnxk_mempool_ops.c | 173
drivers/mempool/cnxk/meson.build| 3 +-
3 files changed, 191 insertions(+), 1 deletion(-)
creat
Add the meson based build infrastructure along
with mempool device probe.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.c | 212
drivers/mempool/cnxk/cnxk_mempool.h | 12 ++
drivers/mempool/cnxk/meson.build| 29
drivers/mempool/cnx
This patchset adds the mempool/cnxk driver which provides the support for the
integrated mempool device found in Marvell CN10K SoC.
The code includes mempool driver functionality for Marvell CN9K SoC as well,
but right now it is not enabled. The future plan is to deprecate existing
mempool/octeont
On Sun, Feb 14, 2021 at 05:16:11AM +0300, Dmitry Kozlyuk wrote:
> Many PMDs use POSIX gettimeofday(). Add rte_time_get_us() function
> to obtain current time with microsecond precision on all platforms.
>
> Signed-off-by: Dmitry Kozlyuk
> ---
> lib/librte_eal/include/rte_time.h| 17 +
On 3/5/2021 4:17 AM, Ajit Khaparde wrote:
Add support for forced ethernet speed setting.
Currently testpmd tries to configure the Ethernet port in autoneg mode.
It is not possible to set the Ethernet port to a specific speed while
starting testpmd. In some cases capability to configure a forced s
On 2021/3/4 2:47, 谢华伟(此时此刻) wrote:
Actually, igb_uio sysfs attribute exports exactly the same thing as standard
PCI sysfs, i.e, pci_dev->resource[] in kernel source code
This patch refactors these messy things, and uses standard PCI sysfs attribute.
Hi David:
My fault. I set vim cc=80, so t
On Fri, Mar 05, 2021 at 01:54:34PM +, Burakov, Anatoly wrote:
> On 05-Mar-21 7:50 AM, David Marchand wrote:
> > On Fri, Jan 15, 2021 at 8:33 AM Nithin Dabilpuram
> > wrote:
> > >
> > > In order to save DMA entries limited by kernel both for externel
> > > memory and hugepage memory, an attemp
On 3/4/2021 8:33 PM, Ed Czeck wrote:
- New PCIe IDs using net/ark driver
Is this new devices support requires any documentation update?
Additional to the device documentation update, what do you think putting a
release notes update to document new device support?
- Update Version IDs and s
On 3/4/2021 8:33 PM, Ed Czeck wrote:
In this commit we generalize the movement of user-specified
meta data between mbufs and FPGA AXIS tuser fields using
user-defined hook functions.
- Previous use of PMD dynfields are removed
- Hook function added to ark_user_ext
- Add hook function calls in rx
This patch addresses the issue with strtoul base
Fixes: 5074e1d55107 ("examples/pipeline: add configuration commands")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Churchill Khangar
Acked-by: Cristian Dumitrescu
---
examples/pipeline/cli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 3 +-
drivers/crypto/qat/qat_sym.c | 64
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
--
v2:
* fix minor building and style issues
Adam Dybkowski (1):
crypto/qat: support Single-Pass GMAC on QAT GEN3
drivers/common/qat/qat_qp.c
On 05-Mar-21 7:50 AM, David Marchand wrote:
On Fri, Jan 15, 2021 at 8:33 AM Nithin Dabilpuram
wrote:
In order to save DMA entries limited by kernel both for externel
memory and hugepage memory, an attempt was made to map physically
contiguous memory in one go. This cannot be done as VFIO IOMMU
From: Pavan Nikhilesh
Add TIM LF IRQ register and un-register functions.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_tim.c | 51 ++
drivers/common/cnxk/roc_tim_irq.c | 104 +
d
From: Pavan Nikhilesh
Add TIM device init, fini which are used to attach TIM LF
resources to the RVU PF/VF and TIM LF alloc and free.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_platform.c |
From: Pavan Nikhilesh
Add sso debug dump support. This dumps all SSO LF register values
to a given file handle.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_sso.h | 4 +++
drivers/common/cnxk/roc_sso_debug.c | 68
From: Pavan Nikhilesh
Add support to registering and un-registering SSO HWS and
HWGRP IRQs.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_sso.c | 41 ++
drivers/common/cnxk/roc_sso_irq.c | 164 +
From: Pavan Nikhilesh
Add SSO HWGRP interface for configuring XAQ pool, setting priority
and internal HW buffer limits for each HWGRP.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c | 110
drivers/common/cnxk/roc_sso.h | 21 ++
From: Pavan Nikhilesh
Add SSO HWS interface for setting/unsetting links, retrieving
base address and nanoseconds to getwork timeout.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/roc_sso.c | 118 -
drivers/common/cnxk/roc_sso.h | 6 ++
d
From: Pavan Nikhilesh
Add SSO device init and fini which attach SSO LF resources to the
RVU PF/VF and SSO HWS and HWGRP LFs alloc, free.
Signed-off-by: Pavan Nikhilesh
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_idev.c
From: Kiran Kumar K
Adding support initialize and fini the npc. Further, adding APIs to
create and destroy the npc rules.
Signed-off-by: Kiran Kumar K
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_npc.c | 713
drivers/common/cnx
From: Kiran Kumar K
Adding npc parsing API support to parse different patterns and actions.
Based on the pattern and actions ltype values will be chosen and
mcam data will be configured at perticular offsets.
Signed-off-by: Kiran Kumar K
---
drivers/common/cnxk/meson.build | 1 +
drivers
From: Kiran Kumar K
Adding mcam utility functions like reading KEX and reserving and writing
mcam rules.
Signed-off-by: Kiran Kumar K
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_npc_mcam.c | 708 +
drivers/common/cnxk/roc_npc_priv
From: Kiran Kumar K
Adding NPC helper APIs to manage MCAM like pre allocating the mcam,
configuring the rules, shifting mcam rules and preparing the data for
mcam based on KEX.
Signed-off-by: Kiran Kumar K
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_npc_priv.h |
From: Kiran Kumar K
Adding initial npc support.
Signed-off-by: Kiran Kumar K
---
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_npc.h | 129 +
drivers/common/cnxk/roc_npc_priv.h | 381 +
drivers/common/cnxk/roc_platform.
Add support to dump TM HW registers and hierarchy on error.
This patch also adds support for misc utils such as API to
query TM HW resource availability, resource pre-allocation
and static priority support on root node.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h
Add support for dynamic node update of shaper profile,
RR quantum and also support to suspend or resume an active
TM node.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h| 10 ++
drivers/common/cnxk/roc_nix_tm_ops.c | 220 +++
drivers/c
Add TM helper API to estimate, alloc, assign, and free resources
for a NIX LF / ethdev.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_priv.h | 16 ++
drivers/common/cnxk/roc_nix_tm.c | 461 +
Add support to create internal TM default hierarchy and ratelimit
hierarchy and API to ratelimit SQ to a given rate. This will be
used by cnxk ethdev driver's tx queue ratelimit op.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h| 7 ++
drivers/common/cnxk/roc_nix_pr
Add support to enable or disable hierarchy along with
allocating node HW resources such as shapers and schedulers
and configuring them to match the user created or default
hierarchy.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h | 8 +
drivers/common/cnxk/roc_nix_
From: Satha Rao
Add support to add/delete/update shaper profile for
a given NIX. Also add support to walk through existing
shaper profiles.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix.h | 25 +
drivers/common/cnxk/roc_nix_priv.h
Add support to add/delete nodes in a hierarchy.
This patch also adds misc utils to get node name,
walk through nodes etc.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix.h | 42 +++
drivers/common/cnxk/roc_nix_priv.h | 14 +++
drivers
Add nix traffic management base support to init/fini node, shaper profile
and topology, setup SQ for a given user hierarchy or default internal
hierarchy.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/meson.build| 3 +
drivers/common/cnxk/roc_nix.c | 7 +
drivers/
From: Sunil Kumar Kori
Add support to create LSO formats for TCP segmentation offload
for IPv4/IPv6, tunnel and non-tunnel protocols. Tunnel protocol
support is for GRE and UDP based tunnel protocols.
This patch also adds other helper API to retrieve eeprom info
and configure Rx for different sw
From: Sunil Kumar Kori
Add support to enable/disable Rx/Tx flow control and pause
frame configuration on NIX.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h| 34 ++
drivers/common/cnxk/roc_nix_fc.c | 251
From: Sunil Kumar Kori
Add helper API to support VLAN filtering and stripping
on Rx and VLAN insertion on Tx.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_nix.h | 45
drivers/common/cnxk/roc_nix_vlan.c | 205
From: Jerin Jacob
Add support to dump NIX RQ, SQ and CQ contexts apart
from NIX LF registers.
Signed-off-by: Jerin Jacob
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h | 10 +
drivers/common/cnxk/roc_nix_debug.c | 806
From: Satha Rao
Add support for retrieving NIX extended stats that are
per NIX LF and per LMAC.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix.h| 18
drivers/common/cnxk/roc_nix_stats.c | 172 +
drivers/common/cnxk/roc_nix_xstats.h | 204 +++
From: Jerin Jacob
Add API to provide Rx and Tx stats for a given NIX.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h | 53
drivers/common/cnxk/roc_nix_stats.c | 239
drivers/common/c
From: Sunil Kumar Kori
Add support to enable/disable Rx and Tx PTP timestamping
support. Also provide API's to register ptp info callbacks
to get config change update from Kernel.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h |
From: Jerin Jacob
Add API's for default/non-default reta table setup,
key set/get, and flow algo setup for CN9K and CN10K.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h | 17 +++
drivers/common/cnxk/roc_nix_rss.c | 219
From: Vidya Sagar Velumuri
Add API to configure NIX block for inline IPSec.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_nix.c | 28
drivers/common/cnxk/roc_nix.h | 10 ++
drivers/common/cnxk/version.map | 1 +
3 files changed, 39 in
From: Sunil Kumar Kori
Add NIX specific NPC operations such as NPC mac address get/set,
mcast entry add/delete, promiscuous mode enable/disable etc.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/meson.build | 2 +
drivers/common/cnxk/roc_nix.h | 25 +
drivers/com
From: Sunil Kumar Kori
Add support to different MAC related operations such as
MAC address set/get, link set/get, link status callback,
etc.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h | 41 ++
drivers/common/cnxk/roc_ni
From: Jerin Jacob
This patch adds support to init/modify/fini NIX
SQ(send queue) for both CN9K and CN10K platforms.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/roc_nix.h | 19 ++
drivers/common/cnxk/roc_nix_queue.c | 358
drivers/common/cnxk/v
From: Jerin Jacob
Add nix Rx queue management API to init/modify/fini
RQ context and also setup CQ(completion queue) context.
Current support is both for CN9K and CN10K devices.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h | 5
From: Jerin Jacob
Add support to register NIX error and completion
queue IRQ's using base device class IRQ helper API's.
Signed-off-by: Jerin Jacob
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Harman Kalra
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_nix.c |
From: Jerin Jacob
Add base nix support as ROC(Rest of Chip) API which will
be used by generic ETHDEV PMD(net/cnxk).
This patch adds support to device init, fini, resource
alloc and free API which sets up a ETHDEV PCI device of either
CN9K or CN10K Marvell SoC.
Signed-off-by: Jerin Jacob
Signed
From: Ashwin Sekhar T K
Add support for npa lf init/fini callbacks.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 27 +++
drivers/common/cnxk/roc_npa.h | 8
drivers/common/cnxk/version.map | 2 ++
3 files changed, 37 insertions(+)
From: Ashwin Sekhar T K
Add APIs to do allocations/frees in batch from
NPA pool.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h | 217 ++
1 file changed, 217 insertions(+)
diff --git a/drivers/common/cnxk/roc_npa.h b/drivers/common/c
From: Ashwin Sekhar T K
Add APIs to read NPA performance counters.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 50 +
drivers/common/cnxk/roc_npa.h | 37 ++
drivers/common/cnxk/version.map | 1 +
3
From: Ashwin Sekhar T K
Add APIs to alloc/free in bulk from NPA pool.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h | 229 ++
1 file changed, 229 insertions(+)
diff --git a/drivers/common/cnxk/roc_npa.h b/drivers/common/cnxk/roc_npa
From: Ashwin Sekhar T K
Add APIs for creating, destroying, modifying
NPA pools.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 421
drivers/common/cnxk/roc_npa.h | 146 ++
drivers/common/cnxk/version.map | 5 +
3
From: Ashwin Sekhar T K
Add NPA debug APIs.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_npa.h | 4 +
drivers/common/cnxk/roc_npa_debug.c | 184
drivers/common/cnxk/roc_npa_irq.c | 1 +
From: Ashwin Sekhar T K
Add support for NPA IRQs.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/meson.build| 1 +
drivers/common/cnxk/roc_npa.c | 7 +
drivers/common/cnxk/roc_npa_irq.c | 297 +
drivers/common/cnxk/roc_npa_priv.h |
From: Ashwin Sekhar T K
Add NPA init and fini functions.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_dev.c | 11 ++
drivers/common/cnxk/roc_dev_priv.h | 6 +
drivers/common/cnxk
From: Jerin Jacob
Add VF specific handling such as BAR4 setup, forwarding
VF mbox messages to AF and vice-versa, VF FLR handling
etc.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/roc_dev.c | 857 -
drivers/common/cnxk/roc_dev_priv.h | 42 ++
2 fi
From: Jerin Jacob
Introduce 'dev' class to hold cnxk PCIe device specific
information and operations.
All PCIe drivers(ethdev, mempool, cryptodev and eventdev) of cnxk
inherits this base object to avail the common functionalities such
as mailbox creation, interrupt registration, LMT setup, VF me
From: Jerin Jacob
This patch adds mailbox infra API's to communicate with Kernel AF
driver. These API's will be used by all the other cnxk drivers
for mbox init/fini, send/recv functionality.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_de
From: Jerin Jacob
The admin function driver sits in Linux kernel as mailbox
server. The DPDK AF mailbox client, send the message to mailbox
server to complete the administrative task such as get mac
address.
This patch adds mailbox request and response definition of
existing mailbox defined betw
From: Jerin Jacob
Add interrupt helper API's in common code to register and
unregister for specific interrupt vectors. These API's
will be used by all cnxk drivers.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/meson.build| 3 +-
drivers/common/cnxk/roc_dev_priv.h | 14 +++
drivers
From: Jerin Jacob
Add routines for SoC model identification and HW IO handling
routines specific to CN9K and CN10K Marvell SoC's.
These are based on arm64 ISA and behaviour specific to
Marvell SoC's.
Signed-off-by: Jerin Jacob
---
drivers/common/cnxk/meson.build | 4 +-
drivers/common/c
From: Jerin Jacob
Add meson build infrastructure along with HW definition
header file.
This patch also adds cross-compile configs for arm
for CN9K series and CN10K series of Marvell SoC's.
Signed-off-by: Jerin Jacob
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
Signed-off-
From: Pavan Nikhilesh
Add config support to cross compile for Marvell CN10K SoC.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Pavan Nikhilesh
---
config/arm/arm64_cn10k_linux_gcc | 20
1 file changed, 20 insertions(+)
create mode 100644 config/arm/arm64_cn10k_linux_gc
This patchset adds initial support for common code for
Marvell CN10K SoC. Based on this common 'cnxk' driver, new PMD's
such as 'net/cnxk', 'mempool/cnxk', 'event/cnxk' etc, will be added
later on.
Initially 'cnxk' drivers will only support Marvell CN106XX SoC. In future,
when code is ready, CN9
Each sw_tx_ring entry was of type struct qede_tx_entry:
struct qede_tx_entry {
struct rte_mbuf *mbuf;
uint8_t flags;
};
Leaving the unused flags member here has a few performance implications.
First, each qede_tx_entry takes up more memory which has caching
implications as less entr
The member page_offset is always zero. Having this in the qede_rx_entry
makes it larger than it needs to be and this has cache performance
implications so remove that field. In addition, since qede_rx_entry only
has an rte_mbuf*, remove the definition of qede_rx_entry.
Signed-off-by: Balazs Nemeth
While handling the current mbuf, pull the next next mbuf into the cache.
Note that the last four mbufs pulled into the cache are not handled, but
that doesn't matter.
Signed-off-by: Balazs Nemeth
---
drivers/net/qede/qede_rxtx.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/ne
Ensure that, while ecore_chain_get_cons_idx is running, txq->hw_cons_ptr
is prefetched. This shows a slight performance improvement.
Signed-off-by: Balazs Nemeth
---
drivers/net/qede/qede_rxtx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/q
rte_pktmbuf_free_bulk calls rte_mempool_put_bulk with the number of
pending packets to return to the mempool. In contrast, rte_pktmbuf_free
calls rte_mempool_put that calls rte_mempool_put_bulk with one object.
An important performance related downside of adding one packet at a time
to the mempool
The next patch will introduce the use of rte_pktmbuf_free_bulk.
Signed-off-by: Balazs Nemeth
---
drivers/net/qede/qede_rxtx.c | 51
1 file changed, 23 insertions(+), 28 deletions(-)
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
ind
The ring txq->sw_tx_ring is managed with txq->sw_tx_cons. As long as
txq->sw_tx_cons is correct, there is no need to check if
txq->sw_tx_ring[idx] is null explicitly.
Signed-off-by: Balazs Nemeth
---
drivers/net/qede/qede_rxtx.c | 27 +++
1 file changed, 11 insertions(+),
Calling ecore_chain_get_cons_idx repeatedly is slower than calling it
once and using the result for the remainder of qede_process_tx_compl.
Signed-off-by: Balazs Nemeth
---
drivers/net/qede/qede_rxtx.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/d
This patch set optimizes qede_{rx,tx}_entry and introduces
rte_pktmbuf_free_bulk in qede_process_tx_compl. The overall performance
improvement depends on the use-case; in a physical-virtual-physical test
on a ThunderX2 99xx system with two SMT threads used in ovs,
and two cores used in a vm, an imp
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 3 +-
drivers/crypto/qat/qat_sym.c | 64
Support to set PHY link mode by user defined.
Signed-off-by: Jiawen Wu
---
config/rte_config.h | 4 +
doc/guides/nics/txgbe.rst | 18 -
drivers/net/txgbe/base/txgbe_hw.c | 12 +++
drivers/net/txgbe/base/txgbe_phy.c | 116 +++-
drivers/
Read AN interrupt from misc, and do the AN configuration action.
When link status is down, PHY power should be restarted to config KR
mode again.
Signed-off-by: Jiawen Wu
---
drivers/net/txgbe/base/txgbe_hw.c | 4 +-
drivers/net/txgbe/base/txgbe_phy.c | 14 +++
drivers/net/txgbe/base/txg
Suppot to handle the interrupt of auto-negotiation, improve the
link training process of connecting with other switches.
Signed-off-by: Jiawen Wu
---
drivers/net/txgbe/base/txgbe_hw.c | 3 +
drivers/net/txgbe/base/txgbe_phy.c | 460 +++-
drivers/net/txgbe/base/txgbe_
Use some configuration to control the link setup flow, to adapt to
different NIC's construction. Use firmware version to control the impact
of firmware update. And fix some left bugs.
Signed-off-by: Jiawen Wu
---
config/rte_config.h | 7 ++
doc/guides/nics/txgbe.rst
This series update link process for backplane NICs.
And support to control AN training.
Jiawen Wu (5):
net/txgbe: update device ID
net/txgbe: update link setup process of backplane NICs
net/txgbe/base: support to handle backplane AN73 flow
net/txgbe: handle AN interrupt and link update
n
For more different devices, update device ID and subsystem id.
Signed-off-by: Jiawen Wu
---
drivers/net/txgbe/base/txgbe_devids.h | 44 ++---
drivers/net/txgbe/base/txgbe_hw.c | 55 ---
drivers/net/txgbe/base/txgbe_phy.c| 40 +++
dr
From: Hongbo Zheng
In testpmd, when we input "show config rxtx", we can see like this:
1: testpmd> show config rxtx
2: io packet forwarding packets/burst=32
3: nb forwarding cores=1 - nb forwarding ports=1
4: port 0: RX queue number: 1 Tx queue number: 1
5: Rx offloads=0x0 Tx offloads=
From: Huisong Li
The "fwd_config_setup()" function does release and apply for
memory of forwarding flows, and re-establish these streams when
rxq/txq or rxd/txd is changed. The function is also called by
"start_packet_forwarding()" when user executes "start" cmd.
All changes for rxq/txq or rxd/tx
From: Huisong Li
Currently, 'nb_fwd_lcores' value are both adjusted based on
'nb_fwd_streams' in rss/simple/icmp_echo_fwd_config_setup. But the
operation is lack for dcb_fwd_config_setup, which may lead to a
bad events where multiple polling threads operate on the same
queue. As a result, various
This series add two test bug fixes and a print style.
Hongbo Zheng (1):
app/testpmd: use of Rx/Tx in testpmd
Huisong Li (2):
app/testpmd: fix forwarding configuration when DCB test
app/testpmd: remove forwarding config from parsing Rx and Tx
app/test-pmd/cmdline.c | 106 ++
On 3/5/2021 5:36 AM, Hemant Agrawal wrote:
This patch updates the release notes for recently submitted changes.
Signed-off-by: Hemant Agrawal
Applied to dpdk-next-net/main, thanks.
On 3/5/2021 2:14 AM, Jiawen Wu wrote:
This series fix some bugs and remove unused functions.
v2:
- add fixes line in commit logs
Jiawen Wu (4):
net/txgbe: remove unused functions
net/txgbe: fix Rx missed packet counter
net/txgbe: update packet type
net/txgbe: fix the process of addi
在 2021/3/5 15:46, Li, Xiaoyun 写道:
Hi
Sorry, forgot to send this in last patchset.
-Original Message-
From: Lijun Ou
Sent: Friday, March 5, 2021 15:33
To: Yigit, Ferruh
Cc: Li, Xiaoyun ; dev@dpdk.org;
linux...@openeuler.org
Subject: [PATCH] app/testpmd: support Tx mbuf free on deman
From: Chengwen Feng
This patch support tx_done_cleanup command:
tx_done_cleanup port (port_id) (queue_id) (free_cnt)
Users must make sure there are no concurrent access to the same Tx
queue (like rte_eth_tx_burst, rte_eth_dev_tx_queue_stop and so on)
this command executed.
Signed-off-by: Chengw
1 - 100 of 109 matches
Mail list logo