[dpdk-dev] Patch not seen in the Patchwork

2018-10-09 Thread Leah Tekoa
Hi, My name is Leah Tekoa and I am working at Ethernity Networks. I am a new contributor to DPDK. I am trying to submit code to DPDK. I followed the instructions under: https://doc.dpdk.org/guides-18.08/contributing/patches.html * I registered to the DPDK development mailing list. * I r

Re: [dpdk-dev] [PATCH v3 8/8] doc: add guides for fips validation

2018-10-09 Thread Akhil Goyal
On 10/4/2018 6:42 PM, Fan Zhang wrote: From: Marko Kovacevic Document explains how to run the fips sample app and instructions users need to parser all the request files and generate the response files. Signed-off-by: Marko Kovacevic Signed-off-by: Fan Zhang --- doc/guides/rel_notes/rel

Re: [dpdk-dev] [PATCH] net/mlx5: eswitch-IP address UDP/TCP port rewrite

2018-10-09 Thread Jack Min
On 18-10-09 06:08:32, Yongseok Koh wrote: > On Mon, Oct 08, 2018 at 07:22:03PM +0800, Xiaoyu Min wrote: > > On 18-10-02 04:19:00, Yongseok Koh wrote: > > > On Sun, Sep 30, 2018 at 03:21:04PM +0800, Xiaoyu Min wrote: > > > > On 18-09-29 07:03:33, Yongseok Koh wrote: > > > > > On Tue, Sep 25, 2018 at

Re: [dpdk-dev] [PATCH 2/7] net/mlx5: use standard IP protocol numbers

2018-10-09 Thread Ori Kam
Hi, PSB > -Original Message- > From: Yongseok Koh > Sent: Monday, October 8, 2018 9:02 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam > > Subject: [PATCH 2/7] net/mlx5: use standard IP protocol numbers > > Fixes: 0f8775dd8f1c ("net/mlx5: add support for multiple flow

Re: [dpdk-dev] [PATCH 3/7] net/mlx5: rename flow macros

2018-10-09 Thread Ori Kam
> -Original Message- > From: Yongseok Koh > Sent: Monday, October 8, 2018 9:02 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam > > Subject: [PATCH 3/7] net/mlx5: rename flow macros > > MLX5_ACTION_* -> MLX5_FLOW_ACTION_* > MLX5_VXLAN* -> MLX5_UDP_PORT_VXLAN* > > Fix

Re: [dpdk-dev] [PATCH 1/7] net/mlx5: fix wrong flow action macro usage

2018-10-09 Thread Ori Kam
> -Original Message- > From: Yongseok Koh > Sent: Monday, October 8, 2018 9:02 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam > > Subject: [PATCH 1/7] net/mlx5: fix wrong flow action macro usage > > Fixes: 5c83c536783c ("net/mlx5: add Direct Verbs final functions")

Re: [dpdk-dev] [PATCH] failsafe: use prefix for set_burst_fn

2018-10-09 Thread Gaëtan Rivet
On Mon, Oct 08, 2018 at 03:31:40PM -0700, Stephen Hemminger wrote: > All other visible functions in failsafe driver have 'failsafe_' > prefix. > > Signed-off-by: Stephen Hemminger Acked-by: Gaetan Rivet > --- > drivers/net/failsafe/failsafe_ether.c | 2 +- > drivers/net/failsafe/failsafe_pr

Re: [dpdk-dev] [PATCH 4/7] net/mlx5: fix validation of VLAN ID in flow spec

2018-10-09 Thread Ori Kam
> -Original Message- > From: Yongseok Koh > Sent: Monday, October 8, 2018 9:02 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam > > Subject: [PATCH 4/7] net/mlx5: fix validation of VLAN ID in flow spec > > This can cause crash by null pointer reference. > > Fixes: 4f

Re: [dpdk-dev] [PATCH 5/7] net/mlx5: fix flow validation for no fate action

2018-10-09 Thread Ori Kam
> -Original Message- > From: Yongseok Koh > Sent: Monday, October 8, 2018 9:02 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam > > Subject: [PATCH 5/7] net/mlx5: fix flow validation for no fate action > > Fixes: 4f07e13d6af5 ("net/mlx5: split flow validation to dedic

Re: [dpdk-dev] [PATCH 7/7] net/mlx5: fix errno values for flow engine

2018-10-09 Thread Ori Kam
> -Original Message- > From: Yongseok Koh > Sent: Monday, October 8, 2018 9:02 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam > > Subject: [PATCH 7/7] net/mlx5: fix errno values for flow engine > > Fixes: 4f07e13d6af5 ("net/mlx5: split flow validation to dedicated f

[dpdk-dev] [PATCH 2/2] test/bitmap: implement reverse bitmap scan test

2018-10-09 Thread Vivek Sharma
This patch implements support for testing bitmap reverse scan. Bits in bitmap are changed to be an exact multiple of slab size. Signed-off-by: Vivek Sharma --- Prerequisite: * Note that this patchset is dependent on patch: 'http://patches.dpdk.org/patch/45307/' test/test/test_bitmap.c | 71 ++

[dpdk-dev] [PATCH 0/2] eal/bitmap: support reverse bitmap scan

2018-10-09 Thread Vivek Sharma
This patchset implements the support for reverse bitmap scanning along with test support. Reverse scanning is quite useful when bit position signifies an ordering according to some attribute, e.g., priority ordering. Prerequisite: * Note that this patchset is dependent on patch:- 'http://patches

[dpdk-dev] [PATCH 1/2] eal/bitmap: support bitmap reverse scanning

2018-10-09 Thread Vivek Sharma
Currently bitmap supports only forward scanning starting from zero bit position. This patch implements reverse scanning starting from highest bit position towards zero bit position. Signed-off-by: Vivek Sharma --- Prerequisite: * Note that this patchset is dependent on patch: 'http://patches.dp

Re: [dpdk-dev] [PATCH v4 11/19] vhost: introduce postcopy's advise message

2018-10-09 Thread Maxime Coquelin
On 10/08/2018 06:22 PM, Ilya Maximets wrote: On 08.10.2018 18:25, Maxime Coquelin wrote: This patch opens a userfaultfd and sends it back to Qemu's VHOST_USER_POSTCOPY_ADVISE request. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h |

Re: [dpdk-dev] [PATCH 2/7] net/mlx5: use standard IP protocol numbers

2018-10-09 Thread Yongseok Koh
> On Oct 9, 2018, at 12:37 AM, Ori Kam wrote: > > Hi, > PSB > >> -Original Message- >> From: Yongseok Koh >> Sent: Monday, October 8, 2018 9:02 PM >> To: Shahaf Shuler >> Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam >> >> Subject: [PATCH 2/7] net/mlx5: use standard IP protocol numbers >>

Re: [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)

2018-10-09 Thread Ferruh Yigit
On 10/9/2018 5:35 AM, chetan bhasin wrote: > Thanks for your reply . > > The issue coming in function "vmxnet3_dev_tx_queue_setup" > > below if condition is true because "tx_conf->txq_flags is coming as 0" > > if ((tx_conf->txq_flags & ETH_TXQ_FLAGS_NOXSUMSCTP) != > ETH_TXQ_FLAGS_NOX

Re: [dpdk-dev] [PATCH v4 01/19] vhost: fix messages error checks

2018-10-09 Thread Tiwei Bie
On Mon, Oct 08, 2018 at 05:25:39PM +0200, Maxime Coquelin wrote: > Return of message handling has now changed to an enum that can > take non-negative value that is not zero in case a reply is > needed. But the code checking the variable afterwards has not > been updated, leading to success messages

Re: [dpdk-dev] [PATCH 3/7] net/mlx5: rename flow macros

2018-10-09 Thread Yongseok Koh
> On Oct 9, 2018, at 12:43 AM, Ori Kam wrote: > > > >> -Original Message- >> From: Yongseok Koh >> Sent: Monday, October 8, 2018 9:02 PM >> To: Shahaf Shuler >> Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam >> >> Subject: [PATCH 3/7] net/mlx5: rename flow macros >> >> MLX5_ACTION_* -> M

Re: [dpdk-dev] [PATCH v4 02/19] vhost: fix return code of messages requiring replies

2018-10-09 Thread Tiwei Bie
On Mon, Oct 08, 2018 at 05:25:40PM +0200, Maxime Coquelin wrote: > VHOST_USER_GET_PROTOCOL_FEATURES, VHOST_USER_GET_VRING_BASE > and VHOST_USER_SET_LOG_BASE require replies, so their handlers > should return VH_RESULT_REPLY, not VH_RESULT_OK. > > Fixes: 0bff510b5ea6 ("vhost: unify message handling

Re: [dpdk-dev] [PATCH v4 03/19] vhost: clarify reply-ack in case a reply was already sent

2018-10-09 Thread Tiwei Bie
On Mon, Oct 08, 2018 at 05:25:41PM +0200, Maxime Coquelin wrote: > For messages that require a reply, a second ack should not be > sent when reply-ack protocol feature is negotiated, even if > the corresponding flag is set in the message. > > The code is compliant with the spec but it isn't clear

Re: [dpdk-dev] [PATCH 3/7] net/mlx5: rename flow macros

2018-10-09 Thread Yongseok Koh
> On Oct 9, 2018, at 12:43 AM, Ori Kam wrote: > > > >> -Original Message- >> From: Yongseok Koh >> Sent: Monday, October 8, 2018 9:02 PM >> To: Shahaf Shuler >> Cc: dev@dpdk.org; Yongseok Koh ; Ori Kam >> >> Subject: [PATCH 3/7] net/mlx5: rename flow macros >> >> MLX5_ACTION_* -> M

Re: [dpdk-dev] [PATCH v2] net/mlx5: support multiple groups and jump action

2018-10-09 Thread Ori Kam
> -Original Message- > From: dev On Behalf Of Yongseok Koh > Sent: Monday, October 8, 2018 9:06 PM > To: Shahaf Shuler > Cc: dev@dpdk.org; Yongseok Koh > Subject: [dpdk-dev] [PATCH v2] net/mlx5: support multiple groups and jump > action > > rte_flow has 'group' attribute and 'jump' a

Re: [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)

2018-10-09 Thread chetan bhasin
Thanks a lot Let me check in vpp's DPDK plugin what value is passed. Thanks, Chetan Bhasin On Tue, Oct 9, 2018 at 1:35 PM Ferruh Yigit wrote: > On 10/9/2018 5:35 AM, chetan bhasin wrote: > > Thanks for your reply . > > > > The issue coming in function "vmxnet3_dev_tx_queue_setup" > > > > belo

Re: [dpdk-dev] Patch not seen in the Patchwork

2018-10-09 Thread Akhil Goyal
Hi, I think your office network may have some restrictions. You may try sending the patches to some other mail id outside your office network. Or you can try sending the patches using a network connection outside your organization's network. Akhil On 10/9/2018 12:30 PM, Leah Tekoa wrote: Hi

[dpdk-dev] [PATCH v3 0/3] ethdev: add IP address and TCP/UDP port rewrite actions to flow API

2018-10-09 Thread Rahul Lakkireddy
This series of patches add support for actions: - SET_IPV4_SRC - set a new IPv4 source address. - SET_IPV4_DST - set a new IPv4 destination address. - SET_IPV6_SRC - set a new IPv6 source address. - SET_IPV6_DST - set a new IPv6 destination address. - SET_TP_SRC - set a new TCP/UDP source port numb

[dpdk-dev] [PATCH v3 2/3] ethdev: add flow api actions to modify TCP/UDP port numbers

2018-10-09 Thread Rahul Lakkireddy
Add actions: - SET_TP_SRC - set a new TCP/UDP source port number. - SET_TP_DST - set a new TCP/UDP destination port number. Original work by Shagun Agrawal Signed-off-by: Rahul Lakkireddy Acked-by: Xiaoyu Min Acked-by: Ori Kam Acked-by: Andrew Rybchenko --- v3: - Replaced uint16_t with rte_be

[dpdk-dev] [PATCH v3 3/3] net/cxgbe: add flow actions to modify IP and TCP/UDP port address

2018-10-09 Thread Rahul Lakkireddy
Query firmware for the new filter work request to offload flows with actions to modify IP and TCP/UDP port addresses. When available, translate IP and TCP/UDP port address modify actions to internal hardware specification and offload the flow to hardware. Original work by Shagun Agrawal Signed-of

[dpdk-dev] [PATCH v3 1/3] ethdev: add flow api actions to modify IP addresses

2018-10-09 Thread Rahul Lakkireddy
Add actions: - SET_IPV4_SRC - set a new IPv4 source address. - SET_IPV4_DST - set a new IPv4 destination address. - SET_IPV6_SRC - set a new IPv6 source address. - SET_IPV6_DST - set a new IPv6 destination address. Original work by Shagun Agrawal Signed-off-by: Rahul Lakkireddy Acked-by: Xiaoyu

Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load

2018-10-09 Thread Olivier Matz
Hi, On Mon, Oct 08, 2018 at 12:30:15PM +, Ola Liljedahl wrote: > > > On 08/10/2018, 14:21, "Jerin Jacob" wrote: > > -Original Message- > > Date: Mon, 8 Oct 2018 17:35:25 +0530 > > From: Jerin Jacob > > To: Ola Liljedahl > > CC: "dev@dpdk.org" , Honnappa Nagar

Re: [dpdk-dev] [PATCH] net/mlx5: eswitch-IP address UDP/TCP port rewrite

2018-10-09 Thread Yongseok Koh
> On Oct 9, 2018, at 12:03 AM, Jack Min wrote: > > On 18-10-09 06:08:32, Yongseok Koh wrote: >> On Mon, Oct 08, 2018 at 07:22:03PM +0800, Xiaoyu Min wrote: >>> On 18-10-02 04:19:00, Yongseok Koh wrote: On Sun, Sep 30, 2018 at 03:21:04PM +0800, Xiaoyu Min wrote: > On 18-09-29 07:03:33,

Re: [dpdk-dev] [PATCH v3] mbuf: clarify QINQ flag usage

2018-10-09 Thread Olivier Matz
On Wed, Oct 03, 2018 at 04:19:12PM +0100, Ferruh Yigit wrote: > Update implementation that when PKT_RX_QINQ_STRIPPED mbuf ol_flags > set by PMD, PKT_RX_QINQ, PKT_RX_VLAN_STRIPPED & PKT_RX_VLAN > should be also set. > > Clarify mbuf documentations that when PKT_RX_QINQ set PKT_RX_VLAN also > should

Re: [dpdk-dev] [PATCH 0/7] net/mlx5: fixes for the new flow engine

2018-10-09 Thread Shahaf Shuler
Monday, October 8, 2018 9:02 PM, Yongseok Koh: > Subject: [PATCH 0/7] net/mlx5: fixes for the new flow engine > > Minor fixes accumulated since the following two patchsets. > > net/mlx5: add Direct Verbs flow driver support [1] > net/mlx5: migrate Linux TC flower driver to new flow en

Re: [dpdk-dev] [PATCH 3/4] ethdev: move representor parsing functions

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 5:18 AM, Thomas Monjalon wrote: The functions for representor devargs parsing were static in the file rte_ethdev.c. In order to reuse them in the file rte_class_eth.c, they are moved to the files ethdev_private.c/.h. Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko

Re: [dpdk-dev] [PATCH v2] test: restructure and cleanup ring PMD test

2018-10-09 Thread Pattan, Reshma
> -Original Message- > From: Parthasarathy, JananeeX M > Sent: Wednesday, September 26, 2018 2:11 PM > To: dev@dpdk.org > Cc: Pattan, Reshma ; Chaitanya Babu, TalluriX > > Subject: [PATCH v2] test: restructure and cleanup ring PMD test > > From: Chaitanya Babu Talluri > > Divided mai

[dpdk-dev] [PATCH v4 01/23] crypto/octeontx: add PMD skeleton

2018-10-09 Thread Anoob Joseph
Adding OCTEON TX crypto PMD skeleton. Updating the maintainers files to claim responsibility. Also enabling driver by default by adding the component in common_base. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-

[dpdk-dev] [PATCH v4 00/23] Adding Cavium's OCTEON TX crypto PMD

2018-10-09 Thread Anoob Joseph
v4: * Marged the following v3 patches (Akhil & Thomas), - 01/32 & 02/32 - 03/32, 04/32 & 05/32 - 06/32 & 07/32 - 13/32 & 14/32 - 15/32 & 16/32 - 17/32 & 18/32 - 27/32 & 28/32 - 29/32 & 30/32 * Replaced usages OCTEONTX with OCTEON TX (Thomas & Jerin) * Fixed commit lo

[dpdk-dev] [PATCH v4 02/23] crypto/octeontx: add hardware init routine

2018-10-09 Thread Anoob Joseph
From: Ankur Dwivedi Adding hardware init routine for OCTEON TX crypto device. A place holder is added for misc polling routine. That will be added in the further patches. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Sign

[dpdk-dev] [PATCH v4 06/23] crypto/octeontx: add global resource init

2018-10-09 Thread Anoob Joseph
Adding initialization of global resources. This will be saved as metadata in cptvf and would be used by common code. Exit path for failure case is also added along with the new routines. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Da

[dpdk-dev] [PATCH v4 04/23] crypto/octeontx: add symmetric capabilities

2018-10-09 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the symmetric algorithms capabilities supported by octeontx crypto hardware. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasub

[dpdk-dev] [PATCH v4 05/23] common/cpt: add PMD ops helper functions

2018-10-09 Thread Anoob Joseph
Adding pmd ops helper functions. Control path accessed APIs would be added as helper functions. Adding microcode defined macros etc as dependencies to the helper functions. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Sign

[dpdk-dev] [PATCH v4 03/23] crypto/octeontx: add hardware register access for misc poll

2018-10-09 Thread Anoob Joseph
From: Ankur Dwivedi Adding hardware register accesses required for misc poll Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree

[dpdk-dev] [PATCH v4 07/23] crypto/octeontx: add mailbox routines

2018-10-09 Thread Anoob Joseph
From: Murthy NSSR Adding mailbox routines to interact with the pf driver Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kond

[dpdk-dev] [PATCH v4 09/23] crypto/octeontx: add queue pair functions

2018-10-09 Thread Anoob Joseph
From: Murthy NSSR Adding queue pair setup and release functions Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kondoj ---

[dpdk-dev] [PATCH v4 10/23] crypto/octeontx: add session management ops

2018-10-09 Thread Anoob Joseph
From: Nithin Dabilpuram Adding routines for session configure, session clear and get session size ops. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S

[dpdk-dev] [PATCH v4 11/23] crypto/octeontx: add supported sessions

2018-10-09 Thread Anoob Joseph
From: Nithin Dabilpuram Adding AEAD, cipher & auth sessions support. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kondoj

[dpdk-dev] [PATCH v4 12/23] common/cpt: add common defines for microcode

2018-10-09 Thread Anoob Joseph
From: Nithin Dabilpuram Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_mcode_defines.h |

[dpdk-dev] [PATCH v4 08/23] crypto/octeontx: add basic dev ops

2018-10-09 Thread Anoob Joseph
From: Murthy NSSR Adding the following dev ops, - dev_configure - dev_start - dev_stop - dev_close - dev_infos_get - stats_get - stats_reset Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayarama

[dpdk-dev] [PATCH v4 14/23] common/cpt: add microcode interface for decryption

2018-10-09 Thread Anoob Joseph
From: Ragothaman Jayaraman Adding microcode interface additions for supporting decryption. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off

[dpdk-dev] [PATCH v4 15/23] common/cpt: add crypo op enqueue request manager framework

2018-10-09 Thread Anoob Joseph
From: Ragothaman Jayaraman Adding crypto enqueue op request manager framework. This routine won't submit to the hardware yet. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-b

[dpdk-dev] [PATCH v4 16/23] common/cpt: support zuc and snow3g

2018-10-09 Thread Anoob Joseph
From: Srisivasubramanian S Adding microcode interface for supporting ZUC and SNOW3G. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: T

[dpdk-dev] [PATCH v4 13/23] common/cpt: add microcode interface for encryption

2018-10-09 Thread Anoob Joseph
From: Ragothaman Jayaraman Adding microcode interface additions for supporting encryption. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off

[dpdk-dev] [PATCH v4 17/23] common/cpt: support kasumi

2018-10-09 Thread Anoob Joseph
From: Srisivasubramanian S Adding microcode interface for supporting kasumi. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree

[dpdk-dev] [PATCH v4 19/23] crypto/octeontx: add routines to prepare instructions

2018-10-09 Thread Anoob Joseph
From: Tejasree Kondoj Adding hardware specific routines which prepare cpt instructions. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by

[dpdk-dev] [PATCH v4 18/23] common/cpt: support hash

2018-10-09 Thread Anoob Joseph
From: Srisivasubramanian S Adding microcode interface for supporting verify and authentication Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed

[dpdk-dev] [PATCH v4 21/23] crypto/octeontx: add dequeue burst op

2018-10-09 Thread Anoob Joseph
From: Tejasree Kondoj Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_common.h

[dpdk-dev] [PATCH v4 23/23] doc: add documentation for OCTEON TX crypto

2018-10-09 Thread Anoob Joseph
Adding feature file and guide for OCTEON TX crypto PMD Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kondoj --- MAINTAINERS

Re: [dpdk-dev] [PATCH 2/3] mbuf: add a non fatal sanity check helper

2018-10-09 Thread Olivier Matz
On Mon, Sep 10, 2018 at 11:33:44AM +0300, Andrew Rybchenko wrote: > On 09/10/2018 11:24 AM, David Marchand wrote: > > On Mon, Sep 10, 2018 at 10:12 AM, Andrew Rybchenko > > wrote: > > > +/** > > > + * Sanity checks on a mbuf. > > > + * > > > + * Almost like rte_mbuf_sanity_check(), but this functi

[dpdk-dev] [PATCH v4 20/23] crypto/octeontx: add enqueue burst op

2018-10-09 Thread Anoob Joseph
From: Tejasree Kondoj Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_common.h

[dpdk-dev] [PATCH v4 22/23] test/crypto: add OCTEON TX unit tests

2018-10-09 Thread Anoob Joseph
From: Ankur Dwivedi Adding validation tests for OCTEON TX crypto device. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-off-by: Tejasree Kond

Re: [dpdk-dev] [PATCH 1/3] mbuf: add sanity checks on segment metadata

2018-10-09 Thread Olivier Matz
Hi David, On Thu, Sep 13, 2018 at 08:55:40AM +0200, David Marchand wrote: > Hello Yongseok, > > On Tue, Sep 11, 2018 at 8:16 PM, Yongseok Koh wrote: > > > >> On Sep 9, 2018, at 10:45 PM, David Marchand > >> wrote: > >> > >> Add some basic checks on the segments offset and length metadata: > >>

[dpdk-dev] [PATCH v1] eventdev: fix build error

2018-10-09 Thread Ferruh Yigit
build error: .../lib/librte_eventdev/rte_event_eth_tx_adapter.c: In function ‘txa_service_queue_del’: .../lib/librte_eventdev/rte_event_eth_tx_adapter.c:800:7: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized] compilation terminated due to -Wfatal-errors.

Re: [dpdk-dev] [PATCH 4/4] ethdev: support representor id for iterating ports

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 5:18 AM, Thomas Monjalon wrote: The representor id is added in rte_eth_dev_data in order to be able to match a port with its representor id in devargs. Signed-off-by: Thomas Monjalon Reviewed-by: Andrew Rybchenko

Re: [dpdk-dev] [PATCH v2 1/6] bus/vdev: add iteration filter on name

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 3:16 AM, Thomas Monjalon wrote: A virtual device can be matched with following syntax: bus=vdev,name=X Signed-off-by: Thomas Monjalon Reviewed-by: Andrew Rybchenko

Re: [dpdk-dev] [PATCH 0/5] remove usage of register keyword in C

2018-10-09 Thread Ferruh Yigit
On 8/23/2018 2:07 PM, Ferruh Yigit wrote: > On 8/1/2018 10:03 PM, Stephen Hemminger wrote: >> On Wed, 1 Aug 2018 18:03:04 + >> Yongseok Koh wrote: >> On Jul 31, 2018, at 11:07 AM, Stephen Hemminger wrote: On Tue, 31 Jul 2018 18:48:40 +0200 Adrien Mazarguil wrote: >>

[dpdk-dev] [PATCH v4 02/22] net/atlantic: logging macroes and some typedefs

2018-10-09 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 16 drivers/net/atlantic/atl_logs.h | 31 +++ drivers/net/atlantic/atl_types.h | 25 + 3 files changed, 72 insertions(+) creat

[dpdk-dev] [PATCH v4 03/22] net/atlantic: hardware register access routines

2018-10-09 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 1 + drivers/net/atlantic/atl_hw_regs.c | 52 + drivers/net/atlantic/atl_hw_regs.h | 53 ++ drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH v4 01/22] net/atlantic: atlantic PMD driver skeleton

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Makefile/meson build infrastructure, atl_ethdev minimal skeleton, header with aquantia aQtion NIC device and vendor IDs. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- config/common_base| 5 + config/defconfig_ppc_64-power8-li

[dpdk-dev] [PATCH v4 00/22] net/atlantic: Aquantia aQtion 10G NIC Family DPDK PMD driver

2018-10-09 Thread Igor Russkikh
Hello DPDK community! Aquantia would like to contribute PMD for aQtion AQC10X NIC family: https://www.aquantia.com/products/aqtion/chips/ These are 10G ethernet NICs with various features. We do base this work on parts of the existing native linux kernel driver source (atlantic). Shared code is h

[dpdk-dev] [PATCH v4 05/22] net/atlantic: firmware operations layer

2018-10-09 Thread Igor Russkikh
AQC NICs comes in fields with two major FW generations: 1x and 3x. This is part of linux atlantic driver shared code, responsible for internal NIC firmware interactions, including link management ops, FW initialization, various lifecycle features. Signed-off-by: Igor Russkikh Signed-off-by: Pave

[dpdk-dev] [PATCH v4 06/22] net/atlantic: b0 hardware layer main logic

2018-10-09 Thread Igor Russkikh
This is hw_atl logic layer derived from linux atlantic driver. It contains RX/TX hardware initialization sequences, various hw configuration. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile| 1 + drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH v4 07/22] net/atlantic: rte device start, stop, initial configuration

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Start, stop and reset are all done via hw_atl layer. Link interrupt configuration is also done here. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 158 -- dri

[dpdk-dev] [PATCH v4 08/22] net/atlantic: TX/RX function prototypes

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 1 + drivers/net/atlantic/atl_ethdev.c | 20 ++- drivers/net/atlantic/atl_ethdev.h | 15 ++ drivers/net/atlantic/atl_rxt

[dpdk-dev] [PATCH v4 09/22] net/atlantic: RX side structures and implementation

2018-10-09 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 2 +- drivers/net/atlantic/atl_ethdev.c | 72 - drivers/net/atlantic/atl_ethdev.h | 19 ++ drivers/net/atlantic/atl_rxtx.c | 622 +- 4 files changed, 707

[dpdk-dev] [PATCH v4 13/22] net/atlantic: support for RX/TX descriptors information

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 8 +++ drivers/net/atlantic/atl_ethdev.h | 12 drivers/net/atlantic/atl_rxtx.c | 125 ++ 3 files change

[dpdk-dev] [PATCH v4 14/22] net/atlantic: promisc and allmulti configuration

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index afae232cb2

[dpdk-dev] [PATCH v4 10/22] net/atlantic: TX side structures and implementation

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 28 ++ drivers/net/atlantic/atl_ethdev.h | 7 + drivers/net/atlantic/atl_rxtx.c | 536 +- 3 files changed, 562 insertions(+), 9 deletions

[dpdk-dev] [PATCH v4 11/22] net/atlantic: link status and interrupt management

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Implement link interrupt, link info, link polling. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 463 +- drivers/net/atlantic/atl_ethdev.h | 16 ++ drivers/net/atlantic/atl_rxtx.c | 3

[dpdk-dev] [PATCH v4 12/22] net/atlantic: device statistics, xstats

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 154 ++ drivers/net/atlantic/atl_ethdev.h | 1 + drivers/net/atlantic/atl_rxtx.c | 11 ++- drivers/net/atlantic/atl_types.h | 41 ++

[dpdk-dev] [PATCH v4 17/22] net/atlantic: MAC address manipulations

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 126 ++ 1 file changed, 126 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index efdd83fb4

[dpdk-dev] [PATCH v4 15/22] net/atlantic: RSS and RETA manipulation API

2018-10-09 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 107 ++ drivers/net/atlantic/atl_ethdev.h | 14 + drivers/net/atlantic/atl_rxtx.c | 5 ++ 3 files changed, 126 insertions(+) diff --git a/drivers/net/atl

[dpdk-dev] [PATCH v4 18/22] net/atlantic: VLAN filters and offloads

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 161 ++ drivers/net/atlantic/atl_types.h | 2 + 2 files changed, 163 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drive

[dpdk-dev] [PATCH v4 16/22] net/atlantic: flow control configuration

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index d6ec20d19a

[dpdk-dev] [PATCH v4 19/22] net/atlantic: eeprom and register manipulation routines

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index 46377b482a

[dpdk-dev] [PATCH v4 20/22] net/atlantic: LED control DPDK and private APIs

2018-10-09 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 4 +++ drivers/net/atlantic/atl_ethdev.c | 53 + drivers/net/atlantic/atl_ethdev.h | 3 ++ drivers/net/atlantic/meson.build| 3 ++ drivers

[dpdk-dev] [PATCH v4 21/22] net/atlantic: support for read MAC registers for debug purposes

2018-10-09 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index fb23dc89f88c..9797

[dpdk-dev] [PATCH v4 22/22] net/atlantic: documentation and rel notes

2018-10-09 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- doc/guides/nics/atlantic.rst | 53 ++ doc/guides/nics/features/atlantic.ini | 37 doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_18_11.rst

Re: [dpdk-dev] [PATCH v2 2/6] ethdev: add iterator to match devargs input

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 3:16 AM, Thomas Monjalon wrote: The iterator will return the ethdev port ids matching a devargs string. It is recommended to use the macro RTE_ETH_FOREACH_MATCHING_DEV() for usage convenience. The class string is prefixed with '+' in order to skip the validation of the parameter keys.

Re: [dpdk-dev] [PATCH v2 3/6] ethdev: allow iterating with pure class filter

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 3:16 AM, Thomas Monjalon wrote: If no rte_device is given in the iterator, eth_dev_match() is looking at all ports without any restriction, except the ethdev kvargs filter. It allows to iterate with a devargs filter referencing only some ethdev parameters. The format (from the new dev

Re: [dpdk-dev] [PATCH v2 4/6] doc: replace doxygen example in contribution guide

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 3:16 AM, Thomas Monjalon wrote: The provided example of doxygen header is about a deprecated function. It is replaced by rte_spinlock_trylock() which is small and good enough for the purpose. Signed-off-by: Thomas Monjalon One nit below Reviewed-by: Andrew Rybchenko --- doc/g

Re: [dpdk-dev] [PATCH v2 5/6] ethdev: remove deprecated attach/detach functions

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 3:16 AM, Thomas Monjalon wrote: The hotplug attach/detach features are implemented in EAL layer. There is a new ethdev iterator to retrieve ports from ethdev layer. As announced earlier, the (buggy) ethdev functions are now removed. Signed-off-by: Thomas Monjalon Reviewed-by: Andr

Re: [dpdk-dev] [PATCH v2 6/6] eal: remove deprecated attach/detach functions

2018-10-09 Thread Andrew Rybchenko
On 10/9/18 3:16 AM, Thomas Monjalon wrote: These hotplug functions were deprecated and have some new replacements. As announced earlier, the oldest ones are now removed. Signed-off-by: Thomas Monjalon Reviewed-by: Andrew Rybchenko

Re: [dpdk-dev] [PATCH v3] mbuf: clarify QINQ flag usage

2018-10-09 Thread Ferruh Yigit
On 10/9/2018 9:59 AM, Olivier Matz wrote: > On Wed, Oct 03, 2018 at 04:19:12PM +0100, Ferruh Yigit wrote: >> Update implementation that when PKT_RX_QINQ_STRIPPED mbuf ol_flags >> set by PMD, PKT_RX_QINQ, PKT_RX_VLAN_STRIPPED & PKT_RX_VLAN >> should be also set. >> >> Clarify mbuf documentations tha

Re: [dpdk-dev] [PATCH v2 2/6] ethdev: add iterator to match devargs input

2018-10-09 Thread Thomas Monjalon
09/10/2018 11:31, Andrew Rybchenko: > On 10/9/18 3:16 AM, Thomas Monjalon wrote: > > if (str != NULL) { > > - kvargs = rte_kvargs_parse(str, eth_params_keys); > > + if (str[0] == '+') /* no validation of keys */ > > + str ++; > > As I understand it should

Re: [dpdk-dev] [PATCH v4 00/23] Adding Cavium's OCTEON TX crypto PMD

2018-10-09 Thread Thomas Monjalon
09/10/2018 11:07, Anoob Joseph: > v4: > * Marged the following v3 patches (Akhil & Thomas), > - 01/32 & 02/32 > - 03/32, 04/32 & 05/32 > - 06/32 & 07/32 > - 13/32 & 14/32 > - 15/32 & 16/32 > - 17/32 & 18/32 > - 27/32 & 28/32 > - 29/32 & 30/32 > * Replaced usages OCTE

Re: [dpdk-dev] [PATCH] app/testpmd: clarify flow types in port info

2018-10-09 Thread Ferruh Yigit
On 10/5/2018 1:58 PM, Iremonger, Bernard wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Thursday, October 4, 2018 7:44 PM >> To: Lu, Wenzhuo ; Wu, Jingjing >> ; Iremonger, Bernard >> Cc: dev@dpdk.org; Yigit, Ferruh >> Subject: [PATCH] app/testpmd: clarify flow types in

Re: [dpdk-dev] [PATCH] app/testpmd: fix displaying RSS hash functions

2018-10-09 Thread Ferruh Yigit
On 10/8/2018 12:12 PM, Iremonger, Bernard wrote: >> -Original Message- >> From: Yigit, Ferruh >> Sent: Thursday, October 4, 2018 8:25 PM >> To: Lu, Wenzhuo ; Wu, Jingjing >> ; Iremonger, Bernard ; >> Mcnamara, John ; Kovacevic, Marko >> >> Cc: dev@dpdk.org; Yigit, Ferruh ; sta...@dpdk.org;

Re: [dpdk-dev] [PATCH v4 1/4] ethdev: add Rx offload outer UDP checksum definition

2018-10-09 Thread Andrew Rybchenko
On 10/8/18 7:09 PM, Jerin Jacob wrote: Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM Rx offload flag and PKT_RX_OUTER_L4_CKSUM_* mbuf ol_flags to detect outer UDP checksum status. - To use hardware Rx outer UDP checksum offload, the user needs to configure DEV_RX_OFFLOAD_OUTER_UDP_CKSUM offload flag

Re: [dpdk-dev] [PATCH v4 2/4] ethdev: add Tx offload outer UDP checksum definition

2018-10-09 Thread Andrew Rybchenko
On 10/8/18 7:09 PM, Jerin Jacob wrote: Introduced DEV_TX_OFFLOAD_OUTER_UDP_CKSUM offload flags and PKT_TX_OUTER_UDP_CKSUM mbuf ol_flags to enable Tx outer UDP checksum offload. To use hardware Tx outer UDP checksum offload, the user needs to, - enable following in mbuf: a) fill outer_l2_len and

Re: [dpdk-dev] [PATCH] net/e1000: enable MSI-x for linkup and other events in 82574

2018-10-09 Thread Zhao1, Wei
Hi, Luca Boccassi A question for this feature, in em code, function eth_em_interrupt_handler() we have no process for handle other cause interrupt. So, why do we enable this OTHER cause interrupt in DPDK? You mean some application may take advance of this interrupt for some unknown purpose w

Re: [dpdk-dev] [PATCH 1/2] doc: clarify L3 Tx checksum prerequisite

2018-10-09 Thread Ferruh Yigit
On 10/5/2018 7:44 AM, Andrew Rybchenko wrote: > On 10/5/18 7:46 AM, Jerin Jacob wrote: >> Based on PKT_TX_IP_CKSUM definition the user needs >> to fill l2_len and l3_len mbuf fields before issuing >> HW Tx checksum request. >> >> Fixes: dad1ec72a377 ("doc: document NIC features") >> Cc: sta...@dpdk

  1   2   3   >