Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread David Marchand
Hello, On Wed, Jul 3, 2019 at 7:47 AM Tiwei Bie wrote: > The value 40 used in VFIO_GET_REGION_ADDR() is a private value > (VFIO_PCI_OFFSET_SHIFT) defined in Linux kernel source [1]. It > is not part of VFIO API, and we should not depend on it. > > [1] > https://github.com/torvalds/linux/blob/6fb

[dpdk-dev] [PATCH v4] test/eal: add ut cases for in-memory and single-file-segment

2019-07-03 Thread Pallantla Poornima
Added unit test case for eal command line '--in-memory' option which will cover below functions. get_seg_memfd() test_memfd_create() pagesz_flags() Added unit test case for eal command line '--single-file-segments' option which will cover resize_hugefile(). Signed-off-by: Pallantla Poornima Revi

[dpdk-dev] [Bug 303] meson-0.51.0 isn't building docs

2019-07-03 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=303 Bug ID: 303 Summary: meson-0.51.0 isn't building docs Product: DPDK Version: 19.08 Hardware: All OS: All Status: CONFIRMED Severity: normal Priority: Nor

[dpdk-dev] [PATCH v3] net/mlx5: support matching on ICMP/ICMP6

2019-07-03 Thread Xiaoyu Min
On DV/DR flow engine, MLX5 can match on ICMP/ICMP6's code and type field via FLEX Parser, which can be enabled by config FW using FLEX Parser profile 2: mlxconfig -d -y set FLEX_PARSER_PROFILE_ENABLE=2 The testpmd commands could be: testpmd> flow create 0 ingress pattern eth / ipv4 /

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread Tiwei Bie
Hi David, On Wed, Jul 03, 2019 at 09:02:59AM +0200, David Marchand wrote: > Hello, > > On Wed, Jul 3, 2019 at 7:47 AM Tiwei Bie wrote: > > The value 40 used in VFIO_GET_REGION_ADDR() is a private value > (VFIO_PCI_OFFSET_SHIFT) defined in Linux kernel source [1]. It > is not part of

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread David Marchand
On Wed, Jul 3, 2019 at 9:35 AM Tiwei Bie wrote: > Hi David, > > On Wed, Jul 03, 2019 at 09:02:59AM +0200, David Marchand wrote: > > Hello, > > > > On Wed, Jul 3, 2019 at 7:47 AM Tiwei Bie wrote: > > > > The value 40 used in VFIO_GET_REGION_ADDR() is a private value > > (VFIO_PCI_OFFSET_S

Re: [dpdk-dev] [Suspected-Phishing][PATCH v3] net/mlx5: support matching on ICMP/ICMP6

2019-07-03 Thread Slava Ovsiienko
> -Original Message- > From: Xiaoyu Min > Sent: Wednesday, July 3, 2019 10:23 > To: Raslan Darawsheh ; Slava Ovsiienko > ; Shahaf Shuler ; > Yongseok Koh ; John McNamara > ; Marko Kovacevic > > Cc: dev@dpdk.org > Subject: [Suspected-Phishing][PATCH v3] net/mlx5: support matching on > ICMP

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread Tiwei Bie
On Wed, Jul 03, 2019 at 09:36:26AM +0200, David Marchand wrote: > On Wed, Jul 3, 2019 at 9:35 AM Tiwei Bie wrote: > > Hi David, > > On Wed, Jul 03, 2019 at 09:02:59AM +0200, David Marchand wrote: > > Hello, > > > > On Wed, Jul 3, 2019 at 7:47 AM Tiwei Bie wrote: > > >

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread David Marchand
On Wed, Jul 3, 2019 at 9:58 AM Tiwei Bie wrote: > On Wed, Jul 03, 2019 at 09:36:26AM +0200, David Marchand wrote: > > On Wed, Jul 3, 2019 at 9:35 AM Tiwei Bie wrote: > > > > Hi David, > > > > On Wed, Jul 03, 2019 at 09:02:59AM +0200, David Marchand wrote: > > > Hello, > > > > >

Re: [dpdk-dev] [PATCH v7 11/12] net/vdev_netvsc: use common ethernet address parsing

2019-07-03 Thread Matan Azrad
From: Stephen Hemminger > Use rte_ether_unformat_addr rather than sscanf. > > Signed-off-by: Stephen Hemminger Acked-by: Matan Azrad

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread Tiwei Bie
On Wed, Jul 03, 2019 at 10:01:44AM +0200, David Marchand wrote: > On Wed, Jul 3, 2019 at 9:58 AM Tiwei Bie wrote: > > On Wed, Jul 03, 2019 at 09:36:26AM +0200, David Marchand wrote: > > On Wed, Jul 3, 2019 at 9:35 AM Tiwei Bie wrote: > > > > Hi David, > > > > On W

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread David Marchand
On Wed, Jul 3, 2019 at 10:17 AM Tiwei Bie wrote: > On Wed, Jul 03, 2019 at 10:01:44AM +0200, David Marchand wrote: > > On Wed, Jul 3, 2019 at 9:58 AM Tiwei Bie wrote: > > > > On Wed, Jul 03, 2019 at 09:36:26AM +0200, David Marchand wrote: > > > On Wed, Jul 3, 2019 at 9:35 AM Tiwei Bie >

[dpdk-dev] [PATCH v3 04/58] net/octeontx2: add devargs parsing functions

2019-07-03 Thread jerinj
From: Jerin Jacob add various devargs command line options supported by this driver. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Signed-off-by: Kiran Kumar K Signed-off-by: Vamsi Attunuru --- doc/guides/nics/octeontx2.rst | 67 +

[dpdk-dev] [PATCH v3 10/58] net/octeontx2: add register dump support

2019-07-03 Thread jerinj
From: Kiran Kumar K Add register dump support and mark Registers dump in features. Signed-off-by: Kiran Kumar K Signed-off-by: Jerin Jacob --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini |

[dpdk-dev] [PATCH v3 02/58] net/octeontx2: add ethdev probe and remove

2019-07-03 Thread jerinj
From: Jerin Jacob add basic PCIe ethdev probe and remove. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram --- drivers/net/octeontx2/Makefile | 11 +++- drivers/net/octeontx2/meson.build | 14 - drivers/net/octeontx2/otx2_ethdev.c | 93 + driv

[dpdk-dev] [PATCH v3 13/58] net/octeontx2: add extended stats operations

2019-07-03 Thread jerinj
From: Kiran Kumar K Add extended operations and updated the feature list. Signed-off-by: Kiran Kumar K Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 +

[dpdk-dev] [PATCH v3 15/58] net/octeontx2: add unicast MAC filter

2019-07-03 Thread jerinj
From: Sunil Kumar Kori Add unicast MAC filter for PF device and update the respective feature list. Signed-off-by: Sunil Kumar Kori Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/octeontx2

[dpdk-dev] [PATCH v3 20/58] net/octeontx2: add queue start and stop operations

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add queue start and stop operations. Tx queue needs to update the flow control value, Which will be added in sub subsequent patch. Signed-off-by: Nithin Dabilpuram Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/feat

[dpdk-dev] [PATCH v3 24/58] net/octeontx2: enable Tx through traffic manager

2019-07-03 Thread jerinj
From: Krzysztof Kanas This patch enables pkt transmit through traffic manager hierarchy by clearing software XOFF on the nodes and linking tx queues to corresponding leaf nodes. It also adds support to start and stop tx queue using traffic manager. Signed-off-by: Krzysztof Kanas Signed-off-by:

[dpdk-dev] [PATCH v3 17/58] net/octeontx2: add Rx queue setup and release

2019-07-03 Thread jerinj
From: Jerin Jacob Add Rx queue setup and release. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini |

[dpdk-dev] [PATCH v3 18/58] net/octeontx2: add Tx queue setup and release

2019-07-03 Thread jerinj
From: Jerin Jacob Add Tx queue setup and release. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + doc/guides/nics/octeont

[dpdk-dev] [PATCH v3 07/58] net/octeontx2: add device configure operation

2019-07-03 Thread jerinj
From: Jerin Jacob Add device configure operation. This would call lf_alloc mailbox to allocate a NIX LF and upon return, AF will return the attributes for the select LF. Signed-off-by: Jerin Jacob Signed-off-by: Vamsi Attunuru Signed-off-by: Nithin Dabilpuram --- drivers/net/octeontx2/otx2_e

[dpdk-dev] [PATCH v3 19/58] net/octeontx2: handle port reconfigure

2019-07-03 Thread jerinj
From: Vamsi Attunuru setup tx & rx queues with the previous configuration during port reconfig, it handles cases like port reconfigure without reconfiguring tx & rx queues. Signed-off-by: Vamsi Attunuru Signed-off-by: Nithin Dabilpuram --- drivers/net/octeontx2/otx2_ethdev.c | 180 +++

[dpdk-dev] [PATCH v3 03/58] net/octeontx2: add device init and uninit

2019-07-03 Thread jerinj
From: Jerin Jacob Add basic init and uninit function which includes attaching LF device to probed PCIe device. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Sunil Kumar Kori Signed-off-by: Vamsi Attunuru --- drivers/net/octeontx2/Makefile | 1 + drivers/n

[dpdk-dev] [PATCH v3 11/58] net/octeontx2: add link stats operations

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add link stats related operations and mark respective items in the documentation. Signed-off-by: Vamsi Attunuru Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/features/octeontx2.ini | 2 + doc/guides/nics/features/octeontx2_vec.ini | 2 + doc/guides/nics/fea

[dpdk-dev] [PATCH v3 09/58] net/octeontx2: add context debug utils

2019-07-03 Thread jerinj
From: Jerin Jacob Add RQ,SQ,CQ context and CQE structure dump utils. Signed-off-by: Jerin Jacob Signed-off-by: Vivek Sharma --- doc/guides/nics/octeontx2.rst | 2 +- drivers/net/octeontx2/Makefile| 1 + drivers/net/octeontx2/meson.build | 1 + drivers/net

[dpdk-dev] [PATCH v3 12/58] net/octeontx2: add basic stats operation

2019-07-03 Thread jerinj
From: Kiran Kumar K Add basic stat operation and updated the feature list. Signed-off-by: Kiran Kumar K Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 2 + doc/guides/nics/features/octeontx2_vec.ini | 2 + doc/guides/nics/features/octeontx2_vf.ini | 2 +

[dpdk-dev] [PATCH v3 14/58] net/octeontx2: add promiscuous and allmulticast mode

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add promiscuous and allmulticast mode for PF devices and update the respective feature list. Signed-off-by: Vamsi Attunuru Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/octeontx2.ini | 2 + doc/guides/nics/features/octeontx2_vec.ini | 2 + doc/guides/

[dpdk-dev] [PATCH v3 25/58] net/octeontx2: add ptype support

2019-07-03 Thread jerinj
From: Jerin Jacob The fields from CQE needs to be converted to ptype and rx ol flags in mbuf. This patch adds create lookup memory for those items to be used in Fastpath. Signed-off-by: Jerin Jacob Signed-off-by: Kiran Kumar K Signed-off-by: Harman Kalra --- doc/guides/nics/features/octeontx

[dpdk-dev] [PATCH v3 29/58] net/octeontx2: add flow control support

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add flow control operations and exposed otx2_nix_update_flow_ctrl_mode() to enable on the configured mode in dev_start(). Signed-off-by: Vamsi Attunuru Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeon

[dpdk-dev] [PATCH v3 26/58] net/octeontx2: add queue info and pool supported operations

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add Rx and Tx queue info get and pool ops supported operations. Signed-off-by: Nithin Dabilpuram Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.c | 3 ++ drivers/net/octeontx2/otx2_ethdev.h | 5 +++ drivers/net/octeontx2/otx2_ethdev_ops.c

[dpdk-dev] [PATCH v3 23/58] net/octeontx2: configure TM HW resources

2019-07-03 Thread jerinj
From: Nithin Dabilpuram This patch sets up and configure hierarchy in hw nodes. Since all the registers are with RVU AF, register configuration is also done using mbox communication. Signed-off-by: Nithin Dabilpuram Signed-off-by: Krzysztof Kanas --- drivers/net/octeontx2/otx2_tm.c | 504

[dpdk-dev] [PATCH v3 08/58] net/octeontx2: handle queue specific error interrupts

2019-07-03 Thread jerinj
From: Jerin Jacob Handle queue specific error interrupts. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/octeontx2.rst | 1 + drivers/net/octeontx2/otx2_ethdev.c | 16 +- drivers/net/octeontx2/otx2_ethdev.h | 9 ++ drivers/net/octeontx2/

[dpdk-dev] [PATCH v3 01/58] net/octeontx2: add build and doc infrastructure

2019-07-03 Thread jerinj
From: Jerin Jacob Adding bare minimum PMD library and doc build infrastructure and claim the maintainership for octeontx2 PMD. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Kiran Kumar K --- MAINTAINERS | 9 ++ config/common

[dpdk-dev] [PATCH v3 00/58] OCTEON TX2 Ethdev driver

2019-07-03 Thread jerinj
From: Jerin Jacob This patchset adds support for OCTEON TX2 ethdev driver. v3: # Fix build issue with ICC 32bit build # Add missing "net/octeontx2: add link status set operations" patch from v1 v2: # Moved maintainers file to the first patch(Ferruh) # removed reference to to v19.05(Ferruh) #

[dpdk-dev] [PATCH v3 05/58] net/octeontx2: handle device error interrupts

2019-07-03 Thread jerinj
From: Jerin Jacob Handle device specific error and ras interrupts. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Harman Kalra --- drivers/net/octeontx2/Makefile | 1 + drivers/net/octeontx2/meson.build | 1 + drivers/net/octeontx2/otx2_ethdev.c

[dpdk-dev] [PATCH v3 37/58] net/octeontx2: add flow actions support

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding support to parse flow actions like drop, count, mark, rss, queue. On egress side, only drop and count actions were supported. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow_parse.c | 210 1 file

[dpdk-dev] [PATCH v3 16/58] net/octeontx2: add RSS support

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add RSS support and expose RSS related functions to implement RSS action for rte_flow driver. Signed-off-by: Vamsi Attunuru Signed-off-by: Kiran Kumar K --- doc/guides/nics/features/octeontx2.ini | 4 + doc/guides/nics/features/octeontx2_vec.ini | 4 + doc/guides/

[dpdk-dev] [PATCH v3 30/58] net/octeontx2: add PTP base support

2019-07-03 Thread jerinj
From: Harman Kalra Add PTP enable and disable operations. Signed-off-by: Harman Kalra Signed-off-by: Zyta Szpak --- doc/guides/nics/octeontx2.rst | 1 + drivers/net/octeontx2/Makefile | 1 + drivers/net/octeontx2/meson.build | 1 + drivers/net/octeontx2/otx2_ethdev.c | 22

[dpdk-dev] [PATCH v3 22/58] net/octeontx2: alloc and free TM HW resources

2019-07-03 Thread jerinj
From: Krzysztof Kanas Allocate and free shaper/scheduler hardware resources for nodes of hirearchy levels in sw. Signed-off-by: Krzysztof Kanas Signed-off-by: Nithin Dabilpuram --- drivers/net/octeontx2/otx2_tm.c | 350 1 file changed, 350 insertions(+) diff

[dpdk-dev] [PATCH v3 40/58] net/octeontx2: add flow destroy ops support

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding few more flow operations like flow_destroy, flow_isolate and flow_flush. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow.c | 206 ++ drivers/net/octeontx2/otx2_rx.h | 3 + 2 files changed,

[dpdk-dev] [PATCH v3 21/58] net/octeontx2: introduce traffic manager

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Introduce traffic manager infra and default hierarchy creation. Upon ethdev configure, a default hierarchy is created with one-to-one mapped tm nodes. This topology will be overridden when user explicitly creates and commits a new hierarchy using rte_tm interface. Signed

[dpdk-dev] [PATCH v3 42/58] net/octeontx2: connect flow API to ethdev ops

2019-07-03 Thread jerinj
From: Vivek Sharma Connect rte_flow driver ops to ethdev via .filter_ctrl op. Signed-off-by: Vivek Sharma Signed-off-by: Kiran Kumar K --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + d

[dpdk-dev] [PATCH v3 41/58] net/octeontx2: add flow init and fini

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding the flow init and fini functionality. These will be called from dev init and will initialize and de-initialize the flow related memory. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow.c | 315 +

[dpdk-dev] [PATCH v3 06/58] net/octeontx2: add info get operation

2019-07-03 Thread jerinj
From: Jerin Jacob Add device information get operation. Signed-off-by: Jerin Jacob Signed-off-by: Vamsi Attunuru Signed-off-by: Harman Kalra --- doc/guides/nics/features/octeontx2.ini | 4 ++ doc/guides/nics/features/octeontx2_vec.ini | 4 ++ doc/guides/nics/features/octeontx2_vf.ini

[dpdk-dev] [PATCH v3 27/58] net/octeontx2: add Rx and Tx descriptor operations

2019-07-03 Thread jerinj
From: Jerin Jacob Add Rx and Tx queue descriptor related operations. Signed-off-by: Jerin Jacob Signed-off-by: Kiran Kumar K --- doc/guides/nics/features/octeontx2.ini | 2 + doc/guides/nics/features/octeontx2_vec.ini | 2 + doc/guides/nics/features/octeontx2_vf.ini | 2 + drivers/net

[dpdk-dev] [PATCH v3 49/58] net/octeontx2: add Rx multi segment version

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add multi segment version of packet Receive function. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- doc/guides/nics/features/octeontx2.ini | 2 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini |

[dpdk-dev] [PATCH v3 50/58] net/octeontx2: add Rx vector version

2019-07-03 Thread jerinj
From: Jerin Jacob Add vector version of packet Receive function. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/octeontx2.rst | 1 + drivers/net/octeontx2/Makefile| 1 + drivers/net/octeontx2/meson.build | 2 + drivers/net/octeontx2/otx2_rx.c |

[dpdk-dev] [PATCH v3 54/58] net/octeontx2: add device start operation

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add device start operation and update the correct function pointers for Rx and Tx burst functions. This patch also update the octeontx2 NIC specific documentation. Signed-off-by: Nithin Dabilpuram Signed-off-by: Vamsi Attunuru Signed-off-by: Jerin Jacob --- doc/guide

[dpdk-dev] [PATCH v3 36/58] net/octeontx2: add flow parsing for outer layers

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding functionality to parse outer layers from ld to lh. These will be used parse outer layers L2, L3, L4 and tunnel types. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/Makefile | 1 + drivers/net/octeontx2/meson.build

[dpdk-dev] [PATCH v3 39/58] net/octeontx2: add flow operations

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding the initial flow ops like flow_create and flow_validate. These will be used to alloc and write flow rule to device and validate the flow rule. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/Makefile| 1 + drivers/net/octeont

[dpdk-dev] [PATCH v3 28/58] net/octeontx2: add module EEPROM dump

2019-07-03 Thread jerinj
From: Vamsi Attunuru add module EEPROM dump operation. Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + drivers/net/octeontx2/otx2_ethdev.c| 2 + d

[dpdk-dev] [PATCH v3 35/58] net/octeontx2: add flow MCAM utility functions

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding MCAM utility functions to alloc and write the entries. These will be used to arrange the flow rules based on priority. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow.h | 6 - drivers/net/octeontx2/otx2_flow_utils

[dpdk-dev] [PATCH v3 55/58] net/octeontx2: add device stop and close operations

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add device stop, close and reset operations. Signed-off-by: Nithin Dabilpuram Signed-off-by: Vamsi Attunuru --- drivers/net/octeontx2/otx2_ethdev.c | 75 + 1 file changed, 75 insertions(+) diff --git a/drivers/net/octeontx2/otx2_ethdev.c b

[dpdk-dev] [PATCH v3 52/58] net/octeontx2: add Tx multi segment version

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add multi segment version of packet Transmit function. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/octeontx2/otx2_ethdev.h | 4 ++ drivers/net/octeontx2/otx2_tx.c | 58 + drivers/net/octeontx2/otx2_tx.h |

[dpdk-dev] [PATCH v3 53/58] net/octeontx2: add Tx vector version

2019-07-03 Thread jerinj
From: Nithin Dabilpuram Add vector version of packet transmit function. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/octeontx2/otx2_tx.c | 883 +++- 1 file changed, 882 insertions(+), 1 deletion(-) diff --git a/drivers/net/octeon

[dpdk-dev] [PATCH v3 32/58] net/octeontx2: introducing flow driver

2019-07-03 Thread jerinj
From: Kiran Kumar K Introducing flow infra for octeontx2. This will be used to maintain rte_flow rules. Create, destroy, validate, query, flush, isolate flow operations will be supported. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow.h | 388 +++

[dpdk-dev] [PATCH v3 43/58] net/octeontx2: implement VLAN utility functions

2019-07-03 Thread jerinj
From: Vivek Sharma Implement accessory functions needed for VLAN functionality. Introduce VLAN related structures as well. Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/Makefile | 1 + drivers/net/octeontx2/meson.build | 1 + drivers/net/octeontx2/otx2_ethdev.c | 10 ++ dri

[dpdk-dev] [PATCH v3 31/58] net/octeontx2: add remaining PTP operations

2019-07-03 Thread jerinj
From: Harman Kalra Add remaining PTP configuration/slowpath operations. Timesync feature is available only for PF devices. Signed-off-by: Harman Kalra Signed-off-by: Zyta Szpak --- doc/guides/nics/features/octeontx2.ini | 2 + drivers/net/octeontx2/otx2_ethdev.c| 6 ++ drivers/net/oct

[dpdk-dev] [PATCH v3 56/58] net/octeontx2: add MTU set operation

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add MTU set operation and MTU update feature. Signed-off-by: Vamsi Attunuru Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/octeontx2.rst | 1 + drivers

[dpdk-dev] [PATCH v3 34/58] net/octeontx2: add flow mbox utility functions

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding mailbox utility functions for rte_flow. These will be used to alloc, reserve and write the entries to the device on request. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow.h | 6 + drivers/net/octeontx2/otx2_flow

[dpdk-dev] [PATCH v3 33/58] net/octeontx2: add flow utility functions

2019-07-03 Thread jerinj
From: Kiran Kumar K First pass rte_flow utility functions for octeontx2. These will be used to communicate with AF driver. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/Makefile | 1 + drivers/net/octeontx2/meson.build | 1 + drivers/net

[dpdk-dev] [PATCH v3 44/58] net/octeontx2: support VLAN offloads

2019-07-03 Thread jerinj
From: Vivek Sharma Support configuring VLAN offloads for an ethernet device and dynamic promiscuous mode configuration for VLAN filters where filters are updated according to promiscuous mode of the device. Signed-off-by: Vivek Sharma --- doc/guides/nics/features/octeontx2.ini | 2 + doc

[dpdk-dev] [PATCH v3 38/58] net/octeontx2: add flow parse actions support

2019-07-03 Thread jerinj
From: Kiran Kumar K Adding support to parse flow actions like drop, count, mark, rss, queue. On egress side, only drop and count actions were supported. Signed-off-by: Kiran Kumar K Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_flow_parse.c | 276 drivers

[dpdk-dev] [PATCH v3 48/58] net/octeontx2: add Rx burst support

2019-07-03 Thread jerinj
From: Jerin Jacob Add Rx burst support. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Signed-off-by: Harman Kalra --- drivers/net/octeontx2/Makefile | 1 + drivers/net/octeontx2/meson.build | 2 +- drivers/net/octeontx2/otx2_ethdev.c |

[dpdk-dev] [PATCH v3 45/58] net/octeontx2: support VLAN filters

2019-07-03 Thread jerinj
From: Vivek Sharma Support setting up VLAN filters so as to allow tagged packet's reception after VLAN HW Filter offload is enabled. Signed-off-by: Vivek Sharma --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/

[dpdk-dev] [PATCH v3 46/58] net/octeontx2: support VLAN TPID and PVID for Tx

2019-07-03 Thread jerinj
From: Vivek Sharma Implement support for setting VLAN TPID and PVID for Tx packets. Signed-off-by: Vivek Sharma --- drivers/net/octeontx2/otx2_ethdev.c | 2 + drivers/net/octeontx2/otx2_ethdev.h | 5 +- drivers/net/octeontx2/otx2_vlan.c | 193 3 files changed

[dpdk-dev] [PATCH v3 51/58] net/octeontx2: add Tx burst support

2019-07-03 Thread jerinj
From: Jerin Jacob Add Tx burst support. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Signed-off-by: Harman Kalra --- doc/guides/nics/features/octeontx2.ini | 5 + doc/guides/nics/features/octeontx2_vec.ini | 5 + doc/guides/nics/features

[dpdk-dev] [PATCH v3 57/58] net/octeontx2: add Rx interrupts support

2019-07-03 Thread jerinj
From: Harman Kalra This patch implements rx interrupts feature required for power saving. These interrupts can be enabled/disabled on demand. Signed-off-by: Harman Kalra --- doc/guides/nics/features/octeontx2.ini| 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + doc/guides/nics/oc

[dpdk-dev] [PATCH v3 47/58] net/octeontx2: add FW version get operation

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add firmware version get operation. Signed-off-by: Vamsi Attunuru --- doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vec.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + drivers/net/octeontx2/otx2_ethdev.c| 1 +

[dpdk-dev] [PATCH v3 58/58] net/octeontx2: add link status set operations

2019-07-03 Thread jerinj
From: Vamsi Attunuru Add support for setting the link up and down. Signed-off-by: Vamsi Attunuru Signed-off-by: Nithin Dabilpuram --- drivers/net/octeontx2/otx2_ethdev.c | 2 ++ drivers/net/octeontx2/otx2_ethdev.h | 2 ++ drivers/net/octeontx2/otx2_link.c | 49

Re: [dpdk-dev] [EXT] Re: [PATCH 00/39] adding eventmode helper library

2019-07-03 Thread Thomas Monjalon
03/07/2019 03:35, Anoob Joseph: > From: Mattias Rönnblom > > On 2019-07-02 18:18, Anoob Joseph wrote: > > >> For what exactly is being proposed, is there a short version of the > > >> suggested > > approach and the logic behind it? > > >> I think eventdev should be simple to use and could be adde

[dpdk-dev] [RFC v2 0/5] use WFE for locks and ring on aarch64

2019-07-03 Thread Gavin Hu
DPDK has multiple use cases where the core repeatedly polls a location in memory. This polling results in many cache and memory transactions. Arm architecture provides WFE (Wait For Event) instruction, which allows the cpu core to enter a low power state until woken up by the update to the memory

[dpdk-dev] [RFC v2 1/5] eal: add the APIs to wait until equal

2019-07-03 Thread Gavin Hu
The rte_wait_until_equalxx APIs abstract the functionality of 'polling for a memory location to become equal to a given value'. Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Steve Capper Reviewed-by: Ola Liljedahl Reviewed-by: Honnappa Nagarahalli --- .../common/include/arch

[dpdk-dev] [RFC v2 4/5] spinlock: use wfe to reduce contention on aarch64

2019-07-03 Thread Gavin Hu
In acquiring a spinlock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API. 5~10% performance gain was measured by running spinlock_autotest on 14 isolated cores of ThunderX2. Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Phil Yang Reviewed-

[dpdk-dev] [RFC v2 5/5] config: add WFE config entry for aarch64

2019-07-03 Thread Gavin Hu
Add the RTE_USE_WFE configuration entry for aarch64, disabled by default. It can be enabled selectively based on the performance benchmarking. Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Steve Capper Reviewed-by: Honnappa Nagarahalli --- config/arm/meson.build | 1 + co

[dpdk-dev] [RFC v2 2/5] ticketlock: use new API to reduce contention on aarch64

2019-07-03 Thread Gavin Hu
While using ticket lock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API. Running ticketlock_autotest on ThunderX2, with different numbers of cores and depths of rings, 3%~8% performance gains were measured. Signed-off-by: Gavin Hu Reviewed-by: Honnappa Naga

[dpdk-dev] [RFC v2 3/5] ring: use wfe to wait for ring tail update on aarch64

2019-07-03 Thread Gavin Hu
Instead of polling for tail to be updated, use wfe instruction. Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Steve Capper Reviewed-by: Ola Liljedahl Reviewed-by: Honnappa Nagarahalli --- lib/librte_ring/rte_ring_c11_mem.h | 4 ++-- lib/librte_ring/rte_ring_generic.h | 3 +--

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread Tiwei Bie
On Wed, Jul 03, 2019 at 10:26:39AM +0200, David Marchand wrote: > On Wed, Jul 3, 2019 at 10:17 AM Tiwei Bie wrote: > > On Wed, Jul 03, 2019 at 10:01:44AM +0200, David Marchand wrote: > > On Wed, Jul 3, 2019 at 9:58 AM Tiwei Bie wrote: > > > > On Wed, Jul 03, 2019 at 09:36:26A

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread David Marchand
On Wed, Jul 3, 2019 at 11:01 AM Tiwei Bie wrote: > On Wed, Jul 03, 2019 at 10:26:39AM +0200, David Marchand wrote: > > This patch breaks the ABI by extending rte_pci_device. > > You must rework it to avoid this break. > > I didn't expect it to be merged in this release. I just want > to draw othe

Re: [dpdk-dev] [PATCH v7 10/12] net/failsafe: use common ether address parsing routine

2019-07-03 Thread Gaëtan Rivet
On Tue, Jul 02, 2019 at 03:12:45PM -0700, Stephen Hemminger wrote: > Use rte_ether_unformat_addr rather than sscanf. > > Signed-off-by: Stephen Hemminger Acked-by: Gaetan Rivet -- Gaëtan Rivet 6WIND

[dpdk-dev] [PATCH 19.08] doc: announce infinite Rx PCAP PMD feature

2019-07-03 Thread Cian Ferriter
Signed-off-by: Cian Ferriter --- doc/guides/rel_notes/release_19_08.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_19_08.rst b/doc/guides/rel_notes/release_19_08.rst index 60c258136..c5acfe028 100644 --- a/doc/guides/rel_notes/release_19_08.rst +++ b/d

Re: [dpdk-dev] i40e driver with VFs and their changing MAC

2019-07-03 Thread Eelco Chaudron
Intel, any feedback on the below? Thanks, Eelco On 24 Jun 2019, at 17:39, Eelco Chaudron wrote: Hi, I’m running into an issue where I have a VF used by OVS-DPDK and from the kernel side change the MAC. I used the following command to change the mac: ip link set p5p2 vf 0 mac 52:54:00:92:

[dpdk-dev] [PATCH v2] telemetry: fix build warnings seen when using gcc 9

2019-07-03 Thread Flavia Musatescu
Suppress the unaligned packed member address warnings by extending the telemetry library build flags with -Wno-address-of-packed-member option, through the WERROR_FLAGS makefile variable. With this change additional warnings are turned on to be treated as errors, which causes the following build i

Re: [dpdk-dev] [RFC PATCH] bus/pci: avoid depending on private value in kernel source

2019-07-03 Thread Tiwei Bie
On Wed, Jul 03, 2019 at 11:10:21AM +0200, David Marchand wrote: > > On Wed, Jul 3, 2019 at 11:01 AM Tiwei Bie wrote: > > On Wed, Jul 03, 2019 at 10:26:39AM +0200, David Marchand wrote: > > This patch breaks the ABI by extending rte_pci_device. > > You must rework it to avoid this bre

Re: [dpdk-dev] [PATCH v3 00/14] Make shared memory config non-public

2019-07-03 Thread David Marchand
Hello Anatoly, On Thu, Jun 27, 2019 at 1:39 PM Anatoly Burakov wrote: > This patchset removes the shared memory config from public > API, and replaces all usages of said config with new API > calls. > > A lot of the patchset is a search-and-replace job and should > be pretty easy to review. The

Re: [dpdk-dev] [EXT] Re: [PATCH 00/39] adding eventmode helper library

2019-07-03 Thread Anoob Joseph
Hi Thomas, Please see inline. Thanks, Anoob > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, July 3, 2019 2:21 PM > To: Anoob Joseph > Cc: Mattias Rönnblom ; Bruce Richardson > ; Jerin Jacob Kollanukkaran > ; dev@dpdk.org; Nikhil Rao ; > Erik Gabriel Carrillo ; Abhinanda

Re: [dpdk-dev] [EXT] Re: [PATCH] net/af_packet: set default blocksize to pagesize

2019-07-03 Thread Krzysztof Kanas
On 19-06-27 19:25, Ferruh Yigit wrote: > External Email > > -- > On 6/24/2019 3:32 PM, kka...@marvell.com wrote: > > From: Krzysztof Kanas > > > > Kernel validates block size to be aligned to page size. Code works on > > platfor

Re: [dpdk-dev] [PATCH v2] crypto/openssl: fix inproper freeing of asymmetric crypto keys in rsa

2019-07-03 Thread Akhil Goyal
> > > > In case big number need to be freed, data it contains should be cleared > > before especially if it is critical data like private keys. > > > > Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations") > > > > Signed-off-by: Arek Kusztal > Acked-by: Fiona Trahe Applied t

[dpdk-dev] [PATCH v3 2/6] event/octeontx2: resize SSO inflight event buffers

2019-07-03 Thread pbhagavatula
From: Pavan Nikhilesh Resize SSO internal in-flight buffer count based on the Rx queues mempool size connected to event queues. Signed-off-by: Pavan Nikhilesh --- drivers/event/octeontx2/otx2_evdev.h | 2 ++ drivers/event/octeontx2/otx2_evdev_adptr.c | 34 +- 2 files

[dpdk-dev] [PATCH v3 3/6] event/octeontx2: add event eth Rx adapter fastpath ops

2019-07-03 Thread pbhagavatula
From: Pavan Nikhilesh Add support for event eth Rx adapter fastpath operations. Signed-off-by: Jerin Jacob Signed-off-by: Pavan Nikhilesh Signed-off-by: Nithin Dabilpuram --- drivers/event/octeontx2/otx2_evdev.c | 308 - drivers/event/octeontx2/otx2_evdev.h |

[dpdk-dev] [PATCH v3 5/6] event/octeontx2: add Tx adadpter support

2019-07-03 Thread pbhagavatula
From: Pavan Nikhilesh Add event eth Tx adapter support to octeontx2 SSO. Signed-off-by: Jerin Jacob Signed-off-by: Pavan Nikhilesh Signed-off-by: Nithin Dabilpuram --- drivers/event/octeontx2/otx2_evdev.c | 79 drivers/event/octeontx2/otx2_evdev.h | 32 ++

[dpdk-dev] [PATCH v3 1/6] event/octeontx2: add event eth Rx adapter support

2019-07-03 Thread pbhagavatula
From: Pavan Nikhilesh Add event eth Rx adapter capabilities, queue add and delete functions. Signed-off-by: Pavan Nikhilesh Signed-off-by: Jerin Jacob --- drivers/event/octeontx2/Makefile | 4 +- drivers/event/octeontx2/meson.build| 2 +- drivers/event/octeontx2/otx2_evd

Re: [dpdk-dev] [PATCH v6 1/2] examples/ipsec-secgw: fix 1st pkt dropped for inline crypto

2019-07-03 Thread Akhil Goyal
Hi Bernard, > > > > Inline crypto installs a flow rule in the NIC. This flow > > rule must be installed before the first inbound packet is > > received. > > > > The create_session() function installs the flow rule, > > create_session() has been refactored into create_inline_session() > > and creat

[dpdk-dev] [PATCH v3 4/6] event/octeontx2: add PTP support for SSO

2019-07-03 Thread pbhagavatula
From: Harman Kalra Add PTP support for SSO based on rx_offloads of the queue connected to it. Signed-off-by: Harman Kalra Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/event/octeontx2/otx2_evdev.c | 2 ++ drivers/event/octeontx2/otx2_evdev.h | 6 ++

[dpdk-dev] [PATCH v3 6/6] doc: update Marvell OCTEON TX2 documentation

2019-07-03 Thread pbhagavatula
From: Pavan Nikhilesh Update event octentx2 capabilities w.r.t event eth Rx/Tx capabilities. Signed-off-by: Pavan Nikhilesh Acked-by: John McNamara --- doc/guides/eventdevs/octeontx2.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/eventdevs/octeontx2.rst b/doc/guides

[dpdk-dev] [PATCH v3 0/6] event/octeontx2: add Rx/Tx adapter support

2019-07-03 Thread pbhagavatula
From: Pavan Nikhilesh This patchset adds event eth Rx/Tx adapter support for OCTEONTX2 event device, depends on: http://patches.dpdk.org/project/dpdk/list/?submitter=1188 v3 Changes: - rebase patches to v3 of net/octeontx2. - remove shared function between net/octeontx2 and event/octeontx2. v2

Re: [dpdk-dev] [PATCH v6 0/2] ipsec: ECN and DSCP header reconstruction

2019-07-03 Thread Akhil Goyal
Hi Fan, This patchset need a rebase. As today we need to close the subtrees for RC1, this patchset will go in RC2. Thanks, Akhil > > This patchset adds the ECN and DSCP tunnel mode header reconstruction > support for rte_ipsec library. The ipsec-secgw sample application is > updated with the fe

Re: [dpdk-dev] [PATCH v3 1/6] event/octeontx2: add event eth Rx adapter support

2019-07-03 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: pbhagavat...@marvell.com > Sent: Wednesday, July 3, 2019 3:34 PM > To: Jerin Jacob Kollanukkaran ; Pavan Nikhilesh > Bhagavatula > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 1/6] event/octeontx2: add event eth Rx > adapter support > > From: Pavan Nikhil

Re: [dpdk-dev] [PATCH v6 1/2] examples/ipsec-secgw: fix 1st pkt dropped for inline crypto

2019-07-03 Thread Iremonger, Bernard
Hi Akhil, > -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Wednesday, July 3, 2019 11:05 AM > To: Ananyev, Konstantin ; Iremonger, > Bernard ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH v6 1/2] examples/ipsec-secgw: fix 1st pkt dropped for > inlin

  1   2   3   >