[dpdk-dev] Compilation failure when disabling Cavium OCTEONTX network PMD driver

2019-07-07 Thread Daniel Pharos
Hi, If I disable the Cavium OCTEONTX network PMD driver in the config file (so: "CONFIG_RTE_LIBRTE_OCTEONTX_PMD=n"), compilation of DPDK 19.05 fails with: /home/ubuntu/Downloads/dpdk-19.05/build/lib/librte_pmd_octeontx_ssovf.a(ssovf_worker.o): In function `ssows_flush_events': ssovf_worker.c:(.t

Re: [dpdk-dev] [PATCH v6 1/7] bbdev: renaming non-generic LTE specific structure

2019-07-07 Thread Thomas Monjalon
03/07/2019 17:24, Nicolas Chautru: > Renaming of the enums and structure which were LTE specific to > allow for extension and support for 5GNR operations. > > Signed-off-by: Nicolas Chautru > Acked-by: Amr Mokhtar > --- > - struct rte_bbdev_op_dec_cb_params *cb = NULL; > - struct rte_bbd

Re: [dpdk-dev] [PATCH v7 2/3] docs/guides: updating turbo_sw building steps

2019-07-07 Thread Thomas Monjalon
19/06/2019 19:48, Nicolas Chautru: > The documentation is clarified to point to steps on building the > SDK libraries which are now publicly available: > https://software.intel.com/en-us/articles/flexran-lte-and-5g-nr-fec-software-development-kit-modules > > Signed-off-by: Nicolas Chautru > Acked

[dpdk-dev] [Bug 307] ACL (librte_acl) field of type RANGE and size U32 is not working properly

2019-07-07 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=307 Bug ID: 307 Summary: ACL (librte_acl) field of type RANGE and size U32 is not working properly Product: DPDK Version: 18.11 Hardware: All OS: All Status:

Re: [dpdk-dev] [PATCH] net/mvneta: remove resources when port is closed

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: lir...@marvell.com > Sent: Wednesday, July 3, 2019 1:28 PM > To: Jerin Jacob Kollanukkaran > Cc: dev@dpdk.org; Liron Himi ; Yuri Chipchev > > Subject: [PATCH] net/mvneta: remove resources when port is closed > > From: yuric > > Since 18.11, it is suggested

Re: [dpdk-dev] [PATCH 1/3] eventdev: fix to set positive rte_errno

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, July 4, 2019 3:34 PM > To: Jerin Jacob Kollanukkaran ; Nikhil Rao > ; Erik Gabriel Carrillo > Cc: dev@dpdk.org; Dilshod Urazov ; > sta...@dpdk.org > Subject: [EXT] [PATCH 1/3] eventdev: fix to set positive rte_errno > From: D

Re: [dpdk-dev] [PATCH] app/test-eventdev: optimize producer routine

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: pbhagavat...@marvell.com > Sent: Wednesday, July 3, 2019 11:22 AM > To: Jerin Jacob Kollanukkaran > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > Subject: [dpdk-dev][PATCH] app/test-eventdev: optimize producer routine > > From: Pavan Nikhilesh > > When u

Re: [dpdk-dev] Compilation failure when disabling Cavium OCTEONTX network PMD driver

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of Daniel Pharos > Sent: Saturday, July 6, 2019 8:41 PM > To: dev@dpdk.org > Subject: [dpdk-dev] Compilation failure when disabling Cavium OCTEONTX > network PMD driver > > Hi, > > If I disable the Cavium OCTEONTX network PMD driver in the conf

Re: [dpdk-dev] [PATCH v4 5/5] event/octeontx2: add Tx adadpter support

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: pbhagavat...@marvell.com > Sent: Thursday, July 4, 2019 7:50 AM > To: Jerin Jacob Kollanukkaran ; Pavan Nikhilesh > Bhagavatula > Cc: dev@dpdk.org; Nithin Kumar Dabilpuram > Subject: [dpdk-dev] [PATCH v4 5/5] event/octeontx2: add Tx adadpter support Fixe

Re: [dpdk-dev] [PATCH 1/2] common/cpt: remove redundant bit swaps

2019-07-07 Thread Anoob Joseph
Hi Akhil, Pablo This patch is good to go if you don't have any comments. Thanks, Anoob > -Original Message- > From: Anoob Joseph > Sent: Saturday, July 6, 2019 6:54 PM > To: Akhil Goyal ; Pablo de Lara > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya >

Re: [dpdk-dev] [PATCH 2/2] common/cpt: remove redundant code in datapath

2019-07-07 Thread Anoob Joseph
Hi Akhil, Pablo This patch is good to go if you don't have any comments. Thanks, Anoob > -Original Message- > From: Anoob Joseph > Sent: Saturday, July 6, 2019 6:54 PM > To: Akhil Goyal ; Pablo de Lara > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya >

Re: [dpdk-dev] [PATCH v1 1/1] mempool/octeontx2: fix npa pool range errors

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: vattun...@marvell.com > Sent: Friday, July 5, 2019 4:04 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > Vamsi Krishna Attunuru > Subject: [PATCH v1 1/1] mempool/octeontx2: fix npa pool range errors > > From: Vamsi Attunuru >

Re: [dpdk-dev] [PATCH v2] examples/client_server_mp: check port ownership

2019-07-07 Thread Stephen Hemminger
On Sun, 7 Jul 2019 05:44:55 + Matan Azrad wrote: > > + for (count = 0; pm != 0; pm >>= 1, ++count) { > > + struct rte_eth_dev_owner owner; > > + > > + if ((pm & 0x1) == 0) > > + continue; > > + > > + if (count >= max_ports) { > > +

Re: [dpdk-dev] [PATCH v1 1/1] mempool/octeontx2: fix npa pool range errors

2019-07-07 Thread Thomas Monjalon
07/07/2019 16:21, Jerin Jacob Kollanukkaran: > > > -Original Message- > > From: vattun...@marvell.com > > Sent: Friday, July 5, 2019 4:04 PM > > To: dev@dpdk.org > > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > > Vamsi Krishna Attunuru > > Subject: [PATCH v1 1/1] mempool/octeon

Re: [dpdk-dev] [PATCH v2 5/5] mempool/dpaa2: vfio dmamap for user allocated memory

2019-07-07 Thread Thomas Monjalon
Hi, please see several comments about formatting below. The title should start with a verb. VFIO and DMA should be uppercase. 27/06/2019 11:33, Hemant Agrawal: > From: Sachin Saxena > > Signed-off-by: Sachin Saxena There is no description in this patch. > --- a/drivers/bus/fslmc/fslmc_vfio.c

Re: [dpdk-dev] [PATCH 1/3] bus/dpaa: add plug support and rework parse

2019-07-07 Thread Thomas Monjalon
25/06/2019 12:40, Hemant Agrawal: > From: Shreyansh Jain > > Parse and find_device have specific function - former is for parsing a > string passed as argument, whereas the later is for iterating over all > the devices in the bus and calling a callback/handler. They have been > corrected with the

Re: [dpdk-dev] [PATCH] vfio: retry creating sPAPR DMA window

2019-07-07 Thread Thomas Monjalon
05/07/2019 10:15, Burakov, Anatoly: > On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: > > sPAPR allows only page_shift from VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl. > > However, Linux 4.17 or before returns incorrect page_shift for Power9. > > I added the code for retrying creation of sPAPR DMA window.

Re: [dpdk-dev] [PATCH v3 0/3] MCS queued lock implementation

2019-07-07 Thread Thomas Monjalon
05/07/2019 12:27, Phil Yang: > Phil Yang (3): > eal/mcslock: add mcs queued lock implementation > eal/mcslock: use generic msc queued lock on all arch > test/mcslock: add mcs queued lock unit test Applied, thanks

Re: [dpdk-dev] [PATCH] eal: fix spelling

2019-07-07 Thread Thomas Monjalon
04/06/2019 11:21, kka...@marvell.com: > From: Krzysztof Kanas > > Fixes: a753e53d517b ("eal: add device event monitor framework") > Fixes: af75078fece3 ("first public release") > Cc: sta...@dpdk.org > > Signed-off-by: Krzysztof Kanas Applied, thanks

Re: [dpdk-dev] [PATCH v5 1/4] net/ipn3ke: add new register address

2019-07-07 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xu, Rosen > Sent: Tuesday, July 2, 2019 6:00 PM > To: Pei, Andy ; dev@dpdk.org; Yigit, Ferruh > ; Zhang, Tianfei > Subject: Re: [dpdk-dev] [PATCH v5 1/4] net/ipn3ke: add new register address > > > > > -Or

Re: [dpdk-dev] [PATCH v5 2/4] net/ipn3ke: delete MAC register address mask

2019-07-07 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xu, Rosen > Sent: Tuesday, July 2, 2019 6:00 PM > To: Pei, Andy ; dev@dpdk.org; Yigit, Ferruh > ; Zhang, Tianfei > Subject: Re: [dpdk-dev] [PATCH v5 2/4] net/ipn3ke: delete MAC register > address mask > > > >

Re: [dpdk-dev] [PATCH v5 3/4] net/ipn3ke: clear statistics when init and start dev

2019-07-07 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xu, Rosen > Sent: Tuesday, July 2, 2019 6:01 PM > To: Pei, Andy ; dev@dpdk.org; Yigit, Ferruh > ; Zhang, Tianfei > Subject: Re: [dpdk-dev] [PATCH v5 3/4] net/ipn3ke: clear statistics when init > and start dev >

Re: [dpdk-dev] [PATCH v5 4/4] net/ipn3ke: implementation of statistics

2019-07-07 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xu, Rosen > Sent: Tuesday, July 2, 2019 6:02 PM > To: Pei, Andy ; dev@dpdk.org; Yigit, Ferruh > ; Zhang, Tianfei > Subject: Re: [dpdk-dev] [PATCH v5 4/4] net/ipn3ke: implementation of > statistics > > > > > -

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

2019-07-07 Thread Zhang, Qi Z
> -Original Message- > From: Wang, Xiao W > Sent: Wednesday, July 3, 2019 10:54 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Kiejdo, Marek ; Wang, Xiao W > ; sta...@dpdk.org > Subject: [PATCH] net/fm10k: fix descriptor filling in vector Tx > > The shift left operation "pkt->vlan_tci << 16"

[dpdk-dev] [v2] net/e1000: i219 unit hang issue fix on reset/close

2019-07-07 Thread Xiao Zhang
Unit hang may occur if multiple descriptors are available in the rings during reset or close. This state can be detected by configure status by bit 8 in register. If the bit is set and there are pending descriptors in one of the rings, we must flush them before reset or close. Signed-off-by: Xiao

[dpdk-dev] [PATCH v4] net/i40e: i40e get link status update from ipn3ke

2019-07-07 Thread Andy Pei
Add switch_mode argument for i40e PF to specify the specific FPGA that i40e PF is connected to. i40e PF get link status update via the connected FPGA. Add switch_ethdev to rte_eth_dev_data to track the bind switch device. Try to bind i40e pf to switch device when i40e device is probed. If it fail t

[dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support

2019-07-07 Thread kirankumark
From: Kiran Kumar K Adding PF and VF action support for octeontx2 Flow. If RTE_FLOW_ACTION_TYPE_PF action is set from VF, then the packet will be sent to the parent PF. If RTE_FLOW_ACTION_TYPE_VF action is set and original is specified, then the packet will be sent to the original VF, otherwise t

[dpdk-dev] [PATCH v4 3/3] examples/ip_reassembly: enable IP checksum offload

2019-07-07 Thread jerinj
From: Sunil Kumar Kori As per the documentation to use any IP offload features, application must set required offload flags into mbuf->ol_flags. Signed-off-by: Sunil Kumar Kori Acked-by: Konstantin Ananyev --- v4: - Rebased to top of tree - Fix check-gitlog.sh issues --- examples/ip_reassembl

[dpdk-dev] [PATCH v4 2/3] examples/ip_fragmentation: enable IP checksum offload

2019-07-07 Thread jerinj
From: Sunil Kumar Kori As per the documentation to use any IP offload features, application must set required offload flags into mbuf->ol_flags. Signed-off-by: Sunil Kumar Kori Acked-by: Konstantin Ananyev --- v4: - Rebased to top of tree - Fix check-gitlog.sh issues --- examples/ip_fragmenta

[dpdk-dev] [PATCH v4 1/3] lib/librte_ip_frag: remove IP checkum offload flag

2019-07-07 Thread jerinj
From: Sunil Kumar Kori Currently PKT_TX_IP_CKSUM is being set into mbuf->ol_flags during fragmentation and reassemble operation implicitly. Because of this, application is forced to use checksum offload whether it is supported by platform or not. Also documentation does not provide any expected

[dpdk-dev] [DPDK] net/e1000: fix buffer overrun while i219 processing DMA transactions

2019-07-07 Thread Xiao Zhang
IntelĀ® 100/200 Series Chipset platforms reduced the round-trip latency for the LAN Controller DMA accesses, causing in some high performance cases a buffer overrun while the I219 LAN Connected Device is processing the DMA transactions. I219LM and I219V devices can fall into unrecovered Tx hang unde

[dpdk-dev] [PATCH v1 1/1] mempool/octeontx2: fix mempool creation failure

2019-07-07 Thread vattunuru
From: Vamsi Attunuru Fix npa pool range errors observed while creating mempool, this issue happens when mempool objects are from different mem segments. During mempool creation, octeontx2 mempool driver populates pool range fields before enqueuing the buffers. If any enqueue or dequeue operation

Re: [dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of > kirankum...@marvell.com > Sent: Monday, July 8, 2019 9:06 AM > To: dev@dpdk.org > Cc: Kiran Kumar Kokkilagadda > Subject: [dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support > > From: Kiran Kumar K > > Adding PF and VF action s

Re: [dpdk-dev] [PATCH v4 3/3] lib/lpm: use atomic store to avoid partial update

2019-07-07 Thread Honnappa Nagarahalli
> > Compiler could generate non-atomic stores for whole table entry updating. > This may cause incorrect nexthop to be returned, if the byte with valid flag > is > updated prior to the byte with next hot is updated. ^^^ Should be next

Re: [dpdk-dev] [PATCH v1 1/1] mempool/octeontx2: fix mempool creation failure

2019-07-07 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: vattun...@marvell.com > Sent: Monday, July 8, 2019 10:18 AM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > Vamsi Krishna Attunuru > Subject: [PATCH v1 1/1] mempool/octeontx2: fix mempool creation failure Actually it is v2. v2..v1

Re: [dpdk-dev] [PATCH v4 3/3] lib/lpm: use atomic store to avoid partial update

2019-07-07 Thread Ruifeng Wang (Arm Technology China)
Hi Vladimir, > -Original Message- > From: Medvedkin, Vladimir > Sent: Saturday, July 6, 2019 00:53 > To: Ruifeng Wang (Arm Technology China) ; > bruce.richard...@intel.com > Cc: dev@dpdk.org; Honnappa Nagarahalli > ; Gavin Hu (Arm Technology China) > ; nd > Subject: Re: [PATCH v4 3/3] li

Re: [dpdk-dev] [PATCH v3] net/i40e: i40e get link status update from ipn3ke

2019-07-07 Thread Zhang, Qi Z
Hi Andy: > -Original Message- > From: Pei, Andy > Sent: Thursday, July 4, 2019 2:56 PM > To: dev@dpdk.org > Cc: Pei, Andy ; Zhang, Qi Z ; Wu, > Jingjing ; Xing, Beilei ; Yigit, > Ferruh ; Xu, Rosen ; Ye, > Xiaolong ; Zhang, Roy Fan > ; sta...@dpdk.org > Subject: [PATCH v3] net/i40e: i40e g

Re: [dpdk-dev] [PATCH v4 3/3] lib/lpm: use atomic store to avoid partial update

2019-07-07 Thread Ruifeng Wang (Arm Technology China)
Hi Honnappa, > -Original Message- > From: Honnappa Nagarahalli > Sent: Monday, July 8, 2019 12:57 > To: Ruifeng Wang (Arm Technology China) ; > vladimir.medved...@intel.com; bruce.richard...@intel.com > Cc: dev@dpdk.org; Gavin Hu (Arm Technology China) ; > nd ; Ruifeng Wang (Arm Technolog

Re: [dpdk-dev] [PATCH v2] examples/client_server_mp: check port ownership

2019-07-07 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger > Sent: Sunday, July 7, 2019 7:47 PM > To: Matan Azrad > Cc: anatoly.bura...@intel.com; dev@dpdk.org; Stephen Hemminger > > Subject: Re: [dpdk-dev] [PATCH v2] examples/client_server_mp: check port > ownership > > On Sun, 7 Jul 2019 05:44:55 + > Matan Azra