Re: [dpdk-dev] Can we run KNI under a container /Kubernetes POD

2021-06-02 Thread chetan bhasin
Hi Dpdk Geeks, I have tried bringing the dpdk KNI app on POD and facing the below issue . Please suggest EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device :af:0c.2 on NUMA socket 1 EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device :af:0c.3 on NUMA socket 1 EAL: pro

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

2021-06-02 Thread Christian Ehrhardt
On Wed, Jun 2, 2021 at 5:00 PM Christian Ehrhardt wrote: > > Hi all, > > Here is a list of patches targeted for stable release 19.11.9. > > The planned date for the final release is the 16th of June. > > Please help with testing and validation of your use cases and report > any issues/results with

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-06-02 Thread Gregory Etelson
> On Thu, 3 Jun 2021 08:58:42 +0800 > "Min Hu (Connor)" wrote: > > > Hi, Morten and all, > > I have a questions which has bothering me for a long time. > > What's the difference between API and ABI? > > Why does this patch does not breake ABI, but break API(maybe)? > > > >

[dpdk-dev] Arm roadmap for 21.08

2021-06-02 Thread Honnappa Nagarahalli
(Bcc: Arm internal stake holders) Hello, Following are the work items planned for 21.08: 1) Add support for CPPC power driver 2) i40e PMD performance improvements 3) MLX5 PMD performance improvements 4) C11 atomic built-ins in app/test 5) l3fwd performance improvements (continued from las

[dpdk-dev] [PATCH] ethdev: add RSS offload type for L3 checksum

2021-06-02 Thread Alvin Zhang
Add ETH_RSS_L3_CHKSUM macro. Signed-off-by: Alvin Zhang --- lib/ethdev/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index faf3bd9..4220ec5 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -537,6 +537,7 @@

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-06-02 Thread Stephen Hemminger
On Thu, 3 Jun 2021 08:58:42 +0800 "Min Hu (Connor)" wrote: > Hi, Morten and all, > I have a questions which has bothering me for a long time. > What's the difference between API and ABI? > Why does this patch does not breake ABI, but break API(maybe)? > > Hope for y

Re: [dpdk-dev] [PATCH 0/2] add Tx prepare support for bonding device

2021-06-02 Thread Chengchang Tang
Hi,all Any comments to these patches? On 2021/4/23 17:46, Chengchang Tang wrote: > This patch set add Tx prepare for bonding device. > > Currently, the bonding driver has not implemented the callback of > rte_eth_tx_prepare function. Therefore, the TX prepare function of the > slave devices will

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-06-02 Thread Min Hu (Connor)
Hi, Morten and all, I have a questions which has bothering me for a long time. What's the difference between API and ABI? Why does this patch does not breake ABI, but break API(maybe)? Hope for your reply, thanks. 在 2021/5/27 23:56, Morten Brørup 写道: From

[dpdk-dev] [PATCH 2/2] net/cxgbe: add MAC matchall to track promisc traffic

2021-06-02 Thread Rahul Lakkireddy
Chelsio T6 ASIC doesn't track Rx promisc traffic dropped due to lack of Rx buffers and hence the imissed counter doesn't increment. Add support for RAW MAC filter to insert a wildcard matchall rule at the end of MPS TCAM to make MPS track the promisc traffic. This rule will only be added/removed wh

[dpdk-dev] [PATCH 1/2] net/cxgbe: use C11 atomics instead of rte_atomic ops

2021-06-02 Thread Rahul Lakkireddy
Replace rte_atomic ops with C11 atomics. Signed-off-by: Rahul Lakkireddy --- drivers/net/cxgbe/base/t4_hw.c | 1 - drivers/net/cxgbe/clip_tbl.c | 13 +++-- drivers/net/cxgbe/clip_tbl.h | 2 +- drivers/net/cxgbe/cxgbe_ethdev.c | 1 - drivers/net/cxgbe/cxgbe_main.c | 23

[dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support

2021-06-02 Thread Rahul Lakkireddy
Chelsio T6 ASIC doesn't track Rx promisc traffic dropped due to lack of Rx buffers and hence the imissed counter doesn't increment. Add support for RAW MAC filter to insert a wildcard matchall rule at the end of MPS TCAM to make MPS track the promisc traffic. Patch 1 converts all deprecated rte_at

Re: [dpdk-dev] [PATCH 2/2] eal: handle compressed firmwares

2021-06-02 Thread Dmitry Kozlyuk
2021-06-02 11:58 (UTC+0200), David Marchand: > Introduce an internal firmware loading helper to remove code duplication > in our drivers and handle xz compressed firmwares by calling libarchive. > > This helper tries to look for .xz suffixes so that drivers are not aware > the firmwares have been

Re: [dpdk-dev] [RFC PATCH] ethdev: add support for testpmd-compliant flow rule dumping

2021-06-02 Thread Stephen Hemminger
On Sun, 30 May 2021 07:27:32 + Ori Kam wrote: > > + retv = snprintf(buf + *nb_chars_total, write_size_max, > > + " %02x:%02x:%02x:%02x:%02x:%02x", > > + ab[0], ab[1], ab[2], ab[3], ab[4], ab[5]); please use existing rte_ether_format_addr instead of anoth

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-02 Thread Thomas Monjalon
02/06/2021 22:46, Stephen Hemminger: > On Wed, 2 Jun 2021 22:35:31 +0200 > Thomas Monjalon wrote: > > > +/** Store a list of info for a given GPU. */ > > +struct rte_gpu_info { > > + /** GPU device ID. */ > > + uint16_t gpu_id; > > + /** Unique identifier name. */ > > + char name[RTE_GPU

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-02 Thread Stephen Hemminger
On Wed, 2 Jun 2021 22:35:31 +0200 Thomas Monjalon wrote: > +/** Store a list of info for a given GPU. */ > +struct rte_gpu_info { > + /** GPU device ID. */ > + uint16_t gpu_id; > + /** Unique identifier name. */ > + char name[RTE_GPU_NAME_MAX_LEN]; > + /** Total memory availa

[dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-02 Thread Thomas Monjalon
From: Elena Agostini The new library gpudev is for dealing with GPU from a DPDK application in a vendor-agnostic way. As a first step, the features are focused on memory management. A function allows to allocate memory inside the GPU, while another one allows to use main (CPU) memory from the GP

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Ivan Malov
On 02/06/2021 20:35, Ilya Maximets wrote: (Dropped Broadcom folks from CC. Mail server refuses to accept their emails for some reason: "Recipient address rejected: Domain not found." Please, try to ad them back on reply.) On 6/2/21 6:26 PM, Andrew Rybchenko wrote: On 6/2/21 3:46 PM, Ilya Maxim

[dpdk-dev] [PATCH 3/3] app/test: adding cnxk asymmetric autotest

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar K Adding autotest for cn9k and cn10k. Signed-off-by: Kiran Kumar K --- app/test/test_cryptodev_asym.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c index b36eec9..847b074 100

[dpdk-dev] [PATCH 2/3] crypto/cnxk: add asymmetric datapath ops

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar K Adding asymmetric crypto datapath ops. Signed-off-by: Kiran Kumar K --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 108 ++ drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 112 +- drivers/crypto/cnxk/cnxk_ae.h | 615 ++ 3 files ch

[dpdk-dev] [PATCH 1/3] crypto/cnxk: add asymmetric session ops

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar K Adding asymmetric crypto session ops. Signed-off-by: Kiran Kumar K --- drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +- drivers/crypto/cnxk/cn9k_cryptodev.c | 4 +- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 6

[dpdk-dev] [PATCH 0/3] Add asymmetric ops in crypto cnxk PMDs

2021-06-02 Thread Anoob Joseph
Add support for asymmetric operations in crypto cnxk PMDs. Following operations are supported, - RSA - DSA - ECDSA - ECPM - Modular Exponentation Depends-on: series-17212 ("Add CPT in Marvell CNXK common driver") Depends-on: series-17213 ("Add Marvell CNXK crypto PMDs") Depends-on: series-17214 ("

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Ilya Maximets
(Dropped Broadcom folks from CC. Mail server refuses to accept their emails for some reason: "Recipient address rejected: Domain not found." Please, try to ad them back on reply.) On 6/2/21 6:26 PM, Andrew Rybchenko wrote: > On 6/2/21 3:46 PM, Ilya Maximets wrote: >> On 6/1/21 4:28 PM, Ivan Malov

[dpdk-dev] DTS improvement WG - Debate/triag inputs - Extending for next 5 weeks

2021-06-02 Thread Honnappa Nagarahalli
Hello, We will continuing debating/triaging the inputs from [1]. As discussed, I am blocking the calendar for next 4 weeks. Thank you, Honnappa [1] https://docs.google.com/document/d/1c5S0_mZzFvzZfYkqyORLT2-qNvUb-fBdjA6DGusy4yM/edit#

[dpdk-dev] [PATCH 4/4] crypto/cnxk: add security handling in datapath ops

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Add security handling in enqueue dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 78 ++- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 74

[dpdk-dev] [PATCH 3/4] crypto/cnxk: add security session ops

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Add security session ops in cn10k crypto PMD. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_ipsec.c | 520 ++

[dpdk-dev] [PATCH 2/4] crypto/cnxk: add security capabilities

2021-06-02 Thread Anoob Joseph
Add security capabilities supported by crypto cn10k PMD. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev.h | 4 + drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 114 ++ driv

[dpdk-dev] [PATCH 1/4] crypto/cnxk: add security ctx skeleton

2021-06-02 Thread Anoob Joseph
From: Srujana Challa Add security ctx in cn10k crypto PMD. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c| 10 +++ drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 47 drive

[dpdk-dev] [PATCH 0/4] Add rte_security in crypto_cn10k PMD

2021-06-02 Thread Anoob Joseph
Add rte_security (lookaside protocol - IPsec) support in crypto_cn10k. IPsec operations can be offloaded to CPT's SE and IE engines, which can process IPsec protcol operations including atomic sequence number increment (for outbound operations) and anti replay window check (for inbound operations)

[dpdk-dev] [PATCH 20/20] test/crypto: enable cnxk crypto PMDs

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Enable tests for cn9k & cn10k crypto PMDs. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- app/test/meson.build | 2 ++ app/test/test_cryptodev.c | 14 ++ app/test/test_crypt

[dpdk-dev] [PATCH 19/20] crypto/cnxk: add digest support

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Add support for digest support for various algorithms. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/cn10k.ini | 17 ++ doc/guides/cryptodevs/features/cn9k.i

[dpdk-dev] [PATCH 18/20] crypto/cnxk: add KASUMI decrypt

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Add KASUMI decrypt support. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 133 ++ 1 file changed, 133 insertions(+) d

[dpdk-dev] [PATCH 17/20] crypto/cnxk: add KASUMI encrypt

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Add KASUMI encrypt support. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/cryptodevs/features/cn9k.ini | 1 + drivers/crypto/c

[dpdk-dev] [PATCH 16/20] crypto/cnxk: add ZUC and SNOW3G decrypt

2021-06-02 Thread Anoob Joseph
From: Tejasree Kondoj Add PDCP opcode which handles ZUC and SNOW3G. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 209 +- 1 file changed, 20

[dpdk-dev] [PATCH 15/20] crypto/cnxk: add ZUC and SNOW3G encrypt

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add PDCP opcode which handles ZUC and SNOW3G. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/cn10k.ini | 2 + doc/guides/cryptodevs/features/cn9k.ini | 2

[dpdk-dev] [PATCH 14/20] crypto/cnxk: add flexi crypto cipher decrypt

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add flexi crypto cipher decrypt support in enqueue API. Flexi crypto opcode covers a broad set of ciphers including variants of AES. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/c

[dpdk-dev] [PATCH 13/20] crypto/cnxk: add flexi crypto cipher encrypt

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add flexi crypto cipher encrypt in enqueue API. Flexi crypto opcode covers a broad set of ciphers including variants of AES. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/crypto

[dpdk-dev] [PATCH 12/20] crypto/cnxk: add chained operation in session

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add support for chained operations in session. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/cn10k.ini | 2 ++ doc/guides/cryptodevs/features/cn9k.ini | 2

[dpdk-dev] [PATCH 11/20] crypto/cnxk: add aead operation in session

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add support for AEAD operations in session. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 3 ++ drivers/crypto/cnxk/cnxk_se.h| 65 ++

[dpdk-dev] [PATCH 10/20] crypto/cnxk: add auth operation in session

2021-06-02 Thread Anoob Joseph
Add support for auth operations in session. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 13 ++ drivers/crypto/cnxk/cnxk_se.h| 283 ++

[dpdk-dev] [PATCH 09/20] crypto/cnxk: add cipher operation in session

2021-06-02 Thread Anoob Joseph
Add support for cipher operation in session. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 3 + drivers/crypto/cnxk/cnxk_se.h| 386 ++

[dpdk-dev] [PATCH 08/20] crypto/cnxk: add dequeue burst op

2021-06-02 Thread Anoob Joseph
Add dequeue_burst op in cn9k & cn10k. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/cn10k.ini | 3 + doc/guides/cryptodevs/features/cn9k.ini | 3 + drivers/crypto/cnxk/cn10k_cr

[dpdk-dev] [PATCH 07/20] crypto/cnxk: add enqueue burst op

2021-06-02 Thread Anoob Joseph
Add enqueue_burst op in cn9k & cn10k. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 189 ++

[dpdk-dev] [PATCH 06/20] crypto/cnxk: add session ops framework

2021-06-02 Thread Anoob Joseph
Add session ops - sym_session_get_size - sym_session_configure - sym_session_clear Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +- drivers/crypto/cnxk/cn9k_cryptode

[dpdk-dev] [PATCH 05/20] crypto/cnxk: add queue pair ops

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add ops for - queue_pair_setup() - queue_pair_release() Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 4 +- drivers/crypto/cnxk/cn9k_cryptodev_ops

[dpdk-dev] [PATCH 04/20] crypto/cnxk: add symmetric crypto capabilities

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add symmetric crypto capabilities for cn9k & cn10k. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 4 + drivers/crypto/cnxk/cn9k_cryptodev.

[dpdk-dev] [PATCH 03/20] crypto/cnxk: add device control ops

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add ops for - dev_configure() - dev_start() - dev_stop() - dev_close() - dev_infos_get() Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 21 +++--

[dpdk-dev] [PATCH 02/20] crypto/cnxk: add probe and remove

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add probe & remove for cn9k & cn10k crypto PMDs. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph > Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 93 ++- drivers/crypto/c

[dpdk-dev] [PATCH 01/20] crypto/cnxk: add driver skeleton

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add driver skeleton for crypto_cn9k & crypto_cn10k PMDs leveraging cnxk common framework. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- MAINTAINERS | 9 +++ d

[dpdk-dev] [PATCH 00/20] Add Marvell CNXK crypto PMDs

2021-06-02 Thread Anoob Joseph
Add cnxk crypto PMDs supporting Marvell CN106XX SoC, based on 'common/cnxk'. This series utilizes 'common/cnxk' to register cn9k & cn10k crypto PMDs and add symmetric cryptographic features for the same. Depends-on: series-17212 ("Add CPT in Marvell CNXK common driver") Ankur Dwivedi (5): cryp

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Andrew Rybchenko
On 6/2/21 3:46 PM, Ilya Maximets wrote: > On 6/1/21 4:28 PM, Ivan Malov wrote: >> Hi Ilya, >> >> Thank you for reviewing the proposal at such short notice. I'm afraid that >> prior discussions overlook the simple fact that the whole problem is not >> limited to just VF representors. Action PORT_I

Re: [dpdk-dev] [PATCH v7 10/10] Enable the new EAL thread API

2021-06-02 Thread Narcisa Ana Maria Vasile
On Wed, Jun 02, 2021 at 03:50:02PM +, Tal Shnaiderman wrote: > > Subject: [PATCH v7 10/10] Enable the new EAL thread API > > > > External email: Use caution opening links or attachments > > > > > > From: Narcisa Vasile > > > > Rename pthread_* occurrences with the new rte_thread_* API. > >

[dpdk-dev] [PATCH 11/11] common/cnxk: add fpm tables

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda Add scalar FPM tables to be used for asymmetric operations. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda --- drivers/common/cnxk/meson.build |1 + drivers/common/cnxk/roc_ae_fpm_tables.c | 1140 +++

[dpdk-dev] [PATCH 10/11] common/cnxk: add lmtline init

2021-06-02 Thread Anoob Joseph
Add routine to initialize LMTLINE which facilitates instruction submission to CPT. Add common macros required in the enqueue operations. Signed-off-by: Anoob Joseph Signed-off-by: Ankur Dwivedi --- drivers/common/cnxk/roc_cpt.c | 20 drivers/common/cnxk/roc_cpt.h | 31

[dpdk-dev] [PATCH 09/11] common/cnxk: add AE microcode defines

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda Microcode AE opcodes support asymmetric operations. Add defines and structs defined by microcode. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda --- drivers/common/cnxk/roc_ae.h | 56 +++ drivers/com

[dpdk-dev] [PATCH 08/11] common/cnxk: add IE microcode defines

2021-06-02 Thread Anoob Joseph
From: Srujana Challa Microcode IE opcodes support IPsec operations. Add defines and structs defined by microcode. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/roc_api.h | 2 + drivers/common/cnxk/roc_ie.h | 19

[dpdk-dev] [PATCH 07/11] common/cnxk: add SE microcode defines

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda Microcode SE opcodes support symmetric operations. Add defines and structs defined by microcode. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_api.h | 3 + drivers/common/cn

[dpdk-dev] [PATCH 06/11] common/cnxk: add CPT LF flush

2021-06-02 Thread Anoob Joseph
From: Aakash Sasidharan Add routine to flush context from CPT context processor cache. Signed-off-by: Aakash Sasidharan Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c | 18 ++ drivers/common/cnxk/roc_cpt.h | 1 + drivers/common/cnxk/version.map |

[dpdk-dev] [PATCH 05/11] common/cnxk: add CPT diagnostics

2021-06-02 Thread Anoob Joseph
From: Aakash Sasidharan Add routines to fetch and dump CPT statistics and states. Signed-off-by: Aakash Sasidharan Signed-off-by: Srujana Challa --- drivers/common/cnxk/roc_cpt.c | 182 drivers/common/cnxk/roc_cpt.h | 2 + drivers/common/cnxk/ve

[dpdk-dev] [PATCH 04/11] common/cnxk: add CPT LF config

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add routines to init & fini CPT LFs. CPT LFs are queues to the hardware enabling instruction submissions. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c | 262 ++

[dpdk-dev] [PATCH 03/11] common/cnxk: add mbox to configure RXC

2021-06-02 Thread Anoob Joseph
From: Vidya Sagar Velumuri Add mailbox to configure tiemouts and thresholds in CPT RXC unit. Signed-off-by: Aakash Sasidharan Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c | 27 +++ drivers/common/cnxk/roc_cpt.h | 10 ++ drivers/com

[dpdk-dev] [PATCH 02/11] common/cnxk: add CPT dev config routines

2021-06-02 Thread Anoob Joseph
Add routines to init, fini, configure & clear CPT device. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/meson.build| 1 + drivers/common/cnxk/roc_api.h | 3 + drivers/common/cnxk/roc_cpt.c | 273 +

[dpdk-dev] [PATCH 01/11] common/cnxk: add CPT HW defines

2021-06-02 Thread Anoob Joseph
From: Vidya Sagar Velumuri Add CPT hardware definitions. CPT is the hardware block on cnxk family of processors, that can be used to offload cryptographic operations. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/hw/cpt.h | 201 +

[dpdk-dev] [PATCH 00/11] Add CPT in Marvell CNXK common driver

2021-06-02 Thread Anoob Joseph
This patchset adds initial support for CPT in common code for Marvell CN10K SoC. CPT is the hardware cryptographic block available in 'cnxk' family SoC. CPT, with its microcoded engines can support symmetric, asymmetric and IPsec operations. CPT can associate with NIX (rte_ethdev) to enable inline

Re: [dpdk-dev] [PATCH v7 10/10] Enable the new EAL thread API

2021-06-02 Thread Tal Shnaiderman
> Subject: [PATCH v7 10/10] Enable the new EAL thread API > > External email: Use caution opening links or attachments > > > From: Narcisa Vasile > > Rename pthread_* occurrences with the new rte_thread_* API. > Enable the new API in the build system. > --- Hi Naty, I wanted to run some basi

Re: [dpdk-dev] [PATCH 2/2] eal: handle compressed firmwares

2021-06-02 Thread David Marchand
On Wed, Jun 2, 2021 at 1:13 PM Jerin Jacob wrote: > > +static int > > +firmware_read(const char *name, void **buf, size_t *bufsz) > > +{ > > + const size_t blocksize = 4096; > > + int ret = -1; > > + int err; > > +#ifdef RTE_HAS_LIBARCHIVE > > > I think, better to have small inli

[dpdk-dev] 19.11.9 patches review and test

2021-06-02 Thread Christian Ehrhardt
Hi all, Here is a list of patches targeted for stable release 19.11.9. The planned date for the final release is the 16th of June. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported val

[dpdk-dev] [PATCH] kni: fix compilation on SLES15-SP3

2021-06-02 Thread Christian Ehrhardt
Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix build with Linux 5.6"), a new parameter 'txqueue' has to be added to 'ndo_tx_timeout' ndo on SLES 15-SP3 kernel. Caused by: commit c3bf155c40e9db722feb8a08c19efd44c12d5294 Author: Thomas Bogendoerfer Date: Fri Sep 11

[dpdk-dev] DTS Workgroup: MoM 06/02/2021

2021-06-02 Thread Honnappa Nagarahalli
Attendees: Aaron Conole Daniel Martin Buckley Honnappa Nagarahalli Juraj Linkes Lijuan Tu Lincoln Lavoie The meeting announcements are sent to dev@dpdk.org. Minutes: 1) Juraj has completed creating the excel sheet identifying the test cases that modify the code [2]. 2) The work item related disc

Re: [dpdk-dev] [RFC PATCH] ethdev: add support for testpmd-compliant flow rule dumping

2021-06-02 Thread Andrew Rybchenko
Hi Ori, On 6/2/21 4:32 PM, Ori Kam wrote: > Hi Ivan, > >> -Original Message- >> From: Ivan Malov >> >> Hi Ori, >> >> Your review efforts are much appreciated. I understand your concern >> about the partial item/action coverage, but there are some points to be >> considered when addressin

Re: [dpdk-dev] [RFC PATCH] ethdev: add support for testpmd-compliant flow rule dumping

2021-06-02 Thread Ori Kam
Hi Ivan, > -Original Message- > From: Ivan Malov > > Hi Ori, > > Your review efforts are much appreciated. I understand your concern > about the partial item/action coverage, but there are some points to be > considered when addressing it: > - It's anyway hardly possible to use the prin

[dpdk-dev] [RFC] Support metering policy for yellow color in mlx5 PMD

2021-06-02 Thread Bing Zhao
The current API of metering can support different policies for different colors, as described in the header file "rte_mtr.h". /** * Meter policy */ struct rte_mtr_meter_policy_params { /** * Policy action list per color. * actions[i] potentially repr

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Andrew Rybchenko
On 6/2/21 3:16 PM, Thomas Monjalon wrote: > 01/06/2021 14:10, Ilya Maximets: >> On 6/1/21 1:14 PM, Ivan Malov wrote: >>> By its very name, action PORT_ID means that packets hit an ethdev with the >>> given DPDK port ID. At least the current comments don't state the opposite. >>> That said, since po

Re: [dpdk-dev] [PATCH v1 2/7] net/af_xdp: add power monitor support

2021-06-02 Thread Loftus, Ciara
> Subject: [PATCH v1 2/7] net/af_xdp: add power monitor support > > Implement support for .get_monitor_addr in AF_XDP driver. > > Signed-off-by: Anatoly Burakov Thanks Anatoly. LGTM. Acked-by: Ciara Loftus > --- > drivers/net/af_xdp/rte_eth_af_xdp.c | 25 + > 1 file

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Ilya Maximets
On 6/2/21 2:16 PM, Thomas Monjalon wrote: > 01/06/2021 14:10, Ilya Maximets: >> On 6/1/21 1:14 PM, Ivan Malov wrote: >>> By its very name, action PORT_ID means that packets hit an ethdev with the >>> given DPDK port ID. At least the current comments don't state the opposite. >>> That said, since po

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Ilya Maximets
On 6/1/21 4:28 PM, Ivan Malov wrote: > Hi Ilya, > > Thank you for reviewing the proposal at such short notice. I'm afraid that > prior discussions overlook the simple fact that the whole problem is not > limited to just VF representors. Action PORT_ID is also used with respect to > the admin PF

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Ivan Malov
On 02/06/2021 14:21, Eli Britstein wrote: On 6/2/2021 1:50 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments On 6/2/21 12:57 PM, Eli Britstein wrote: On 6/1/2021 5:53 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments On

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Thomas Monjalon
01/06/2021 14:10, Ilya Maximets: > On 6/1/21 1:14 PM, Ivan Malov wrote: > > By its very name, action PORT_ID means that packets hit an ethdev with the > > given DPDK port ID. At least the current comments don't state the opposite. > > That said, since port representors had been adopted, application

[dpdk-dev] [PATCH v2] doc: add deprecation notice for PIE active queue management changes

2021-06-02 Thread Liguzinski, WojciechX
Add deprecation note for making changes related to implementation of PIE based active queue management support to DPDK scheduler library. These changes are aligned as suggested in the RFC[1]. https://mails.dpdk.org/archives/dev/2021-May/210067.html Signed-off-by: Liguzinski, WojciechX --- doc/g

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Andrew Rybchenko
On 6/2/21 2:21 PM, Eli Britstein wrote: > > On 6/2/2021 1:50 PM, Andrew Rybchenko wrote: >> External email: Use caution opening links or attachments >> >> >> On 6/2/21 12:57 PM, Eli Britstein wrote: >>> On 6/1/2021 5:53 PM, Andrew Rybchenko wrote: External email: Use caution opening links or

Re: [dpdk-dev] [EXT] [PATCH 2/2] eal: handle compressed firmwares

2021-06-02 Thread Igor Russkikh
> Introduce an internal firmware loading helper to remove code duplication > in our drivers and handle xz compressed firmwares by calling libarchive. > > This helper tries to look for .xz suffixes so that drivers are not aware > the firmwares have been compressed. > > libarchive is set as an op

Re: [dpdk-dev] [EXT] [PATCH 0/2] Support compressed firmwares

2021-06-02 Thread Igor Russkikh
On 6/2/2021 1:05 PM, David Marchand wrote: > On Wed, Jun 2, 2021 at 12:38 PM Igor Russkikh wrote: >> We (Marvell QED) already provide packed version of FW in linux-firmware: >> >> But thats a custom name, and zlib. > > Whatever binary blob is available in linux-firmware upstream repo, it > en

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Eli Britstein
On 6/2/2021 1:50 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments On 6/2/21 12:57 PM, Eli Britstein wrote: On 6/1/2021 5:53 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments On 6/1/21 5:44 PM, Eli Britstein wrote: On

Re: [dpdk-dev] [PATCH v1] examples/power: add baseline mode to PMD power

2021-06-02 Thread Burakov, Anatoly
On 31-May-21 12:30 PM, David Hunt wrote: The PMD Power Management scheme currently has 3 modes, scale, monitor and pause. However, it would be nice to have a baseline mode for easy comparison of power savings with and without these modes. This patch adds a 'baseline' mode were the pmd power mana

Re: [dpdk-dev] [PATCH 2/2] eal: handle compressed firmwares

2021-06-02 Thread Jerin Jacob
On Wed, Jun 2, 2021 at 3:29 PM David Marchand wrote: > > Introduce an internal firmware loading helper to remove code duplication > in our drivers and handle xz compressed firmwares by calling libarchive. > > This helper tries to look for .xz suffixes so that drivers are not aware > the firmwares

Re: [dpdk-dev] [PATCH v2] vfio: fix stdbool usage without include

2021-06-02 Thread Burakov, Anatoly
On 01-Jun-21 9:28 AM, Christian Ehrhardt wrote: This became visible by backporting the following for the 19.11 stable tree: c13ca4e8 "vfio: fix DMA mapping granularity for IOVA as VA" The usage of type bool in the vfio code would require "#include ", but rte_vfio.h has no direct paths to stdbo

Re: [dpdk-dev] [EXT] [PATCH 0/2] Support compressed firmwares

2021-06-02 Thread David Marchand
On Wed, Jun 2, 2021 at 12:38 PM Igor Russkikh wrote: > We (Marvell QED) already provide packed version of FW in linux-firmware: > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qed > > But thats a custom name, and zlib. Whatever binary blob is available in linux-

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Andrew Rybchenko
On 6/2/21 12:57 PM, Eli Britstein wrote: > > On 6/1/2021 5:53 PM, Andrew Rybchenko wrote: >> External email: Use caution opening links or attachments >> >> >> On 6/1/21 5:44 PM, Eli Britstein wrote: >>> On 6/1/2021 5:35 PM, Andrew Rybchenko wrote: External email: Use caution opening links or

Re: [dpdk-dev] [EXT] [PATCH 0/2] Support compressed firmwares

2021-06-02 Thread Igor Russkikh
> Fedora 34 only provides compressed firmwares. > > Introduce an internal driver helper to handle transparently compression. > > I chose libarchive for decompressing as it seems widely available and > DPDK had used it in the past. > > Windows support only matters for net/ice and firmware loadi

[dpdk-dev] [PATCH 2/2] eal: handle compressed firmwares

2021-06-02 Thread David Marchand
Introduce an internal firmware loading helper to remove code duplication in our drivers and handle xz compressed firmwares by calling libarchive. This helper tries to look for .xz suffixes so that drivers are not aware the firmwares have been compressed. libarchive is set as an optional dependenc

[dpdk-dev] [PATCH 1/2] net/ice: factorize firmware loading

2021-06-02 Thread David Marchand
Both "normal" and "dcf" inits have their copy of some firmware loading code. The DSN query is moved in specific parts for the "normal" and "dcf" init. A common helper ice_load_pkg is then introduced and takes an adapter pointer as its main input. This helper takes care of finding the right firmw

[dpdk-dev] [PATCH 0/2] Support compressed firmwares

2021-06-02 Thread David Marchand
Fedora 34 only provides compressed firmwares. Introduce an internal driver helper to handle transparently compression. I chose libarchive for decompressing as it seems widely available and DPDK had used it in the past. Windows support only matters for net/ice and firmware loading was skipped in

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-02 Thread Eli Britstein
On 6/1/2021 5:53 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments On 6/1/21 5:44 PM, Eli Britstein wrote: On 6/1/2021 5:35 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments On 6/1/21 4:24 PM, Eli Britstein wrote: On 6

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-06-02 Thread Gregory Etelson
Hello, Is there another concern about that patch ? Please comment. Regards, Gregory > -Original Message- > From: Gregory Etelson > Sent: Monday, May 31, 2021 14:10 > To: Ananyev, Konstantin ; Morten Brørup > ; dev@dpdk.org > Cc: Matan Azrad ; Ori Kam ; > Raslan Darawsheh ; Iremonger, Ber

[dpdk-dev] [PATCH v2] bitmap: fix buffer overrun in bitmap init function

2021-06-02 Thread Andrew Rybchenko
From: Ivan Ilchenko Bitmap initialization function is allowed to memset() caller-provided buffer with number of bytes exceeded this buffer size. This happens due to wrong comparison sign between buffer size and number of bytes required to initialize bitmap. Fixes: 602c9ca33a4 ("sched: bitmap is

Re: [dpdk-dev] [PATCH] bitmap: fix buffer overrun in bitmap init function

2021-06-02 Thread Andrew Rybchenko
On 6/2/21 12:06 PM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Bitmap initialization function is allowed to memset > caller-provided buffer with number of bytes exceeded > this buffer size. This happens due to wrong comparision > sign between buffer size and number of bytes required > to i

[dpdk-dev] [PATCH v5 24/24] net/ngbe: add device stop operation

2021-06-02 Thread Jiawen Wu
Support to stop, close and reset device. Signed-off-by: Jiawen Wu --- drivers/net/ngbe/ngbe_ethdev.c | 123 - drivers/net/ngbe/ngbe_ethdev.h | 7 ++ drivers/net/ngbe/ngbe_rxtx.c | 47 + 3 files changed, 175 insertions(+), 2 deletions(-) diff --gi

[dpdk-dev] [PATCH v5 23/24] net/ngbe: start and stop RxTx

2021-06-02 Thread Jiawen Wu
Support to start and stop receive and transmit unit for specified queues. Signed-off-by: Jiawen Wu --- doc/guides/nics/features/ngbe.ini | 1 + drivers/net/ngbe/base/ngbe_dummy.h | 15 ++ drivers/net/ngbe/base/ngbe_hw.c| 105 ++ drivers/net/ngbe/base/ngbe_hw.h| 4 + drivers

[dpdk-dev] [PATCH v5 22/24] net/ngbe: add device start operation

2021-06-02 Thread Jiawen Wu
Setup misx interrupt, complete PHY configuration and set device link speed, to start device. Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_dummy.h | 16 + drivers/net/ngbe/base/ngbe_hw.c | 50 drivers/net/ngbe/base/ngbe_hw.h | 4 + drivers/net/ngbe/base/ngbe_phy.c

[dpdk-dev] [PATCH v5 21/24] net/ngbe: support full-featured Tx path

2021-06-02 Thread Jiawen Wu
Add the full-featured transmit function, which supports checksum, TSO, tunnel parse, etc. Signed-off-by: Jiawen Wu --- doc/guides/nics/features/ngbe.ini | 3 + doc/guides/nics/ngbe.rst | 3 +- drivers/net/ngbe/meson.build | 2 + drivers/net/ngbe/ngbe_ethdev.c| 16 +- dri

[dpdk-dev] [PATCH v5 20/24] net/ngbe: support bulk and scatter Rx

2021-06-02 Thread Jiawen Wu
Add bulk allocation receive function, and support scattered Rx rely on Rx offload. Signed-off-by: Jiawen Wu --- doc/guides/nics/ngbe.rst | 1 + drivers/net/ngbe/ngbe_ethdev.c | 15 +- drivers/net/ngbe/ngbe_ethdev.h | 8 + drivers/net/ngbe/ngbe_rxtx.c | 583 ++

  1   2   >