RE: [PATCH v3] eventdev/eth_rx: fix timestamp field register in mbuf

2023-09-26 Thread Naga Harish K, S V
> -Original Message- > From: Rahul Bhansali > Sent: Wednesday, September 20, 2023 10:18 PM > To: dev@dpdk.org; Naga Harish K, S V ; Jerin > Jacob ; Kundapura, Ganapati > > Cc: Rahul Bhansali ; sta...@dpdk.org > Subject: [PATCH v3] eventdev/eth_rx: fix timestamp field register in mbuf >

[PATCH v3] security: hide security context

2023-09-26 Thread Akhil Goyal
rte_security_ctx is used by all security APIs to identify which device security_op it need to call and hence it should be opaque to the application. Hence, it is now moved to internal header file and all APIs will now take an opaque pointer for it. The fast path inline APIs like set metadata need t

Re: [PATCH] eventdev/eth_rx: fix timestamp field register in mbuf

2023-09-26 Thread Jerin Jacob
On Mon, Sep 25, 2023 at 3:48 PM Naga Harish K, S V wrote: > > As per the DPDK contribution guidelines, > Ideally, the review should be done within 1 week of patch submission to the > mailing list. > https://doc.dpdk.org/guides/contributing/patches.html > > Surprised to see this review request pin

DPDK patch

2023-09-26 Thread John Romein
Dear Elena, Aaron, I hope you had a nice time after the DPDK workshop. I was unable to solve the issues with our mailserver to submit a patch with git sendmail.  So I created a pull request: https://github.com/DPDK/dpdk/pull/69 @Elena, could you please handle the pull request?  I will submit a

Re: [PATCH v3] net/iavf: add devargs to enable vf auto-reset

2023-09-26 Thread Bruce Richardson
On Fri, Sep 15, 2023 at 01:02:49PM +, Shiyang He wrote: > Originally, the iavf PMD does not perform special actions when it > receives a PF-to-VF reset event, resulting in vf being offline and > unavailable. > > This patch enables vf auto-reset by setting 'watchdog_period' devargs > to true. T

[PATCH v2] net/iavf: support no data path polling mode

2023-09-26 Thread Mingjin Ye
Currently, during a PF to VF reset due to an action such as changing trust settings on a VF, the DPDK application running with iavf PMD loses connectivity, and the only solution is to reset the DPDK application. Instead of forcing a reset of the DPDK application to restore connectivity, the iavf P

[PATCH v4] security: hide security context

2023-09-26 Thread Akhil Goyal
rte_security_ctx is used by all security APIs to identify which device security_op it need to call and hence it should be opaque to the application. Hence, it is now moved to internal header file and all APIs will now take an opaque pointer for it. The fast path inline APIs like set metadata need t

RE: [PATCH v4] security: hide security context

2023-09-26 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH v1 2/2] test/dma: add source buffer offload free test

2023-09-26 Thread Amit Prakash Shukla
Hi Anoob, Thanks for the review and feedback. I will make the suggested changes in next version of the patch. Thanks, Amit Shukla > -Original Message- > From: Anoob Joseph > Sent: Tuesday, September 19, 2023 5:19 PM > To: Amit Prakash Shukla ; Chengwen Feng > ; Kevin Laatz ; Bruce > Ri

RE: [PATCH v4] security: hide security context

2023-09-26 Thread Akhil Goyal
> Subject: [PATCH v4] security: hide security context > > rte_security_ctx is used by all security APIs to identify > which device security_op it need to call and hence it should > be opaque to the application. > Hence, it is now moved to internal header file and all > APIs will now take an opaque

Re: [PATCH v13 2/4] net/i40e: implement mbufs recycle mode

2023-09-26 Thread Ferruh Yigit
On 9/25/2023 4:19 AM, Feifei Wang wrote: > Define specific function implementation for i40e driver. > Currently, mbufs recycle mode can support 128bit > vector path and avx2 path. And can be enabled both in > fast free and no fast free mode. > > Suggested-by: Honnappa Nagarahalli > Signed-off-by:

RE: [PATCH v2 00/15] fixes and improvements to cnxk crypto PMD

2023-09-26 Thread Anoob Joseph
> > This series adds improvements and support for raw cryptodev API in cnxk > crypto PMD. > > v2: > * Updated feature file for cn10k > * Updated commit message > > Aakash Sasidharan (1): > crypto/cnxk: add support for packets with cipher len zero > > Anoob Joseph (4): > crypto/cnxk: clear r

RE: [PATCH v13 2/4] net/i40e: implement mbufs recycle mode

2023-09-26 Thread Konstantin Ananyev
> On 9/25/2023 4:19 AM, Feifei Wang wrote: > > Define specific function implementation for i40e driver. > > Currently, mbufs recycle mode can support 128bit > > vector path and avx2 path. And can be enabled both in > > fast free and no fast free mode. > > > > Suggested-by: Honnappa Nagarahalli >

Re: [PATCH v4] ethdev: advertise flow restore in mbuf

2023-09-26 Thread David Marchand
Hello Ilya, On Mon, Jul 31, 2023 at 10:40 PM Ilya Maximets wrote: > On 6/21/23 16:43, David Marchand wrote: > > As reported by Ilya [1], unconditionally calling > > rte_flow_get_restore_info() impacts an application performance for drivers > > that do not provide this ops. > > It could also impac

RE: [PATCH V2] ethdev: add flow API support for P4-programmable devices

2023-09-26 Thread Ori Kam
Hi, > -Original Message- > From: Cristian Dumitrescu > Sent: Monday, September 25, 2023 3:34 PM > Subject: [PATCH V2] ethdev: add flow API support for P4-programmable > devices > > This patch introduces the new "program" action type to enable flow API > support for P4-programmable device

Re: [PATCH v1 1/7] bbdev: add FFT version member in driver info

2023-09-26 Thread Maxime Coquelin
On 9/22/23 18:41, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, September 22, 2023 1:15 AM To: Chautru, Nicolas ; hemant.agra...@nxp.com; dev@dpdk.org Cc: david.march...@redhat.com; Vargas, Hernan Subject: Re: [PATCH v1 1/7] bbdev: add FF

[PATCH] maintainers: update for hns3

2023-09-26 Thread Jie Hai
Dongdong Liu currently do not work for the hns3 PMD. I will do the work, so update the hns3 maintainers. Signed-off-by: Jie Hai --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 698608cdb26a..72779b80355b 100644 --- a/MAINTAINERS

[PATCH v4 00/12] event DMA adapter library support

2023-09-26 Thread Amit Prakash Shukla
This series adds support for event DMA adapter library. API's defined as part of this library can be used by the application for DMA transfer of data using event based mechanism. v4: - Fixed compilation error. v3: - Resolved checkpatch warnings. - Fixed compilation error on intel. - Updated git c

[PATCH v4 01/12] eventdev: introduce event DMA adapter library

2023-09-26 Thread Amit Prakash Shukla
Introduce event DMA adapter APIs. The change provides information on adapter modes and usage. Application can use this event adapter interface to transfer packets between DMA device and event device. Signed-off-by: Amit Prakash Shukla --- MAINTAINERS |5 + d

[PATCH v4 02/12] eventdev: api to get DMA adapter capabilities

2023-09-26 Thread Amit Prakash Shukla
Added a new eventdev API rte_event_dma_adapter_caps_get(), to get DMA adapter capabilities supported by the driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/meson.build| 2 +- lib/eventdev/rte_eventdev.c | 23 +++ lib/eventdev/rte_eventdev.h | 2 +- lib/meson

[PATCH v4 03/12] eventdev: create and free API for DMA adapter

2023-09-26 Thread Amit Prakash Shukla
Added API support to create and free DMA adapter. Create function shall be called with event device to be associated with the adapter and port configuration to setup an event port. Signed-off-by: Amit Prakash Shukla --- config/rte_config.h | 1 + lib/eventdev/meson.build

[PATCH v4 04/12] eventdev: add API support for vchan add and delete

2023-09-26 Thread Amit Prakash Shukla
Added API support to add and delete vchan's from the DMA adapter. DMA devid and vchan are added to the addapter instance by calling rte_event_dma_adapter_vchan_add and deleted using rte_event_dma_adapter_vchan_del. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 204

[PATCH v4 05/12] eventdev: add support for DMA adapter service function

2023-09-26 Thread Amit Prakash Shukla
Added support for DMA adapter service function for event devices. Enqueue and dequeue of event from eventdev and DMA device are done based on the adapter mode and the supported HW capabilities. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 589

[PATCH v4 06/12] eventdev: add support for DMA adapter start and stop

2023-09-26 Thread Amit Prakash Shukla
Added API support to start and stop DMA adapter. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 69 1 file changed, 69 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index 8349b9

[PATCH v4 07/12] eventdev: add support for DMA adapter service ID get

2023-09-26 Thread Amit Prakash Shukla
Added API support to get DMA adapter service ID. Service id returned in the variable by the API call shall be used by application to map a service core. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 17 + 1 file changed, 17 insertions(+) diff --gi

[PATCH v4 08/12] eventdev: add DMA adapter support for runtime params

2023-09-26 Thread Amit Prakash Shukla
Added support to set and get runtime params for DMA adapter. The parameters that can be set/get are defined in struct rte_event_dma_adapter_runtime_params. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 93 1 file changed, 93 insertions

[PATCH v4 09/12] eventdev: add support for DMA adapter stats

2023-09-26 Thread Amit Prakash Shukla
Added DMA adapter stats API support to get and reset stats. DMA SW adapter stats and eventdev driver supported stats for enqueue and dequeue are reported by get API. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 95 1 file changed, 95

[PATCH v4 10/12] eventdev: add support for DMA adapter enqueue

2023-09-26 Thread Amit Prakash Shukla
Added API support to enqueue a DMA operation to the DMA driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 13 + 1 file changed, 13 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index 35acec

[PATCH v4 11/12] eventdev: add DMA adapter event port get

2023-09-26 Thread Amit Prakash Shukla
Added support for DMA adapter event port get. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index 9770b0b8df..2b0919d70

[PATCH v4 12/12] app/test: add event DMA adapter auto-test

2023-09-26 Thread Amit Prakash Shukla
Added testsuite to test the dma adapter functionality. The testsuite detects event and DMA device capability and accordingly dma adapter is configured and modes are tested. Signed-off-by: Amit Prakash Shukla --- app/test/meson.build | 1 + app/test/test_event_dma_adapter.c | 805 +

[PATCH v6 00/12] add CLI based graph application

2023-09-26 Thread skori
From: Sunil Kumar Kori In the continuation of following feedback https://patches.dpdk.org/project/dpdk/patch/20230425131516.3308612-5-vattun...@marvell.com/ this patch series adds dpdk-graph application to exercise various usecases using graph. 1. Each use case is defined in terms of .cli file w

[PATCH v6 01/12] app/graph: add application framework to read CLI

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds base framework to read a given .cli file as a command line parameter "-s". Example: # ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli Each .cli file will contain commands to configure different module like mempool, ethdev, lookup tables, graph etc. Comm

[PATCH v6 02/12] app/graph: add telnet connectivity framework

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds framework to initiate a telnet session with application. Some configurations and debug commands are exposed as runtime APIs. Those commands can be invoked using telnet session. Application initiates a telnet server with host address 0.0.0.0 and port number 8086 by

[PATCH v6 03/12] app/graph: add parser utility APIs

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds some helper functions to parse IPv4, IPv6 and MAC addresses string into respective datatype. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- app/graph/meson.build | 1 + app/graph/module_api.h | 1 + app/graph/utils.c | 156 ++

[PATCH v6 04/12] app/graph: add mempool command line interfaces

2023-09-26 Thread skori
From: Rakesh Kudurumalla It adds mempool module which will be creating mempools. Following commands are exposed: - mempool size buffers \ cache numa - help mempool User will add this command in .cli file according to its need. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rake

[PATCH v6 05/12] app/graph: add ethdev command line interfaces

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds ethdev module to configure ethernet devices. Following commands are exposed: - ethdev rxq txq - ethdev mtu - ethdev promiscuous - ethdev show - ethdev stats - ethdev ip4 addr add netmask - ethdev ip6 addr add netmask - help ethdev Signed-of

[PATCH v6 06/12] app/graph: add ipv4_lookup command line interfaces

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds ipv4_lookup module to configure LPM table. This LPM table will be used for IPv4 lookup and forwarding. Following commands are exposed: - ipv4_lookup route add ipv4 netmask via - help ipv4_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumal

[PATCH v6 07/12] app/graph: add ipv6_lookup command line interfaces

2023-09-26 Thread skori
From: Rakesh Kudurumalla It adds ipv6_lookup module to configure LPM6 table. This LPM6 table will be used for IPv6 lookup and forwarding. Following commands are exposed: - ipv6_lookup route add ipv6 netmask via - help ipv6_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudur

[PATCH v6 08/12] app/graph: add neigh command line interfaces

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds neigh module to configure arp/neigh. This module uses ipv4_rewrite and ipv6_rewrite node to write neigh information. Following commands are exposed: - neigh add ipv4 - neigh add ipv6 - help neigh Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kuduru

[PATCH v6 09/12] app/graph: add ethdev_rx command line interfaces

2023-09-26 Thread skori
From: Rakesh Kudurumalla It adds ethdev_rx module to create port-queue-core mapping. Mapping will be used to launch graph worker thread and dequeue packets on mentioned core from desired port/queue. Following commands are exposed: - ethdev_rx map port queue core - help ethdev_rx Signed-of

[PATCH v6 10/12] app/graph: add graph command line interfaces

2023-09-26 Thread skori
From: Rakesh Kudurumalla It adds graph module to create a graph for a given use case like l3fwd. Following commands are exposed: - graph [bsz ] [tmo ] [coremask ] \ model pcap_enable <0 | 1> num_pcap_pkts \ pcap_file - graph start - graph stats show - help graph Signed-o

[PATCH v6 11/12] app/graph: add CLI option to enable graph stats

2023-09-26 Thread skori
From: Sunil Kumar Kori It adds application's command line parameter "--enable-graph-stats" to enable dumping graph stats on console. By default, no graph stats will be printed on console but same can be dumped via telnet session using "graph stats show" command. Signed-off-by: Sunil Kumar Kori

[PATCH v6 12/12] app/graph: add l3fwd use case

2023-09-26 Thread skori
From: Rakesh Kudurumalla It adds an use case l3fwd. It contains a dedicated l3fwd.cli file mentioning commands to configure the required resources. Once application successfully parses the l3fwd.cli then a graph is created having below nodes: - ethdev_rx -> pkt_cls - pkt_cls -> ip4_lookup -

RE: [EXT] Re: [PATCH v2] dmadev: get DMA device using device ID

2023-09-26 Thread Amit Prakash Shukla
> -Original Message- > From: Jerin Jacob > Sent: Thursday, September 21, 2023 9:13 PM > To: Amit Prakash Shukla > Cc: Chengwen Feng ; Kevin Laatz > ; Bruce Richardson ; > dev@dpdk.org; Jerin Jacob Kollanukkaran ; > conor.wa...@intel.com; Vamsi Krishna Attunuru ; > g.si...@nxp.com; sachi

[PATCH] ethdev: add calculate hash function

2023-09-26 Thread Ori Kam
rte_flow supports insert by index table[1]. Using the above table, the application can create rules that are based on hash. For example application can create the following logic in order to create load balancing: 1. Create insert by index table with 2 rules, that hashes based on dmac 2. Insert to

Re: [PATCH v4 1/7] ethdev: recomment some definitions related to RSS

2023-09-26 Thread Jie Hai
On 2023/9/21 0:39, Ferruh Yigit wrote: On 9/8/2023 9:00 AM, Jie Hai wrote: 1. Recomment fields of 'rte_eth_rss_conf'. 2. Add comments for RTE_ETH_HASH_FUNCTION_DEFAULT. Signed-off-by: Jie Hai --- lib/ethdev/rte_ethdev.h | 28 +--- lib/ethdev/rte_flow.h | 4

[PATCH v2 1/2] doc: increase python max line length to 100

2023-09-26 Thread Juraj Linkeš
Unify with C recommendations which allow line length of up to 100 characters. Signed-off-by: Owen Hilyard Signed-off-by: Juraj Linkeš --- .editorconfig| 2 +- doc/doc_build/meson-private/meson.lock | 0 doc/guides/contributing/coding_style.rst | 3 +++ 3 files chan

[PATCH v2 2/2] dts: reformat to 100 line length

2023-09-26 Thread Juraj Linkeš
Reformat to 100 from the previous 88 to unify with C recommendations. Signed-off-by: Juraj Linkeš --- dts/framework/config/__init__.py | 20 ++- dts/framework/dts.py | 12 +--- dts/framework/exception.py| 3 +- dts/framework/remote_s

RE: [PATCH v3] net/iavf: add devargs to enable vf auto-reset

2023-09-26 Thread Zhang, Qi Z
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, September 26, 2023 3:49 PM > To: He, ShiyangX > Cc: dev@dpdk.org; Zhou, YidingX ; Wang, Liang- > min ; Su, Simei ; Wu, > Wenjun1 ; Zhang, Yuying > ; Xing, Beilei ; Yang, > Qiming ; Wu, Jingjing > Subject: Re: [PATCH v3] ne

[PATCH v2 0/2] offload support to free dma source buffer

2023-09-26 Thread Amit Prakash Shukla
This series adds offload support to free source buffer in dma library and adds a test support in dmadev_autotest to validate the functionality. v2: - Resolved review comments. - Fixed compilation issue. v1: - Implementation from RFC. - Add test support to validate functionality. Amit Prakash Shu

[PATCH v2 1/2] dmadev: offload to free source buffer

2023-09-26 Thread Amit Prakash Shukla
This changeset adds support in DMA library to free source DMA buffer by hardware. On a supported hardware, application can pass on the mempool information as part of vchan config when the DMA transfer direction is configured as RTE_DMA_DIR_MEM_TO_DEV. Signed-off-by: Amit Prakash Shukla Acked-by:

[PATCH v2 2/2] test/dma: add source buffer offload free test

2023-09-26 Thread Amit Prakash Shukla
Add a test case to validate the functionality of drivers' dma source buffer offload free. As part of dmadev_autotest, test case will be executed only if the driver supports source buffer offload free and if the test is exported by env variable DPDK_ADD_DMA_TEST. Signed-off-by: Amit Prakash Shukla

Re: [PATCH v2 1/2] doc: increase python max line length to 100

2023-09-26 Thread Bruce Richardson
On Tue, Sep 26, 2023 at 02:10:12PM +0200, Juraj Linkeš wrote: > Unify with C recommendations which allow line length of up to 100 > characters. > > Signed-off-by: Owen Hilyard > Signed-off-by: Juraj Linkeš > --- Acked-by: Bruce Richardson

Re: [PATCH v5 01/32] net/sssnic: add build and doc infrastructure

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Adding minimum PMD code, doc and build infrastructure for sssnic. > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > <...> > @@ -633,6 +633,13 @@ F: drivers/net/af_xdp/ > F: doc/guides/nics/af_xdp.rst > F: doc/

Re: [PATCH v5 11/32] net/sssnic: add dev MAC ops

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > <...> > +int > +sssnic_mac_addr_update(struct sssnic_hw *hw, uint8_t *new, uint8_t *old) > +{ > + int ret; > + struct sssnic_mac_addr_update_cmd cmd; > +

Re: [PATCH v5 13/32] net/sssnic: support link status event

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > <...> > diff --git a/drivers/net/sssnic/base/meson.build > b/drivers/net/sssnic/base/meson.build > index e93ca7b24b..cf0c177cab 100644 > --- a/drivers/net/sssnic/bas

Re: [PATCH v5 19/32] net/sssnic: support dev start and stop

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > <...> > diff --git a/drivers/net/sssnic/sssnic_ethdev_rx.c > b/drivers/net/sssnic/sssnic_ethdev_rx.c > index 9c1b2f20d1..fd4975dfd5 100644 > --- a/drivers/net/sssnic

Re: [PATCH v5 20/32] net/sssnic: support dev close and reset

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > <...> > +static int > +sssnic_ethdev_close(struct rte_eth_dev *ethdev) > +{ > + sssnic_ethdev_release(ethdev); > + > As close() is mostly empty, I just want to r

Re: [PATCH v5 24/32] net/sssnic: support Tx packet burst

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > <...> > +static inline int > +sssnic_ethdev_tx_offload_check(struct rte_mbuf *tx_mbuf, > + struct sssnic_ethdev_tx_info *tx_info) > +{ > + uint64_t ol_flags =

Re: [PATCH v5 32/32] net/sssnic: add VF dev support

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > In comparison to PF, VF PMD does not support the following features: > > 1. link up and link down set > 2. promiscuous enable and disable > 3. MAC stats in extend xstats > Does it make sense to document these in the driver doc

Re: [PATCH v5 29/32] net/sssnic: add dev flow control ops

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Signed-off-by: Steven Song > Signed-off-by: Renyong Wan > --- > doc/guides/nics/features/sssnic.ini | 1 + > drivers/net/sssnic/base/sssnic_api.c | 68 > drivers/net/sssnic/base/sssnic_api.h | 4

Re: [PATCH v5 07/32] net/sssnic/base: add mailbox support

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > Mailbox is a message channel used to communicate between PF and > VF as well as driver and hardware functions. > Mailbox messages are received by driver through event queue, and > sent by driver through registers of mailbox. > Th

Re: [PATCH v5 00/32] Introduce sssnic PMD for 3SNIC's 9x0 serials Ethernet adapters

2023-09-26 Thread Ferruh Yigit
On 9/4/2023 5:56 AM, wa...@3snic.com wrote: > From: Renyong Wan > > The sssnic PMD (**librte_pmd_sssnic**) provides poll mode driver support > for 3SNIC 9x0 serials family of Ethernet adapters. > > Supported NICs are: > > - 3S910 Dual Port SFP28 10/25GbE Ethernet adapter > - 3S920 Quad Port SFP

Re: [PATCH v4 2/7] ethdev: support setting and querying RSS algorithm

2023-09-26 Thread Jie Hai
On 2023/9/21 0:39, Ferruh Yigit wrote: On 9/8/2023 9:00 AM, Jie Hai wrote: Currently, rte_eth_rss_conf supports configuring and querying RSS hash functions, rss key and it's length, but not RSS hash algorithm. The structure ``rte_eth_rss_conf`` is extended by adding a new field "func". This rep

[PATCH v2 1/1] eal: update xz read support and ignore warning

2023-09-26 Thread Srikanth Yalavarthi
archive_read_support_filter_xz returns a warning when compression is not fully supported and is supported through external program. This warning can be ignored when reading the files through firmware open as only decompression is required. Fixes: 40edb9c0d36b ("eal: handle compressed firmware") Cc

Re: [PATCH v13 4/4] app/testpmd: add recycle mbufs engine

2023-09-26 Thread Konstantin Ananyev
25.09.2023 04:19, Feifei Wang пишет: Add recycle mbufs engine for testpmd. This engine forward pkts with I/O forward mode. But enable mbufs recycle feature to recycle used txq mbufs for rxq mbuf ring, which can bypass mempool path and save CPU cycles. Suggested-by: Jerin Jacob Signed-off-by: Fe

Re: [PATCH v13 3/4] net/ixgbe: implement mbufs recycle mode

2023-09-26 Thread Konstantin Ananyev
25.09.2023 04:19, Feifei Wang пишет: Define specific function implementation for ixgbe driver. Currently, recycle buffer mode can support 128bit vector path. And can be enabled both in fast free and no fast free mode. Suggested-by: Honnappa Nagarahalli Signed-off-by: Feifei Wang Reviewed-by: R

RE: [EXT] Re: [PATCH 1/1] eal: enable xz read support and ignore warning

2023-09-26 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 25 September 2023 14:40 > To: Srikanth Yalavarthi > Cc: Aaron Conole ; Igor Russkikh > ; dev@dpdk.org; Shivah Shankar Shankar Narayan > Rao ; Anup Prabhu ; > Prince Takkar ; jerinjac...@gmail.com; > sta...@dpdk.org; Srikanth Yalavarthi

Re: [PATCH v13 2/4] net/i40e: implement mbufs recycle mode

2023-09-26 Thread Konstantin Ananyev
25.09.2023 04:19, Feifei Wang пишет: Define specific function implementation for i40e driver. Currently, mbufs recycle mode can support 128bit vector path and avx2 path. And can be enabled both in fast free and no fast free mode. Suggested-by: Honnappa Nagarahalli Signed-off-by: Feifei Wang Re

Re: [PATCH v1] examples/l3fwd: relax the RSS/Offload requirement

2023-09-26 Thread Konstantin Ananyev
Hi Trevor, At 2023-09-18 02:04:19, "Konstantin Ananyev" wrote: 03/09/2023 05:01, Trevor Tao пишет: Now the port Rx mq_mode had been set to RTE_ETH_MQ_RX_RSS, and offload mode set to RTE_ETH_RX_OFFLOAD_CHECKSUM by default, but some hardware and/or virtual interface does not support the R

[PATCH v3 1/1] eal: update xz read support and ignore warning

2023-09-26 Thread Srikanth Yalavarthi
archive_read_support_filter_xz returns a warning when compression is not fully supported and is supported through external program. This warning can be ignored when reading the files through firmware open as only decompression is required. Fixes: 40edb9c0d36b ("eal: handle compressed firmware") Cc

Re: [PATCH v2 1/1] eal: update xz read support and ignore warning

2023-09-26 Thread David Marchand
On Tue, Sep 26, 2023 at 3:30 PM Srikanth Yalavarthi wrote: > > archive_read_support_filter_xz returns a warning when > compression is not fully supported and is supported > through external program. This warning can be ignored > when reading the files through firmware open as only > decompression

Re: [PATCH 00/36] fix Rx and Tx queue state

2023-09-26 Thread Jie Hai
On 2023/9/22 14:41, David Marchand wrote: Hello, On Fri, Sep 22, 2023 at 4:41 AM Jie Hai wrote: On 2023/9/19 0:54, Ferruh Yigit wrote: On 9/8/2023 12:50 PM, David Marchand wrote: On Fri, Sep 8, 2023 at 1:32 PM Jie Hai wrote: The DPDK framework reports the queue state, which is stored in d

Re: [PATCH v3] net/iavf: add devargs to enable vf auto-reset

2023-09-26 Thread Bruce Richardson
On Tue, Sep 26, 2023 at 01:15:28PM +0100, Zhang, Qi Z wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Tuesday, September 26, 2023 3:49 PM > > To: He, ShiyangX > > Cc: dev@dpdk.org; Zhou, YidingX ; Wang, Liang- > > min ; Su, Simei ; Wu, > > Wenjun1 ; Zhang, Yuying

RE: [PATCH v2 00/15] fixes and improvements to cnxk crypto PMD

2023-09-26 Thread Akhil Goyal
> Subject: [PATCH v2 00/15] fixes and improvements to cnxk crypto PMD > > This series adds improvements and support for raw > cryptodev API in cnxk crypto PMD. > > v2: > * Updated feature file for cn10k > * Updated commit message > > Aakash Sasidharan (1): > crypto/cnxk: add support for packet

[PATCH v4 1/1] eal/unix: fix firmware reading with external xz helper

2023-09-26 Thread Srikanth Yalavarthi
libarchive may support xz decompression only through an external (slower) helper. In such a case, archive_read_support_filter_xz() returns ARCHIVE_WARN. Fixes: 40edb9c0d36b ("eal: handle compressed firmware") Cc: sta...@dpdk.org Signed-off-by: Srikanth Yalavarthi --- v4: * updated commit messag

RE: [EXT] Re: [PATCH v2 1/1] eal: update xz read support and ignore warning

2023-09-26 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 26 September 2023 19:27 > To: Srikanth Yalavarthi > Cc: Aaron Conole ; Igor Russkikh > ; dev@dpdk.org; Shivah Shankar Shankar Narayan > Rao ; Anup Prabhu ; > Prince Takkar ; jerinjac...@gmail.com; > sta...@dpdk.org > Subject: [EXT] Re: [

Re: [PATCH 0/2] add checks for tests not in a suite

2023-09-26 Thread Aaron Conole
David Marchand writes: > On Tue, Sep 19, 2023 at 10:36 AM Bruce Richardson > wrote: >> >> On Tue, Sep 19, 2023 at 10:29:07AM +0200, David Marchand wrote: >> > On Fri, Sep 15, 2023 at 1:52 PM Bruce Richardson >> > wrote: >> > > >> > > To help ensure that we don't have "orphaned" tests not in any

Re: DPDK patch

2023-09-26 Thread Aaron Conole
John Romein writes: > Dear Elena, Aaron, Hi John, > I hope you had a nice time after the DPDK workshop. > > I was unable to solve the issues with our mailserver to submit a patch > with git sendmail.  So I created a pull request: > https://github.com/DPDK/dpdk/pull/69 > @Elena, could you plea

Re: [PATCH 0/1] make file prefix unit test more resilient

2023-09-26 Thread Aaron Conole
Bruce Richardson writes: > On Sat, Sep 23, 2023 at 10:21:04AM +0200, Thomas Monjalon wrote: >> 22/09/2023 15:23, Bruce Richardson: >> > On Fri, Sep 22, 2023 at 02:57:32PM +0200, Thomas Monjalon wrote: >> > > 20/09/2023 12:09, Bruce Richardson: >> > > > On Wed, Sep 20, 2023 at 12:00:08PM +0200, Da

Re: [PATCH] testpmd: unregister event callback

2023-09-26 Thread Singh, Aman Deep
On 9/15/2023 9:56 AM, ok...@kernel.org wrote: From: Sinan Kaya Header format doesn't requires to add "From: " as author "Signed-off" is already present. Cleanup event registry during shutdown to prevent memory leaks. Signed-off-by: Sinan Kaya Acked-by: Aman Singh --- app/test-pmd

[PATCH] net/mlx5: supporting group set miss actions API

2023-09-26 Thread Tomer Shmilovich
Add implementation for rte_flow_group_set_miss_actions() API. Signed-off-by: Tomer Shmilovich --- Depends-on: series-29572 ("ethdev: add group set miss actions API") Depends-on: patch-130772 ("net/mlx5: fix jump ipool entry size") Depends-on: patch-131567 ("net/mlx5/hws: supporting default miss t

[RFC PATCH] usertools: add telemetry exporter

2023-09-26 Thread Robin Jarry
For now the telemetry socket is local to the machine running a DPDK application. Also, there is no official "schema" for the exposed metrics. Add a framework and a script to collect and expose these metrics to telemetry and observability agree gators such as Prometheus, Carbon or Influxdb. The expo

[PATCH] test/pdcp: add data walkthrough test

2023-09-26 Thread Aakash Sasidharan
Enable data walkthrough test in combined mode. The test covers data size ranging from 0B to 9000B both inclusive. Signed-off-by: Aakash Sasidharan --- app/test/test_pdcp.c | 55 +--- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/app/test/t

Re: [PATCH v13 4/4] app/testpmd: add recycle mbufs engine

2023-09-26 Thread Ajit Khaparde
On Tue, Sep 26, 2023 at 6:30 AM Konstantin Ananyev wrote: > > 25.09.2023 04:19, Feifei Wang пишет: > > Add recycle mbufs engine for testpmd. This engine forward pkts with > > I/O forward mode. But enable mbufs recycle feature to recycle used > > txq mbufs for rxq mbuf ring, which can bypass mempoo

[PATCH v7 0/8] add rte flow support for cpfl

2023-09-26 Thread yuying . zhang
From: Yuying This patchset add rte flow support for cpfl driver. It depends on the following patch set: http://patchwork.dpdk.org/project/dpdk/cover/20230912173039.1612287-1-beilei.x...@intel.com/ Wenjing Qiao (2): net/cpfl: add json parser for rte flow pattern rules net/cpfl: build action m

[PATCH v7 1/8] net/cpfl: add json parser for rte flow pattern rules

2023-09-26 Thread yuying . zhang
From: Wenjing Qiao Add devargs "flow_parser" for rte flow json parser which depends on jansson library. Example: -a ca:00.0,flow_parser="refpkg.json" Add json parser for rte flow pattern rules which can build rules that maps from a set of rte flow items to hardware representations. The cpf

[PATCH v7 2/8] net/cpfl: build action mapping rules from JSON

2023-09-26 Thread yuying . zhang
From: Wenjing Qiao Build rules that maps from an rte flow action vxlan_encap or vxlan_decap to hardware representations. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++ 2 files changed, 63

[PATCH v7 3/8] net/cpfl: set up rte flow skeleton

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_ethdev.h | 5 + dr

[PATCH v7 4/8] net/cpfl: set up control path

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Set up control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c | 270 +++ drivers/net/cpf

[PATCH v7 5/8] net/cpfl: add FXP low level implementation

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Add low level implementation for CPFL PMD to create / delete rules on IPU's Flexible Packet Processor(FXP). Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 126 + drivers/net/cpfl/c

[PATCH v7 6/8] net/cpfl: add fxp rule module

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Implement FXP rule creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 296 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 68 +++

[PATCH v7 7/8] net/cpfl: add fxp flow engine

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Adapt a flow engine to FXP implementation. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583 drivers/net/cpfl/meson.build| 1 + 3 files changed, 611 insertio

[PATCH v7 8/8] net/cpfl: add flow support for representor

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 19 +- doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_flow_engine_fxp.c | 88 +

[PATCH] gpu/cuda: Add missing stdlib include

2023-09-26 Thread Aaron Conole
From: John Romein getenv needs stdlib.h to be included. Bugzilla ID: 1133 Fixes: 24c77594e08f ("gpu/cuda: map GPU memory with GDRCopy") Signed-off-by: John Romein --- NOTE: this is a post of https://github.com/DPDK/dpdk/pull/69 to the mailing list. drivers/gpu/cuda/gdrcopy.c | 2 ++

Re: [PATCH v4 1/3] lib: introduce dispatcher library

2023-09-26 Thread Jerin Jacob
On Mon, Sep 25, 2023 at 12:41 PM Mattias Rönnblom wrote: > > On 2023-09-22 09:38, Mattias Rönnblom wrote: > > > > > +int > > +rte_dispatcher_create(uint8_t id, uint8_t event_dev_id) > > +{ > > > There are two changes I'm considering: > > 1) Removing the "id" to identify the dispatcher, replacing

Re: [PATCH v7 1/8] net/cpfl: add json parser for rte flow pattern rules

2023-09-26 Thread Stephen Hemminger
On Tue, 26 Sep 2023 18:16:56 + yuying.zh...@intel.com wrote: > From: Wenjing Qiao > > Add devargs "flow_parser" for rte flow json parser which depends > on jansson library. > > Example: > -a ca:00.0,flow_parser="refpkg.json" > > Add json parser for rte flow pattern rules which can buil

Re: [PATCH v4] ethdev: advertise flow restore in mbuf

2023-09-26 Thread Ilya Maximets
On 9/26/23 11:17, David Marchand wrote: > Hello Ilya, > > On Mon, Jul 31, 2023 at 10:40 PM Ilya Maximets wrote: >> On 6/21/23 16:43, David Marchand wrote: >>> As reported by Ilya [1], unconditionally calling >>> rte_flow_get_restore_info() impacts an application performance for drivers >>> that d

RE: [v1 1/6] crypto/openssl: include SM2 in asymmetric capabilities

2023-09-26 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Thursday, August 10, 2023 11:35 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; Akhil Goyal ; Fan Zhang > ; Ji, Kai ; Gowrishankar > Muthukrishnan > Subject: [v1 1/6] crypto/openssl: include SM2 in asymmetric capabilities

RE: [v1 2/6] cryptodev: add RNG capability in EC based xform

2023-09-26 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Thursday, August 10, 2023 11:35 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; Akhil Goyal ; Fan Zhang > ; Ji, Kai ; Gowrishankar > Muthukrishnan > Subject: [v1 2/6] cryptodev: add RNG capability in EC based xform > > >

  1   2   >