Re: [dpdk-dev] [PATCH v13 2/5] eal: add the APIs to wait until equal

2019-12-09 Thread Honnappa Nagarahalli
> > > > Subject: Re: [PATCH v13 2/5] eal: add the APIs to wait until equal > > > > > > > > 08/11/2019 17:38, Ananyev, Konstantin: > > > > > > From: Gavin Hu > > > > > > +static __rte_always_inline void > > > > > > +rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t > expected, > > > > > >

Re: [dpdk-dev] [RFC] ethdev: add IPv4/IPv6 DSCP rewrite action

2019-12-09 Thread Andrew Rybchenko
On 12/10/19 8:23 AM, Suanming Mou wrote: > For some overlay network, such as VXLAN, the DSCP field in the new outer > IP header after VXLAN decapsulation may need to be updated accordingly. > > This commit introduce the DSCP modify action for IPv4 and IPv6. > > Signed-off-by: Suanming Mou Acked

Re: [dpdk-dev] [PATCH] net/netvsc: disable before changing RSS parameters

2019-12-09 Thread Stephen Hemminger
On Tue, 10 Dec 2019 02:31:31 + "donald_...@trendmicro.com" wrote: > Hi Dexuan, > > Yes! Can you please add my signed-off on it? Our mailing system will add > extra space on the patch last time I did. Thank you. > > Regards, > Donald > Thanks.

[dpdk-dev] [PATCH] doc: add inline protocol in feature list

2019-12-09 Thread Anoob Joseph
Update feature list to include inline protocol offload. Signed-off-by: Anoob Joseph --- doc/guides/nics/features.rst | 18 ++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/featur

Re: [dpdk-dev] [PATCH v13 1/5] bus/fslmc: fix the conflicting dmb function

2019-12-09 Thread Honnappa Nagarahalli
In case there are more versions of the WFE patch, is it ok to merge this patch alone?. It will be one less patch to carry around. Thanks, Honnappa > -Original Message- > From: dev On Behalf Of David Marchand > Sent: Thursday, November 7, 2019 3:35 PM > To: dev@dpdk.org > Cc: nd ; konstan

Re: [dpdk-dev] Sharing Data structure between logical cores in DPDK- regarding

2019-12-09 Thread Honnappa Nagarahalli
> > It depends on the datastructure. > > If you use rte_hash, with the thread safety flags, it's safe. > > In any case having a lot of cores accessing the same DS will lead to bad > performance. You should try to have per-core data structures whenever > possible. Even better if you can create

[dpdk-dev] DPDK 20.02 Marvell roadmap

2019-12-09 Thread Jerin Jacob Kollanukkaran
1) l3fwd eventdev support 2) ipsec-secgw eventdev support 3) Inline IPsec support for OCTEONTX2 SoC 4) ECDSA & ECPM support in asymmetric crypto library and OCTEONTX PMDs 5) RegExdev RFC follow up and send V1 http://patches.dpdk.org/patch/55505/ 6) raw driver for OCTEONTX2 endpoint for SmartNIC u

[dpdk-dev] [RFC] ethdev: add IPv4/IPv6 DSCP rewrite action

2019-12-09 Thread Suanming Mou
For some overlay network, such as VXLAN, the DSCP field in the new outer IP header after VXLAN decapsulation may need to be updated accordingly. This commit introduce the DSCP modify action for IPv4 and IPv6. Signed-off-by: Suanming Mou --- doc/guides/prog_guide/rte_flow.rst | 40 ++

Re: [dpdk-dev] discussion: creating a new class for vdpa driversxiao.w.w...@intel.com

2019-12-09 Thread Tiwei Bie
On Mon, Dec 09, 2019 at 02:22:27PM +0300, Andrew Rybchenko wrote: > On 12/9/19 1:41 PM, Ori Kam wrote: > > Hi > > > >> -Original Message- > >> From: dev On Behalf Of Andrew Rybchenko > >> Sent: Monday, December 9, 2019 9:44 AM > >> To: Matan Azrad ; Liang, Cunming > >> ; Bie, Tiwei > >>

Re: [dpdk-dev] [PATCH] net/netvsc: disable before changing RSS parameters

2019-12-09 Thread donald_...@trendmicro.com
On 10/12/2019, 5:29 AM, "Dexuan Cui" wrote: This message was sent from outside of Trend Micro. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe. > From: Dexuan Cui > Sent: Monday, November 25,

[dpdk-dev] [PATCH] net/ice: fix packet type table

2019-12-09 Thread Shougang Wang
According to comms package, index 94 should be MAC_IPV6_ICMP, not MAC_IPV4_ICMP. This patch fix the issue. Fixes: 4cf29798b4c9 ("net/ice: fix packet type table") Cc: sta...@dpdk.org Signed-off-by: Shougang Wang --- drivers/net/ice/ice_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH v3 16/17] net/ionic: add TX checksum support

2019-12-09 Thread Alfredo Cardigliano
Add support for TX checksumming. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/ionic_ethdev.c | 5 ++ drivers/net/ionic/ionic_lif.c| 1 + drivers/net/ionic/ionic_lif.h| 1 + drivers/net/ionic/ionic_rxtx.c | 90 ++--

[dpdk-dev] [PATCH v3 17/17] net/ionic: read fw version

2019-12-09 Thread Alfredo Cardigliano
Add support for reading the firmware version. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 1 + drivers/net/ionic/ionic.h | 1 + drivers/net/ionic/ionic_dev.c | 8 drivers/net/ionic/ionic_ethdev.c | 20 ++

[dpdk-dev] [PATCH v3 11/17] net/ionic: add RX filters support

2019-12-09 Thread Alfredo Cardigliano
Add support for managing RX filters based on MAC and VLAN. Hardware cannot provide the list of filters, thus we keep a local list. Add support for promisc and allmulticast modes. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 4 + driv

[dpdk-dev] [PATCH v3 14/17] net/ionic: add RSS support

2019-12-09 Thread Alfredo Cardigliano
Add code to manipulate the RSS configuration used by the adapter. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 3 + drivers/net/ionic/ionic_ethdev.c | 175 + drivers/net/ionic/ionic_ethdev.h | 8 ++ d

[dpdk-dev] [PATCH v3 15/17] net/ionic: add stats

2019-12-09 Thread Alfredo Cardigliano
Add basic, per queue and extended statistics for RX and TX, both from the adapter and the driver. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 3 + drivers/net/ionic/ionic_ethdev.c | 253 + drivers/net/io

[dpdk-dev] [PATCH v3 13/17] net/ionic: add RX and TX handling

2019-12-09 Thread Alfredo Cardigliano
Add RX and TX queues setup and handling. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 11 + drivers/net/ionic/Makefile | 1 + drivers/net/ionic/ionic_dev.h | 1 + drivers/net/ionic/ionic_ethdev.c | 115 drivers/

[dpdk-dev] [PATCH v3 12/17] net/ionic: add Flow Control support

2019-12-09 Thread Alfredo Cardigliano
Add support for managing Flow Control. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 1 + drivers/net/ionic/ionic_ethdev.c | 56 ++ 2 files changed, 57 insertions(+) diff --git a/doc/guides/nics/features/i

[dpdk-dev] [PATCH v3 09/17] net/ionic: add notifyq support

2019-12-09 Thread Alfredo Cardigliano
Add support for the notify queue, which is used for events published by the NIC. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/ionic.h| 2 + drivers/net/ionic/ionic_ethdev.c | 97 +++ drivers/net/ionic/ionic_lif.c| 196 ++

[dpdk-dev] [PATCH v3 10/17] net/ionic: add basic port operations

2019-12-09 Thread Alfredo Cardigliano
Add support for port start/stop and handle basic features including mtu and link up/down. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 4 + drivers/net/ionic/ionic.h | 1 + drivers/net/ionic/ionic_dev.h | 3 + driver

[dpdk-dev] [PATCH v3 08/17] net/ionic: add adminq support

2019-12-09 Thread Alfredo Cardigliano
Add support for the admin queue, which is used for most of the NIC configurations. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/ionic.h | 3 + drivers/net/ionic/ionic_dev.c | 255 +++ drivers/net/ionic/ionic_dev.h | 95 ++

[dpdk-dev] [PATCH v3 07/17] net/ionic: add doorbells

2019-12-09 Thread Alfredo Cardigliano
Doorbell registers are used by the driver to signal to the NIC that requests are waiting on the message queues. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/ionic_dev.c | 15 +++ drivers/net/ionic/ionic_dev.h | 19 +++ drivers/

[dpdk-dev] [PATCH v3 06/17] net/ionic: add basic lif support

2019-12-09 Thread Alfredo Cardigliano
Initialize LIFs (Logical Interfaces) which represents external connections. The NIC can multiplex many LIFs to a single port, but in most setups, LIF0 is the primary control for the port. Create a device for each LIF. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/ne

[dpdk-dev] [PATCH v3 03/17] net/ionic: add log

2019-12-09 Thread Alfredo Cardigliano
Add debug options to the config file. Define macros used for logs and make use of config file options to enable them. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/Makefile | 2 +- drivers/net/ionic/ionic_ethdev.c | 15 +++ drivers/net/i

[dpdk-dev] [PATCH v3 04/17] net/ionic: register and initialize the adapter

2019-12-09 Thread Alfredo Cardigliano
Register the Pensando ionic PMD (net_ionic) and define initial probe and remove callbacks with adapter initialization. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- doc/guides/nics/features/ionic.ini | 2 + drivers/net/ionic/Makefile | 3 + drivers/net/ionic/ion

[dpdk-dev] [PATCH v3 05/17] net/ionic: add port management commands

2019-12-09 Thread Alfredo Cardigliano
Add port management commands that apply to the physical ports associated with the PCI device, which might be shared among several logical interfaces. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/ionic.h| 6 ++ drivers/net/ionic/ionic_dev.c|

[dpdk-dev] [PATCH v3 01/17] net/ionic: add skeleton

2019-12-09 Thread Alfredo Cardigliano
Add makefile and config file options to compile the Pensando ionic PMD. Add feature and version map file. Update maintainers file. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- MAINTAINERS | 6 config/common_base

[dpdk-dev] [PATCH v3 02/17] net/ionic: add hardware structures definitions

2019-12-09 Thread Alfredo Cardigliano
Add hardware structures and message commands definitions for Pensando network adapters. Signed-off-by: Alfredo Cardigliano Reviewed-by: Shannon Nelson --- drivers/net/ionic/ionic_if.h | 2491 ++ 1 file changed, 2491 insertions(+) create mode 100644 drivers/net/i

[dpdk-dev] [PATCH v3 00/17] Introduces net/ionic PMD

2019-12-09 Thread Alfredo Cardigliano
The patch series provides an initial version of a poll mode driver for Pensando network adapters. The driver name is ionic. v3 Changes: -- - Set the license to BSD-3 (in addition to GPL-2) - Add the new PMD driver to the release notes - Add a link to the adapter vendor page - Cleanup the m

[dpdk-dev] [PATCH] doc: fix build with python 3.8

2019-12-09 Thread Thomas Monjalon
After upgrading to python-3.8.0, a syntax mismatch is revealed: doc/guides/conf.py:240: SyntaxWarning: "is not" with a literal. Did you mean "!="? if value is not '': Replacing "is not" with "!=" seems the right thing to do. A patch may also be needed in the RTD theme package: https://gi

[dpdk-dev] [PATCH] net/mlx5: fix eagain on admin down

2019-12-09 Thread Mike Manning
The check in mlx5_link_update_unlocked_gs() returns -EAGAIN if link status does not correspond to link speed. If status is DOWN, the speed is expected to be ETH_SPEED_NUM_NONE (0). But as the link speed is -1 on admin down, modify the check to account for this. Fixes: cfee94752b8f ("net/mlx5: fix

Re: [dpdk-dev] [dpdk-stable] [PATCH v3] app/test: fix build when ring PMD is disabled

2019-12-09 Thread Aaron Conole
Ferruh Yigit writes: > On 12/9/2019 1:38 PM, Pattan, Reshma wrote: >> >> > -Original Message- > From: David Marchand >> v3: add missing test event_eth_tx_adapter_autotest. >> >> Just wondering, if is it ok to send me the v4 by reverting the test >> case addition from run f

Re: [dpdk-dev] [PATCH v2] net/pcap: truncate packet if it is too large

2019-12-09 Thread Ferruh Yigit
On 12/9/2019 11:26 AM, Ferriter, Cian wrote: <...> > >> -Original Message- >> From: Zhike Wang >> Sent: Monday 9 December 2019 01:53 >> To: dev@dpdk.org >> Cc: wangzh...@jd.com; Yigit, Ferruh ; Ferriter, Cian >> ; Zhike Wang >> Subject: [PATCH v2] net/pcap: truncate packet if it is too

Re: [dpdk-dev] [dpdk-stable] [PATCH v3] app/test: fix build when ring PMD is disabled

2019-12-09 Thread Ferruh Yigit
On 12/9/2019 1:38 PM, Pattan, Reshma wrote: > > -Original Message- From: David Marchand > v3: add missing test event_eth_tx_adapter_autotest. > > Just wondering, if is it ok to send me the v4 by reverting the test case > addition from run for this patch to get accepted, a

Re: [dpdk-dev] RFC - adding filter to packet capture API

2019-12-09 Thread Stephen Hemminger
On Mon, 9 Dec 2019 13:41:30 + "Ananyev, Konstantin" wrote: > > > > 4. Keep existing function signature, but be type unsafe. > >This keeps API, but still is ABI breakage for programs that passed > >garbage. Plus C is unsafe enough already. > > > > My preference is probably #4, wit

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/bonding: do not inherit slave device configuration

2019-12-09 Thread Chas Williams
On 12/9/19 9:31 AM, Andrew Rybchenko wrote: > On 12/9/19 4:36 PM, Chas Williams wrote: >> >> >> On 12/9/19 2:16 AM, Andrew Rybchenko wrote: >>> On 12/8/19 6:44 PM, Chas Williams wrote: On 2019-11-19 07:40, Andrew Rybchenko wrote: > On 11/19/19 3:18 PM, Ferruh Yigit wrote: >> On 11/

Re: [dpdk-dev] [PATCH 1/3] ethdev: add RSS hash level

2019-12-09 Thread Ferruh Yigit
On 12/9/2019 7:35 AM, Andrew Rybchenko wrote: > On 12/7/19 10:56 PM, Ajit Khaparde wrote: >> On Sat, Dec 7, 2019 at 1:14 AM Andrew Rybchenko >> wrote: >> >>> On 12/7/19 3:59 AM, Ajit Khaparde wrote: This patch adds ability to configure RSS hash level in hardware. This feature will allow

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/bonding: do not inherit slave device configuration

2019-12-09 Thread Andrew Rybchenko
On 12/9/19 4:36 PM, Chas Williams wrote: > > > On 12/9/19 2:16 AM, Andrew Rybchenko wrote: >> On 12/8/19 6:44 PM, Chas Williams wrote: >>> On 2019-11-19 07:40, Andrew Rybchenko wrote: On 11/19/19 3:18 PM, Ferruh Yigit wrote: > On 11/19/2019 9:03 AM, Andrew Rybchenko wrote: >> Bonding

Re: [dpdk-dev] [PATCH] ethdev: allow multiple security sessions to use one rte flow

2019-12-09 Thread Anoob Joseph
Hi Konstantin, Please see inline. Thanks, Anoob > -Original Message- > From: Ananyev, Konstantin > Sent: Monday, December 9, 2019 6:49 PM > To: Anoob Joseph ; Akhil Goyal ; > Adrien Mazarguil ; Doherty, Declan > ; Yigit, Ferruh ; Jerin > Jacob > Kollanukkaran ; Thomas Monjalon > > Cc:

Re: [dpdk-dev] RFC - adding filter to packet capture API

2019-12-09 Thread Ananyev, Konstantin
> In the process of updating packet capture to take a filter program, there > is one open question about API/ABI. > > The example is: > > int > rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, > struct rte_ring *ring, > struct rte_mempool *mp, >

Re: [dpdk-dev] [dpdk-stable] [PATCH v3] app/test: fix build when ring PMD is disabled

2019-12-09 Thread Pattan, Reshma
> > > -Original Message- > > > From: David Marchand > > > > v3: add missing test event_eth_tx_adapter_autotest. Just wondering, if is it ok to send me the v4 by reverting the test case addition from run for this patch to get accepted, as fixing the test case can be handled separately.

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/bonding: do not inherit slave device configuration

2019-12-09 Thread Chas Williams
On 12/9/19 2:16 AM, Andrew Rybchenko wrote: > On 12/8/19 6:44 PM, Chas Williams wrote: >> On 2019-11-19 07:40, Andrew Rybchenko wrote: >>> On 11/19/19 3:18 PM, Ferruh Yigit wrote: On 11/19/2019 9:03 AM, Andrew Rybchenko wrote: > Bonding device should control bonded devices configuratio

Re: [dpdk-dev] [PATCH] ethdev: allow multiple security sessions to use one rte flow

2019-12-09 Thread Ananyev, Konstantin
> > The rte_security API which enables inline protocol/crypto feature > mandates that for every security session an rte_flow is created. This > would internally translate to a rule in the hardware which would do > packet classification. > > In rte_securty, one SA would be one security session.

Re: [dpdk-dev] [PATCH] net/ice: add TSO offload use basic path

2019-12-09 Thread Ye Xiaolong
On 12/03, taox@intel.com wrote: >From: Zhu Tao > >ICE choices VECTOR TX path or Basic TX path by macro >ICE_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path. > >Fixes: f88de4694d ("net/ice: support Tx SSE vector") > >Signed-off-by: Zhu Tao >--- > drivers/net/ice/ice_rxtx_vec_commo

Re: [dpdk-dev] [PATCH] net/fm10k: fix descriptor vlan field filling in Tx

2019-12-09 Thread Ye Xiaolong
On 12/06, Wang, Xiao W wrote: >Hi, > >> -Original Message- >> From: Lu Qiuwen >> Sent: Thursday, December 5, 2019 9:30 PM >> To: Zhang, Qi Z ; Wang, Xiao W >> >> Cc: dev@dpdk.org; Shaw, Jeffrey B ; >> sta...@dpdk.org >> Subject: [PATCH] net/fm10k: fix descriptor vlan field filling in Tx >

Re: [dpdk-dev] [PATCH v3] kernel/linux: fix kernel dir for meson

2019-12-09 Thread Bruce Richardson
On Sun, Dec 08, 2019 at 09:26:57AM +0800, Ye Xiaolong wrote: > On 12/04, Bruce Richardson wrote: > >On Wed, Dec 04, 2019 at 10:18:21PM +0800, Ye Xiaolong wrote: > >> On 12/04, Luca Boccassi wrote: > >> >On Tue, 2019-12-03 at 23:59 +0800, Xiaolong Ye wrote: > >> >> kernel_dir option in meson build i

Re: [dpdk-dev] [PATCH] examples/ethtool: fix unchecked return value

2019-12-09 Thread Bruce Richardson
On Mon, Dec 09, 2019 at 06:37:56AM +, Gargi Sau wrote: > This checks the return value from the function > rte_eth_dev_set_vlan_offload. > > Coverity issue: 350358 > Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample > application") > Cc: sta...@dpdk.org > > Signed-off-by:

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix device mcast list error handling

2019-12-09 Thread Ferruh Yigit
On 12/4/2019 4:48 PM, Ferruh Yigit wrote: > On 12/4/2019 4:38 PM, Ciara Power wrote: >> The multicast set list function now has a return value, which is checked >> by the calling functions. A rollback occurs on detection of failure, to >> realign local config with the device config. >> >> The error

Re: [dpdk-dev] [PATCH v2] net/pcap: truncate packet if it is too large

2019-12-09 Thread Ferriter, Cian
Hi Zhike, I've tested the behavior before and after this patch and can verify that the packets are being correctly truncated. Code looks good to me too. Reviewed-by: Cian Ferriter Thanks, Cian > -Original Message- > From: Zhike Wang > Sent: Monday 9 December 2019 01:53 > To: dev@dpd

Re: [dpdk-dev] discussion: creating a new class for vdpa driversxiao.w.w...@intel.com

2019-12-09 Thread Andrew Rybchenko
On 12/9/19 1:41 PM, Ori Kam wrote: > Hi > >> -Original Message- >> From: dev On Behalf Of Andrew Rybchenko >> Sent: Monday, December 9, 2019 9:44 AM >> To: Matan Azrad ; Liang, Cunming >> ; Bie, Tiwei >> Cc: Wang, Xiao W ; Thomas Monjalon >> ; maxime.coque...@redhat.com; Wang, Zhihong >>

Re: [dpdk-dev] discussion: creating a new class for vdpa driversxiao.w.w...@intel.com

2019-12-09 Thread Ori Kam
Hi > -Original Message- > From: dev On Behalf Of Andrew Rybchenko > Sent: Monday, December 9, 2019 9:44 AM > To: Matan Azrad ; Liang, Cunming > ; Bie, Tiwei > Cc: Wang, Xiao W ; Thomas Monjalon > ; maxime.coque...@redhat.com; Wang, Zhihong > ; Yigit, Ferruh ; Shahaf > Shuler ; Ori Kam ;

Re: [dpdk-dev] RFC - adding filter to packet capture API

2019-12-09 Thread Ray Kinsella
On 06/12/2019 22:11, Stephen Hemminger wrote: > In the process of updating packet capture to take a filter program, there > is one open question about API/ABI. > > The example is: > > int > rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, > struct rte_ring *ring, >

Re: [dpdk-dev] [PATCH v3] build: add dockerfile for building docker image

2019-12-09 Thread Yasufumi Ogawa
Hi Abdul, On 2019/12/06 20:12, Halim, Abdul wrote: -Original Message- From: Yasufumi Ogawa Sent: Thursday, December 5, 2019 7:52 PM To: Ruifeng Wang (Arm Technology China) ; Halim, Abdul ; dev@dpdk.org Cc: Kinsella, Ray ; nd Subject: Re: [dpdk-dev] [PATCH v3] build: add dockerfile for

Re: [dpdk-dev] [PATCH v3] build: add dockerfile for building docker image

2019-12-09 Thread Yasufumi Ogawa
On 2019/12/09 12:23, Ruifeng Wang (Arm Technology China) wrote: -Original Message- From: Halim, Abdul Sent: Friday, December 6, 2019 19:13 To: Yasufumi Ogawa ; Ruifeng Wang (Arm Technology China) ; dev@dpdk.org Cc: Kinsella, Ray ; nd ; Richardson, Bruce Subject: RE: [dpdk-dev] [PATCH v3

[dpdk-dev] [PATCH v1 6/6] raw/octeontx2_ep: add driver self test

2019-12-09 Thread Mahipal Challa
Add rawdev's selftest feature in SDP VF driver, which verifies the EP mode functionality test. Signed-off-by: Mahipal Challa --- doc/guides/rawdevs/octeontx2_ep.rst | 13 +++ drivers/raw/octeontx2_ep/Makefile | 1 + drivers/raw/octeontx2_ep/meson.build | 1 + drivers/raw/

[dpdk-dev] [PATCH v1 4/6] raw/octeontx2_ep: add enqueue operation

2019-12-09 Thread Mahipal Challa
Add rawdev enqueue operation for SDP VF devices. Signed-off-by: Mahipal Challa --- doc/guides/rawdevs/octeontx2_ep.rst | 6 + drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c | 242 ++ drivers/raw/octeontx2_ep/otx2_ep_enqdeq.h | 39 + drivers/raw/octeontx2_ep/ot

[dpdk-dev] [PATCH v1 5/6] raw/octeontx2_ep: add dequeue operation

2019-12-09 Thread Mahipal Challa
Add rawdev dequeue operation for SDP VF devices. Signed-off-by: Mahipal Challa --- drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c | 199 ++ drivers/raw/octeontx2_ep/otx2_ep_enqdeq.h | 2 + drivers/raw/octeontx2_ep/otx2_ep_rawdev.c | 1 + drivers/raw/octeontx2_ep/otx2_e

[dpdk-dev] [PATCH v1 3/6] raw/octeontx2_ep: add device uninitialization

2019-12-09 Thread Mahipal Challa
Add rawdev close/uninitialize operation for SDP VF devices. Signed-off-by: Mahipal Challa --- drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c | 111 ++ drivers/raw/octeontx2_ep/otx2_ep_rawdev.c | 78 + drivers/raw/octeontx2_ep/otx2_ep_rawdev.h | 8 +++

[dpdk-dev] [PATCH v1 0/6] OCTEON TX2 End Point Driver

2019-12-09 Thread Mahipal Challa
This patchset adds support for OCTEON TX2 end point mode of operation. The driver implementation uses DPDK rawdevice sub-system. Mahipal Challa (6): raw/octeontx2_ep: add build infra and device probe raw/octeontx2_ep: add device configuration raw/octeontx2_ep: add device uninitialization r

[dpdk-dev] [PATCH v1 2/6] raw/octeontx2_ep: add device configuration

2019-12-09 Thread Mahipal Challa
Register "dev_configure" API to configure/initialize the SDP VF PCIe devices. Signed-off-by: Mahipal Challa --- doc/guides/rawdevs/octeontx2_ep.rst| 29 ++ drivers/common/octeontx2/hw/otx2_sdp.h | 184 + drivers/common/octeontx2/otx2_common.c |

[dpdk-dev] [PATCH v1 1/6] raw/octeontx2_ep: add build infra and device probe

2019-12-09 Thread Mahipal Challa
Add the OCTEON TX2 SDP EP device probe along with the build infrastructure for Make and meson builds. Signed-off-by: Mahipal Challa --- MAINTAINERS| 5 + config/common_base | 5 + doc/guides/rawdevs/index.rst

Re: [dpdk-dev] [PATCH] Don't combine '-r' and '--export-dynamic' linker options

2019-12-09 Thread Rafael Avila de Espindola
Hi Thomas, Are you the right maintainer fer reviewing this patch? Thanks, Rafael Rafael Ávila de Espíndola writes: > Running ld with '-r' switches the linker to a very special mode where > some other linker options don't make sense. > > In particular, '--export-dynamic' normally requires that

[dpdk-dev] [PATCH] examples/ethtool: fix unchecked return value

2019-12-09 Thread Gargi Sau
This checks the return value from the function rte_eth_dev_set_vlan_offload. Coverity issue: 350358 Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application") Cc: sta...@dpdk.org Signed-off-by: Gargi Sau --- examples/ethtool/lib/rte_ethtool.c | 4 +++- 1 file changed,

Re: [dpdk-dev] [PATCH v2 3/3] ethdev: improve flow mark Rx offload deprecation notice

2019-12-09 Thread Andrew Rybchenko
On 12/5/19 11:12 AM, Jerin Jacob wrote: > On Mon, Dec 2, 2019 at 5:27 PM Andrew Rybchenko > wrote: >> >> On 12/2/19 2:09 PM, Jerin Jacob wrote: >>> On Mon, Dec 2, 2019 at 6:16 PM Thomas Monjalon wrote: 02/12/2019 05:21, Jerin Jacob: > On Mon, Nov 25, 2019 at 8:39 PM Thomas Monjalon

Re: [dpdk-dev] [PATCH v2 04/17] net/ionic: register and initialize the adapter

2019-12-09 Thread Ferruh Yigit
On 12/8/2019 7:25 PM, Alfredo Cardigliano wrote: > >> On 2 Dec 2019, at 17:09, Ferruh Yigit > > wrote: >> >>> + * There is no room in struct rte_pci_driver to keep a reference >>> + * to the adapter, using a static list for the time being. >>> + */ >>> +static LIST_H

[dpdk-dev] [DPDK v2] net/i40e: add PF MDD event handler

2019-12-09 Thread taox . zhu
From: Zhu Tao This patch adds a handler for malicious driver detection event. We just gave a warning log and a statistical count on the PF. Signed-off-by: Zhu Tao --- doc/guides/nics/i40e.rst | 1 + doc/guides/rel_notes/release_20_02.rst | 4 ++ drivers/net/i40e/i40e_ethdev.c

Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix packed ring server mode

2019-12-09 Thread Liu, Yong
> -Original Message- > From: dev On Behalf Of Xuan Ding > Sent: Tuesday, December 10, 2019 12:50 AM > To: maintai...@dpdk.org > Cc: dev@dpdk.org; maxime.coque...@redhat.com; Bie, Tiwei > ; Wang, Zhihong ; Ding, Xuan > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v1] net/virtio-user: f

Re: [dpdk-dev] [PATCH 00/15] add OCTEONTX2 inline IPsec support

2019-12-09 Thread Jerin Jacob
On Sun, Dec 8, 2019 at 5:25 PM Anoob Joseph wrote: > > This series adds inline IPsec support in OCTEONTX2 PMD. > > In the inbound path, rte_flow framework need to be used to configure > the NPC block, which does the h/w lookup. The packets would get > processed by the crypto block and would submit

Re: [dpdk-dev] [PATCH 05/15] crypto/octeontx2: add security in eth dev configure

2019-12-09 Thread Jerin Jacob
On Mon, Dec 9, 2019 at 1:33 PM Anoob Joseph wrote: > > Hi Jerin, > > Please see inline. > > Thanks, > Anoob > > > -Original Message- > > From: dev On Behalf Of Jerin Jacob > > Sent: Monday, December 9, 2019 1:22 PM > > To: Anoob Joseph > > Cc: Akhil Goyal ; Declan Doherty > > ; Thomas Mo

Re: [dpdk-dev] [PATCH 05/15] crypto/octeontx2: add security in eth dev configure

2019-12-09 Thread Anoob Joseph
Hi Jerin, Please see inline. Thanks, Anoob > -Original Message- > From: dev On Behalf Of Jerin Jacob > Sent: Monday, December 9, 2019 1:22 PM > To: Anoob Joseph > Cc: Akhil Goyal ; Declan Doherty > ; Thomas Monjalon ; > Tejasree Kondoj ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Ra

Re: [dpdk-dev] [PATCH 10/15] crypto/octeontx2: add lookup mem changes to hold sa indices

2019-12-09 Thread Jerin Jacob
On Sun, Dec 8, 2019 at 5:27 PM Anoob Joseph wrote: > > From: Archana Muniganti > > lookup_mem provides fast accessing of data path fields. > Storing sa indices in lookup_mem which are required in > inline rx data path. > > Signed-off-by: Ankur Dwivedi > Signed-off-by: Anoob Joseph > Signed-off-