Re: [dpdk-dev] [PATCH v10 1/2] bus/pci: use PCI standard sysfs entry to get PIO address

2021-03-08 Thread David Marchand
On Tue, Mar 9, 2021 at 7:23 AM 谢华伟(此时此刻) wrote: > > > On 2021/3/6 0:17, chris wrote: > > > > 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

Re: [dpdk-dev] [PATCH v8 0/9] ethdev: support SubFunction representor

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Tuesday, March 9, 2021 12:44 AM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso > >Subject: Re: [dpdk-dev] [PATCH v8 0/9] ethdev: support SubFunction representor > >On 3/4/2021 2:30 PM, Xueming L

Re: [dpdk-dev] [PATCH v10 1/2] bus/pci: use PCI standard sysfs entry to get PIO address

2021-03-08 Thread 谢华伟(此时此刻)
On 2021/3/6 0:17, chris wrote: 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 Davi

Re: [dpdk-dev] [PATCH v8 2/9] ethdev: support representor port list

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Tuesday, March 9, 2021 12:22 AM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; NBU-Contact-Thomas Monjalon >; declan.dohe...@intel.com >Subject: Re: [PATCH v8 2/9] ethdev: support representor

Re: [dpdk-dev] [PATCH v8 8/9] ethdev: representor iterator compare complete info

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Tuesday, March 9, 2021 12:19 AM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; NBU-Contact-Thomas Monjalon >; Ray Kinsella ; Neil Horman > >Subject: Re: [PATCH v8 8/9] ethdev: representor i

Re: [dpdk-dev] [PATCH v8 7/9] ethdev: new API to get representor info

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Tuesday, March 9, 2021 12:12 AM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; NBU-Contact-Thomas Monjalon >; Ray Kinsella ; Neil Horman > >Subject: Re: [PATCH v8 7/9] ethdev: new API to ge

[dpdk-dev] [Bug 599] netvsc PMD in multi-queue mode failed with 'invalid NVS resp len' error

2021-03-08 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=599 Ajit Khaparde (ajit.khapa...@broadcom.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-08 Thread Ajit Khaparde
On Sun, Mar 7, 2021 at 10:46 AM Ori Kam wrote: > > Hi > > > -Original Message- > > From: Thomas Monjalon > > Sent: Thursday, March 4, 2021 12:46 PM > > Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks > > > > 04/03/2021 11:00, Ori Kam: > > > From: Thomas Monjalon > > > > 28/

Re: [dpdk-dev] [PATCH v3] net/i40e: fix inputset field mask

2021-03-08 Thread Chen, LingliX
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Alvin Zhang > Sent: Monday, March 1, 2021 3:06 PM > To: Guo, Jia ; Xing, Beilei ; Zhang, > Qi Z ; Zhou, JunX W > Cc: dev@dpdk.org; Zhang, AlvinX ; > sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v3] net/i40e: fix in

[dpdk-dev] [PATCH] doc: fix formatting in testpmd user guide

2021-03-08 Thread Ajit Khaparde
Fix formatting in testpmd user guide for hairpin operation. Fixes: 01817b10d27c ("app/testpmd: change hairpin queues setup") Cc:sta...@dpdk.org Signed-off-by: Ajit Khaparde Cc: Bing Zhao Cc: Ori Kam --- doc/guides/testpmd_app_ug/run_app.rst | 12 +++- 1 file changed, 7 insertions(+),

Re: [dpdk-dev] [PATCH 2/4] net/ice: build on Windows

2021-03-08 Thread Kadam, Pallavi
Hi David On 3/4/2021 4:56 AM, David Marchand wrote: On Wed, Mar 3, 2021 at 10:27 PM Pallavi Kadam wrote: Add Intel ice PMD support on Windows. Remove #include sys/ioctl header file as it is not needed. Replace x86intrin.h with rte_vect.h to avoid __m_prefetchw conflicting types. Replace POSIX

Re: [dpdk-dev] Adding latency and packet-out-of-order measurements to testpmd

2021-03-08 Thread Ferruh Yigit
On 3/8/2021 9:28 PM, Gabriel Black wrote: Hello, I'd like to be able to add latency and packet-out-of-order measurements to testpmd. The idea is that testpmd sends traffic and receives the same traffic after passing through some device/cloud. Is this a good fit to add to the testpmd applicati

Re: [dpdk-dev] [EXTERNAL] [PATCH] WindowsGSGDoc: Update the meson version to use for Windows DPDK

2021-03-08 Thread Jie Zhou
Add Dmitry. -Original Message- From: dev On Behalf Of Jie Zhou Sent: Wednesday, February 24, 2021 3:37 PM To: dev@dpdk.org Cc: thomas ; roret...@linux.microsoft.com Subject: [EXTERNAL] [dpdk-dev] [PATCH] WindowsGSGDoc: Update the meson version to use for Windows DPDK From: Jie Zhou Me

[dpdk-dev] [PATCH v3 6/6] net/ark: localize internal packet generator code

2021-03-08 Thread Ed Czeck
remove unnecessary includes no functional changes Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 17 ++--- drivers/net/ark/ark_pktchkr.c | 4 drivers/net/ark/ark_pktgen.c | 20 ++-- drivers/net/ark/ark_pktgen.h | 1 + 4 files changed, 17 insertio

[dpdk-dev] [PATCH v3 5/6] net/ark: cleanup and document ark dynamic extansion

2021-03-08 Thread Ed Czeck
- Rename extension functions with rte_pmd_ark prefix - Move extension prototype to rte_pmd_ark.h - Update documentation for extension Signed-off-by: Ed Czeck --- v3: - split function rename from previous commit --- doc/guides/nics/ark.rst | 139 - drivers/net/ark/ark_ethdev

[dpdk-dev] [PATCH v3 4/6] net/ark: generalize meta data between FPGA and PMD

2021-03-08 Thread Ed Czeck
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 and Tx paths Signed-off-by: Ed Czeck

[dpdk-dev] [PATCH v3 3/6] net/ark: update internal structs to reflect FPGA updates

2021-03-08 Thread Ed Czeck
- New PCIe IDs using net/ark driver - Update Version IDs and structures specified by hardware - New internal descriptor status for TX - Adjust data placement in RX operations, headroom in retained for segmented mbufs Signed-off-by: Ed Czeck --- doc/guides/nics/ark.rst | 5 ++ drivers/n

[dpdk-dev] [PATCH v3 2/6] net/ark: refactor Rx buffer recovery

2021-03-08 Thread Ed Czeck
Allocate mbufs for Rx path in bulk of at least 64 buffers to improve performance. Allow recovery even without a Rx operation to support lack of buffers in pool. Fixes: be410a861598 ("net/ark: add recovery for lack of mbufs") Cc: sta...@dpdk.org Signed-off-by: Ed Czeck --- drivers/net/ark/ark_et

[dpdk-dev] [PATCH v3 1/6] net/ark: update pkt director initial state

2021-03-08 Thread Ed Czeck
Fixes: b33ccdb17f55 ("net/ark: provide API for hardware modules MPU RQP and pktdir") Cc: sta...@dpdk.org Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 1 + drivers/net/ark/ark_pktdir.c | 2 +- drivers/net/ark/ark_pktdir.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) di

[dpdk-dev] [PATCH 3/3] net/mlx5: reduce log level of alignment message

2021-03-08 Thread Thomas Monjalon
Having to force an alignment does not impact the user, so it should not be a warning. The log level is reduced from warning to debug. Signed-off-by: Thomas Monjalon --- drivers/net/mlx5/mlx5_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_uti

[dpdk-dev] [PATCH 2/3] common/mlx5: enable debug logs dynamically

2021-03-08 Thread Thomas Monjalon
Most debug logs are using DRV_LOG(DEBUG,) but some were using DEBUG(). The macro DEBUG is doing nothing if not compiled with RTE_LIBRTE_MLX5_DEBUG. As it is not used in the data path, the macro DEBUG can be replaced with DRV_LOG. Then all debug logs can be enabled at runtime with: --log-le

[dpdk-dev] [PATCH 1/3] net/mlx4: enable debug logs dynamically

2021-03-08 Thread Thomas Monjalon
The macro DEBUG was doing nothing if not compiled with RTE_LIBRTE_MLX4_DEBUG. As it is not used in the data path, it can be always enabled at compilation time. Then it can be enabled at runtime with: --log-level pmd.net.mlx4:debug Signed-off-by: Thomas Monjalon --- drivers/net/mlx4/mlx4

[dpdk-dev] [PATCH 0/3] adjust mlx debug logs

2021-03-08 Thread Thomas Monjalon
Few adjustments of debug log usage in mlx4/mlx5. Thomas Monjalon (3): net/mlx4: enable debug logs dynamically common/mlx5: enable debug logs dynamically net/mlx5: reduce log level of alignment message drivers/common/mlx5/mlx5_common.h | 2 -- drivers/common/mlx5/mlx5_common_mr.c | 45

[dpdk-dev] [PATCH] doc: improve lstopo tip

2021-03-08 Thread Thomas Monjalon
The tool lstopo from hwloc package can provide a graphical or textual view. In its textual form, the option --merge gives a shorter summary which fits well with the DPDK need. Signed-off-by: Thomas Monjalon --- doc/guides/linux_gsg/build_sample_apps.rst | 2 +- doc/guides/nics/mlx4.rst

[dpdk-dev] Adding latency and packet-out-of-order measurements to testpmd

2021-03-08 Thread Gabriel Black
Hello, I'd like to be able to add latency and packet-out-of-order measurements to testpmd. The idea is that testpmd sends traffic and receives the same traffic after passing through some device/cloud. Is this a good fit to add to the testpmd application? If so, any pointers on where I should ad

[dpdk-dev] [PATCH] usertools: show hugepages requested/set on failure

2021-03-08 Thread Thomas Monjalon
In case the number of requested hugepages cannot be set, a more detailed error message is printed. The new message does not mention "reserve" because setting can be reserving or clearing. The filename and numbers requested/set are printed to ease debugging. Signed-off-by: Thomas Monjalon --- use

[dpdk-dev] [PATCH] vfio: reformat logs

2021-03-08 Thread Thomas Monjalon
The log messages had various issues: - split on 2 lines, making search (grep) difficult - long lines (can be split after the string) - indented for no good reason (parent message may have higher log level) - inconsistent use of __func__, not meaningful context for user - lack of context (general me

[dpdk-dev] [PATCH] eal: prefix telemetry initialization message

2021-03-08 Thread Thomas Monjalon
If the telemetry library initialization has some issue, the error message is returned in a string (to avoid circular dependency with EAL log system). In order to make clear where the message comes from, a prefix is added. Before: EAL: message After:EAL: telemetry: message Signed-off-by: Tho

[dpdk-dev] [PATCH 1/3] eventdev: introduce adapter flags for periodic mode

2021-03-08 Thread Shijith Thotton
A timer adapter in periodic mode can be used to arm periodic timers. This patch adds flags used to advertise capability and configure timer adapter in periodic mode. Capability flag should be set for adapters which support periodic mode. Below is a programming sequence on the usage: /* che

[dpdk-dev] [PATCH 2/3] test/event: add unit tests for periodic timer

2021-03-08 Thread Shijith Thotton
Add tests to arm and cancel periodic timer. Signed-off-by: Shijith Thotton --- app/test/test_event_timer_adapter.c | 136 +--- 1 file changed, 123 insertions(+), 13 deletions(-) diff --git a/app/test/test_event_timer_adapter.c b/app/test/test_event_timer_adapter.c index

[dpdk-dev] [PATCH 3/3] event/octeontx2: add timer periodic mode support

2021-03-08 Thread Shijith Thotton
Add support for periodic mode in event timer adapter. Signed-off-by: Shijith Thotton --- drivers/event/octeontx2/otx2_tim_evdev.c | 29 drivers/event/octeontx2/otx2_tim_evdev.h | 1 + 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/drivers/event/octeontx

[dpdk-dev] [PATCH 0/3] periodic mode for event timer adapter

2021-03-08 Thread Shijith Thotton
Arming periodic timers are not supported by the event timer adapter right now. This series adds that support. A timer adapter configured in periodic mode can be used to arm periodic timers. First patch adds a flag to expose periodic mode capability of an adapter and flag to configure the adapter

Re: [dpdk-dev] [PATCH 2/2] qede: make driver accept bigger rss tables

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 4:47 PM Igor Russkikh wrote: > > We found some dpdk applications blindly pass fixed side rss hash tables, > and do not check driver/device capabilities. > > Moreover, many other drivers do not do such a strong check as well. > > So here we fix it, making qede accept any siz

Re: [dpdk-dev] [dpdk-stable] [PATCH 20.11] config/arm: replace native machine args

2021-03-08 Thread Jerin Jacob
On Mon, Mar 8, 2021 at 5:38 PM Luca Boccassi wrote: > > On Mon, 2021-03-08 at 03:23 +, Ruifeng Wang wrote: > > > -Original Message- > > > From: Jerin Jacob Kollanukkaran > > > Sent: Sunday, March 7, 2021 9:35 PM > > > To: Ruifeng Wang ; Juraj Linkeš > > > ; Luca Boccassi ; > > > sta..

Re: [dpdk-dev] [PATCH 20.11] config/arm: replace native machine args

2021-03-08 Thread Jerin Jacob
On Mon, Mar 8, 2021 at 8:54 AM Ruifeng Wang wrote: > > > -Original Message- > > From: Jerin Jacob Kollanukkaran > > Sent: Sunday, March 7, 2021 9:35 PM > > To: Ruifeng Wang ; Juraj Linkeš > > ; Luca Boccassi ; > > sta...@dpdk.org; dev@dpdk.org; tho...@monjalon.net; Ashwin Sekhar > > Thala

Re: [dpdk-dev] [PATCH 7/7] eventdev: fix ABI breakage due to event vector

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 3:41 AM wrote: > > From: Pavan Nikhilesh > > Fix ABI breakage due to event vector configuration by moving > the vector configuration into a new structure and having a separate > function for enabling the vector config on a given ethernet device and > queue pair. > This vec

[dpdk-dev] [dpdk-announce] DPDK 20.11.1 released

2021-03-08 Thread luca . boccassi
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-20.11.1.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=20.11 Luca Boccassi --- VERSION| 2 +- app/meson.build

Re: [dpdk-dev] [PATCH 0/8] Optimize qede use of rx/tx_entries

2021-03-08 Thread Jerin Jacob
On Fri, Mar 5, 2021 at 6:44 PM Balazs Nemeth wrote: > > 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

Re: [dpdk-dev] [PATCH] test/event: fix timeout accuracy

2021-03-08 Thread Jerin Jacob
On Mon, Mar 8, 2021 at 10:50 PM Carrillo, Erik G wrote: > > > -Original Message- > > From: pbhagavat...@marvell.com > > Sent: Saturday, March 6, 2021 2:27 PM > > To: jer...@marvell.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh ; > > sta...@dpdk.org > > Subject: [dpdk-dev] [

[dpdk-dev] [PATCH v4] rte_metrics: unconditionally exports rte_metrics_tel_xxx functions

2021-03-08 Thread Jie Zhou
From: Jie Zhou This patch allows the same set of rte_metrics_tel_* functions to be exported no matter JANSSON is available or not, by doing following: 1. Leverage dpdk_conf to set configuration flag RTE_HAVE_JANSSON when Jansson dependency is found. 2. In rte_metrics_telemetry.c, levera

Re: [dpdk-dev] [PATCH V2] app/testpmd: support Tx mbuf free on demand cmd

2021-03-08 Thread Ferruh Yigit
On 3/5/2021 9:57 AM, Lijun Ou wrote: 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 c

Re: [dpdk-dev] [PATCH 4/7] eventdev: add Rx adapter event vector support

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 3:40 AM wrote: > > From: Pavan Nikhilesh > > Add event vector support for event eth Rx adapter, the implementation > creates vector flows based on port and queue identifier of the received > mbufs. > > Signed-off-by: Pavan Nikhilesh Hi @Jayatheerthan, Jay Could you rev

Re: [dpdk-dev] [PATCH v3 4/5] examples/l3fwd: implement FIB lookup method

2021-03-08 Thread Walsh, Conor
> Hi Conor, > > Please see comment below > > > +/* > > + * If the machine does not have SSE, NEON or PPC 64 then the packets > > + * are sent one at a time using send_single_packet() > > + */ > > +#if !defined FIB_SEND_MULTI > > +static inline void > > +fib_send_single(int nb_tx, struct lcore_

Re: [dpdk-dev] [PATCH] test/event: fix timeout accuracy

2021-03-08 Thread Carrillo, Erik G
> -Original Message- > From: pbhagavat...@marvell.com > Sent: Saturday, March 6, 2021 2:27 PM > To: jer...@marvell.com; Carrillo, Erik G > Cc: dev@dpdk.org; Pavan Nikhilesh ; > sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] test/event: fix timeout accuracy > > From: Pavan Nikhilesh > >

Re: [dpdk-dev] [PATCH 3/7] eventdev: introduce event vector Tx capability

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 3:40 AM wrote: > > From: Pavan Nikhilesh > > Introduce event vector transmit capability for event eth > tx adapter. > > The capability indicates that the Tx adapter is capable of > transmitting event vectors. > When rte_event_vector::union_valid is set, the Tx adapter shou

Re: [dpdk-dev] [PATCH 2/7] eventdev: introduce event vector Rx capability

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 3:40 AM wrote: > > From: Pavan Nikhilesh > > Introduce event ethernet Rx adapter event vector capability. > > If an event eth Rx adapter has the capability of > RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR then a given Rx queue > can be configured to enable event vectorizatio

[dpdk-dev] [fix probabilistic failure of i40evf initialization] net/i40e: fix probabilistic failure of i40evf initialization

2021-03-08 Thread chenqiming2018
From: Qiming Chen The d2146nt chip integrates the x722 controller. The i40e.ko version is 2.9.21, and the firmware version is Intel’s customized version 4.3. It has been communicated with Intel Steven. The version is compatible. Each PF virtual place has 16 VFs, and there are 2 Each proces

Re: [dpdk-dev] [PATCH v5] event/sw: add xstats to expose progress details

2021-03-08 Thread Jerin Jacob
On Mon, Mar 8, 2021 at 2:52 PM Harry van Haaren wrote: > > Today it is difficult to know if the SW Eventdev PMD is making > forward progress when it runs an iteration of its service. This > commit adds two xstats to give better visibility to the application. > > The new xstats provide an applicati

Re: [dpdk-dev] [PATCH 1/7] eventdev: introduce event vector capability

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 3:40 AM wrote: > > From: Pavan Nikhilesh > > Introduce rte_event_vector datastructure which is capable of holding > multiple uintptr_t of the same flow thereby allowing applications > to vectorize their pipeline and reducing the complexity of pipelining > the events across

Re: [dpdk-dev] [PATCH v8 0/9] ethdev: support SubFunction representor

2021-03-08 Thread Ferruh Yigit
On 3/4/2021 2:30 PM, Xueming Li wrote: SubFunction [1] is a portion of the PCI device, a SF netdev has its own dedicated queues(txq, rxq). A SF netdev supports E-Switch representation offload similar to existing PF and VF representors. A SF shares PCI level resources with other SFs and/or with it

Re: [dpdk-dev] [PATCH 0/7] Introduce event vectorization

2021-03-08 Thread Jerin Jacob
On Sun, Feb 21, 2021 at 3:40 AM wrote: > > From: Pavan Nikhilesh > > In traditional event programming model, events are identified by a > flow-id and a uintptr_t. The flow-id uniquely identifies a given event > and determines the order of scheduling based on schedule type, the > uintptr_t holds a

Re: [dpdk-dev] [PATCH v8 2/9] ethdev: support representor port list

2021-03-08 Thread Ferruh Yigit
On 3/8/2021 3:58 PM, Xueming(Steven) Li wrote: -Original Message- From: Ferruh Yigit Sent: Monday, March 8, 2021 10:38 PM To: Xueming(Steven) Li ; Andrew Rybchenko Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso ; NBU-Contact-Thomas Monjalon ; declan.dohe...@intel.com Subject: Re: [P

Re: [dpdk-dev] 19.11.7 patches review and test

2021-03-08 Thread Christian Ehrhardt
On Tue, Mar 2, 2021 at 4:29 AM Chen, BoX C wrote: > > Hi Ehrhardt, > Quick sync up dpdk 19.11.7-rc1 test status of Intel part here. 50% is > executed. 3 issues are found tille now: > (1) Compiling dpdk with "make" failed. > The bad commit id is: b086808ceed59989b5e7b83ce99c98719f45a6bf T

Re: [dpdk-dev] [PATCH v8 8/9] ethdev: representor iterator compare complete info

2021-03-08 Thread Ferruh Yigit
On 3/4/2021 2:30 PM, Xueming Li wrote: The NIC can have multiple PCIe links and can be attached to multiple hosts, for example the same single NIC can be shared for multiple server units in the rack. On each PCIe link NIC can provide multiple PFs and VFs/SFs based on these ones. The full represen

Re: [dpdk-dev] [PATCH v8 7/9] ethdev: new API to get representor info

2021-03-08 Thread Ferruh Yigit
On 3/8/2021 3:31 PM, Xueming(Steven) Li wrote: -Original Message- From: Ferruh Yigit Sent: Monday, March 8, 2021 10:44 PM To: Xueming(Steven) Li ; Andrew Rybchenko Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso ; NBU-Contact-Thomas Monjalon ; Ray Kinsella ; Neil Horman Subject: Re

Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Monday, March 8, 2021 11:55 PM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; Olivier Matz > >Subject: Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists > >On 3/8/2021 2:59

Re: [dpdk-dev] [PATCH v8 2/9] ethdev: support representor port list

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Monday, March 8, 2021 10:38 PM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; NBU-Contact-Thomas Monjalon >; declan.dohe...@intel.com >Subject: Re: [PATCH v8 2/9] ethdev: support representor

Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists

2021-03-08 Thread Ferruh Yigit
On 3/8/2021 2:59 PM, Xueming(Steven) Li wrote: -Original Message- From: Ferruh Yigit Sent: Monday, March 8, 2021 10:45 PM To: Xueming(Steven) Li ; Andrew Rybchenko Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso ; Olivier Matz Subject: Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update p

Re: [dpdk-dev] [PATCH 3/3] net/af_xdp: preferred busy polling

2021-03-08 Thread Loftus, Ciara
> > > > On 2/24/2021 11:18 AM, Ciara Loftus wrote: > > > This commit introduces support for preferred busy polling > > > to the AF_XDP PMD. This feature aims to improve single-core > > > performance for AF_XDP sockets under heavy load. > > > > > > A new vdev arg is introduced called 'busy_budget' w

Re: [dpdk-dev] [PATCH v3 4/5] examples/l3fwd: implement FIB lookup method

2021-03-08 Thread Walsh, Conor
> From: Burakov, Anatoly > Sent: Wednesday 3 March 2021 11:53 > To: Walsh, Conor ; jer...@marvell.com; > step...@networkplumber.org; Iremonger, Bernard > ; Ananyev, Konstantin > ; Medvedkin, Vladimir > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 4/5] examples/l3fwd: implement FIB > loo

Re: [dpdk-dev] [PATCH v8 7/9] ethdev: new API to get representor info

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Monday, March 8, 2021 10:44 PM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; NBU-Contact-Thomas Monjalon >; Ray Kinsella ; Neil Horman > >Subject: Re: [PATCH v8 7/9] ethdev: new API to get

Re: [dpdk-dev] 19.11.7 patches review and test

2021-03-08 Thread Christian Ehrhardt
On Thu, Mar 4, 2021 at 11:43 AM Yu, PingX wrote: > > Update the test result for Intel part. Test are almost finished except > cryptodev and 5 issues are found. > 1. Failed build DPDK with "Make". > 2. in tool usertools/dpdk-devbind.py: bind NIC port to DPDK failed > 3. sriov_kvm: vf launch testpm

Re: [dpdk-dev] [PATCH v3 3/5] examples/l3fwd: add FIB infrastructure

2021-03-08 Thread Walsh, Conor
> > #define CMD_LINE_OPT_CONFIG "config" > > @@ -596,6 +611,10 @@ parse_args(int argc, char **argv) > > l3fwd_lpm_on = 1; > > break; > > > > + case 'F': > > + l3fwd_fib_on = 1; > > + break; > > + > >

Re: [dpdk-dev] [PATCH] net/octeontx_ep: fixed format specifier

2021-03-08 Thread Jerin Jacob
On Wed, Feb 10, 2021 at 3:52 PM Nalla Pradeep wrote: > > Used PRIx64 format specifier where ever the variable getting printed > is of type uint64 Fixes: tag is missing. Please send an updated version. rest looks good to me. > > Signed-off-by: Nalla Pradeep > --- > drivers/net/octeontx_ep/ot

Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists

2021-03-08 Thread Xueming(Steven) Li
>-Original Message- >From: Ferruh Yigit >Sent: Monday, March 8, 2021 10:45 PM >To: Xueming(Steven) Li ; Andrew Rybchenko > >Cc: dev@dpdk.org; Slava Ovsiienko ; Asaf Penso >; Olivier Matz > >Subject: Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists > >On 3/4/2021 2:3

Re: [dpdk-dev] [PATCH v8 9/9] kvargs: update parser to support lists

2021-03-08 Thread Ferruh Yigit
On 3/4/2021 2:30 PM, Xueming Li wrote: This patch updates kvargs parser to support lists on top of range, allow multiple lists or range: k1=a[1,2]b[3-5] Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko Acked-by: Thomas Monjalon Is this update used at all in this set?

Re: [dpdk-dev] [PATCH v8 7/9] ethdev: new API to get representor info

2021-03-08 Thread Ferruh Yigit
On 3/4/2021 2:30 PM, Xueming Li wrote: The NIC can have multiple PCIe links and can be attached to multiple hosts, for example the same single NIC can be shared for multiple server units in the rack. On each PCIe link NIC can provide multiple PFs and VFs/SFs based on these ones. The full represen

Re: [dpdk-dev] [PATCH v8 2/9] ethdev: support representor port list

2021-03-08 Thread Ferruh Yigit
On 3/4/2021 2:30 PM, Xueming Li wrote: To support extended representor syntax, this patch extends the representor list parsing to support for representor port range in devargs, examples: representor=[1,2,3] - single list representor=[1,3-5,7,9-11] - list with singles and ranges

Re: [dpdk-dev] [PATCH v8 1/9] ethdev: introduce representor type

2021-03-08 Thread Ferruh Yigit
On 3/4/2021 2:30 PM, Xueming Li wrote: To support more representor type, this patch introduces representor type enum. The enum is subject to be extended to support new representor in patches upcoming. For each devarg structure, only one type supported. Signed-off-by: Xueming Li Acked-by: Viach

Re: [dpdk-dev] [PATCH v8 2/3] ethdev: tunnel offload model

2021-03-08 Thread Gregory Etelson
Hello, Please find my answers below. Regards, Gregory > External email: Use caution opening links or attachments > > > Hi Gregory, Eli, > > On 16/10/2020 15:51, Gregory Etelson wrote: > > Applications wishing to offload tunneled traffic are required to use > the > rte_flow primitives, such

Re: [dpdk-dev] [PATCH v2 0/2] test/crypto: close PMD after tests

2021-03-08 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Dybkowski, AdamX > Sent: Monday, March 8, 2021 1:57 PM > To: dev@dpdk.org; Doherty, Declan ; Kusztal, > ArkadiuszX > Cc: Dybkowski, AdamX > Subject: [PATCH v2 0/2] test/crypto: close PMD after tests > > This patch adds closing of the PMD after running the

Re: [dpdk-dev] [PATCH] net/octeontx2: fix vlan filter on port

2021-03-08 Thread Jerin Jacob
On Tue, Feb 9, 2021 at 3:31 PM wrote: > > From: Satheesh Paul > > This patch fixes incorrect MCAM key preparation when creating > MCAM entry to allow VLAN IDs after vlan filtering is enabled on port. > > Fixes: ba1b3b081e ("net/octeontx2: support VLAN offloads") > Cc: sta...@dpdk.org > Changed

Re: [dpdk-dev] [PATCH] net/octeontx2: support for rte_flow_dev_dump api

2021-03-08 Thread Jerin Jacob
On Mon, Feb 8, 2021 at 6:32 PM wrote: > > From: Satheesh Paul > > Add support to dump hardware internal representation information of > rte flow to file. > > Every flow rule added will be dumped in the below format. Fixed the subject as "net/octeontx2: support rte flow dump ops" Acked-by: Je

[dpdk-dev] [PATCH v2 2/2] app/crypto-perf: close PMD after benchmark run

2021-03-08 Thread Adam Dybkowski
This patch adds closing of the PMD after running the benchmark. Signed-off-by: Adam Dybkowski --- app/test-crypto-perf/main.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index 49af812d8..70cb04a21

[dpdk-dev] [PATCH v2 1/2] test/crypto: close PMD after tests

2021-03-08 Thread Adam Dybkowski
This patch adds closing of the PMD after running the tests. Signed-off-by: Adam Dybkowski --- app/test/test_cryptodev.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index f91debc16..ea965a64a 100644 --- a/app/test/

[dpdk-dev] [PATCH v2 0/2] test/crypto: close PMD after tests

2021-03-08 Thread Adam Dybkowski
This patch adds closing of the PMD after running the tests. -- v2: * display error message on close error Adam Dybkowski (2): test/crypto: close PMD after tests app/crypto-perf: close PMD after benchmark run app/test-crypto-perf/main.c | 15 +-- app/test/test_cryptodev.c | 6

Re: [dpdk-dev] [dpdk-stable] [PATCH 20.11] config/arm: replace native machine args

2021-03-08 Thread Luca Boccassi
On Mon, 2021-03-08 at 03:23 +, Ruifeng Wang wrote: > > -Original Message- > > From: Jerin Jacob Kollanukkaran > > Sent: Sunday, March 7, 2021 9:35 PM > > To: Ruifeng Wang ; Juraj Linkeš > > ; Luca Boccassi ; > > sta...@dpdk.org; dev@dpdk.org; tho...@monjalon.net; Ashwin Sekhar > > Thal

[dpdk-dev] [PATCH v2] net/ring: support secondary process

2021-03-08 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit Acked-by: Bruce Richardson --- v2: * Drop .ini file --- drivers/net/ring/rte_eth_ring.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index 472d838582ee..02f6da2817ba 100644 ---

Re: [dpdk-dev] [PATCH] net/ring: support secondary process

2021-03-08 Thread Ferruh Yigit
On 3/7/2021 9:02 PM, Thomas Monjalon wrote: 04/03/2021 18:14, Ferruh Yigit: On 3/1/2021 1:38 PM, Bruce Richardson wrote: On Wed, Sep 30, 2020 at 12:02:40PM +0100, Ferruh Yigit wrote: Also add missing .ini feature list documentation and document some existing features including new "Multiproces

Re: [dpdk-dev] [PATCH v3] app/testpmd: add support for forced ethernet speed

2021-03-08 Thread Ferruh Yigit
On 3/5/2021 7:42 PM, 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

Re: [dpdk-dev] [PATCH v3 4/5] examples/l3fwd: implement FIB lookup method

2021-03-08 Thread Medvedkin, Vladimir
Hi Conor, Please see comment below On 19/02/2021 15:09, Walsh, Conor wrote: This patch implements the Forwarding Information Base (FIB) library in l3fwd using the function calls and infrastructure introduced in the previous patch. Signed-off-by: Conor Walsh --- examples/l3fwd/l3fwd_fib.c |

Re: [dpdk-dev] [PATCH v3 3/5] examples/l3fwd: add FIB infrastructure

2021-03-08 Thread Medvedkin, Vladimir
On 19/02/2021 15:09, Walsh, Conor wrote: The purpose of this commit is to add the necessary function calls and supporting infrastructure to allow the Forwarding Information Base (FIB) library to be integrated into the l3fwd sample app. The flag '-F' has been added to the applications options t

Re: [dpdk-dev] [PATCH v3 2/5] examples/l3fwd: move l3fwd routes to common header

2021-03-08 Thread Medvedkin, Vladimir
On 19/02/2021 15:09, Walsh, Conor wrote: To prevent code duplication from the addition of lookup methods the routes specified in lpm should be moved to a common header. Signed-off-by: Conor Walsh --- examples/l3fwd/l3fwd_common_route.h | 48 +++ examples/l3fwd/l3fwd_lpm.c

Re: [dpdk-dev] [PATCH v3 1/5] examples/l3fwd: fix LPM IPv6 subnets

2021-03-08 Thread Medvedkin, Vladimir
On 19/02/2021 15:09, Walsh, Conor wrote: The IPv6 subnets used were not within the 2001:200::/48 subnet Changed to 2001:200:0:{0-7}::/64 where 0-7 is the port ID Fixes: 37afe381bde4 ("examples/l3fwd: use reserved IP addresses") Signed-off-by: Conor Walsh --- examples/l3fwd/l3fwd_lpm.c | 2

Re: [dpdk-dev] 20.11.1 patches review and test

2021-03-08 Thread Luca Boccassi
On Sun, 2021-03-07 at 14:48 +, Ali Alnubani wrote: > Hi, > > > -Original Message- > > From: luca.bocca...@gmail.com > > Sent: Monday, February 22, 2021 5:09 PM > > To: sta...@dpdk.org > > Cc: dev@dpdk.org; Abhishek Marathe ; > > Akhil Goyal ; Ali Alnubani ; > > benjamin.wal...@intel.c

[dpdk-dev] [PATCH] doc: update firmware/driver mapping table for i40e

2021-03-08 Thread dapengx . yu
From: Dapeng Yu Update i40e PMD firmware/driver mapping table. Signed-off-by: Dapeng Yu --- doc/guides/nics/i40e.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 2ab1e0122..d86212db1 100644 --- a/doc/guides/nics/i40e.rst +++

[dpdk-dev] [PATCH v5] event/sw: add xstats to expose progress details

2021-03-08 Thread Harry van Haaren
Today it is difficult to know if the SW Eventdev PMD is making forward progress when it runs an iteration of its service. This commit adds two xstats to give better visibility to the application. The new xstats provide an application with which Eventdev ports received work in the last iteration of

Re: [dpdk-dev] 【Some Questions About Multi-Process Resource Cleaning】

2021-03-08 Thread oulijun
在 2021/2/10 23:59, Burakov, Anatoly 写道: On 04-Feb-21 11:47 AM, oulijun wrote: Hi, Sorry your questions are quite confused. Please start explaining what is the problem you are trying to solve. Start the master and slave processes at the same time, and then run the kill -9 command to kill