[dpdk-dev] [PATCH v3] net/bonding: fix selection logic

2019-10-10 Thread kkanas
From: Krzysztof Kanas Arrays agg_count and agg_bandwidth should be indexed by slave_id not by aggregator port_id. Fixes: 6d72657ce379 ("net/bonding: add other aggregator modes") Cc: danielx.t.mrzyg...@intel.com Signed-off-by: Krzysztof Kanas --- v3: * fix incorrect reabse v2: * rebase patch

Re: [dpdk-dev] [PATCH v4] eventdev: flag to identify same destined packets enqueue

2019-10-10 Thread Jerin Jacob
On Thu, Oct 10, 2019 at 6:13 PM Nipun Gupta wrote: > > > > > -Original Message- > > From: Rao, Nikhil > > Sent: Thursday, October 10, 2019 3:36 PM > > To: Nipun Gupta ; dev@dpdk.org > > Cc: jer...@marvell.com; acon...@redhat.com; pbhagavat...@marvell.com; > > sk...@marvell.com; Hemant Agr

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-10 Thread Andrew Rybchenko
On 10/11/19 7:07 AM, pbhagavat...@marvell.com wrote: From: Pavan Nikhilesh Use RTE_DIM instead of re-defining ARRAY_SIZE. Signed-off-by: Pavan Nikhilesh [snip] drivers/net/sfc/base/ef10_ev.c| 4 +-- drivers/net/sfc/base/ef10_filter.c| 12 drivers/

[dpdk-dev] [PATCH 7/9] raw/dpaa2_cmdif: add retry and timeout in packet enqueue API

2019-10-10 Thread Nipun Gupta
This patch adds retry in the DPAA2 CMDIF packet enqueue API Fixes: 53c71586c789 ("raw/dpaa2_cmdif: support enqueue/dequeue operations") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -

[dpdk-dev] [PATCH 9/9] bus/fslmc: sanitize device name parsing for clarity

2019-10-10 Thread Nipun Gupta
From: Shreyansh Jain remove unneccessary dup and free Signed-off-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index eff15f25d..251f148da 1006

[dpdk-dev] [PATCH 8/9] bus/dpaa: moving qbman global init to bus

2019-10-10 Thread Nipun Gupta
From: Hemant Agrawal DPAA SEC shall be able to work independent of DPAA ETH driver. This patch moves qbman init to bus, so that any driver can use them even when no eth resources are present or none of the eth devices are probed. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c

[dpdk-dev] [PATCH 6/9] raw/dpaa2_qdma: add retry and timeout in packet enqueue API

2019-10-10 Thread Nipun Gupta
This patch adds the logic in the DPAA2 QDMA packet enqueue API Fixes: 4d9a3f2a0159 ("raw/dpaa2_qdma: support RBP mode") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/driver

[dpdk-dev] [PATCH 2/9] net/dpaa: fix LS1043 alignment check

2019-10-10 Thread Nipun Gupta
On LS1043, we are good to check 128 byte alignment of offset to transmit out the packet Fixes: 9eba4a60c2f5 ("net/dpaa: support scatter gather in Tx for non DPAA buffer") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 2 +- 1 file ch

[dpdk-dev] [PATCH 3/9] common/dpaax: fallback to check separate memory node for VM

2019-10-10 Thread Nipun Gupta
In Virtual Machine the memory node in the device tree is at '/proc/device-tree/memory/reg' which is separate from the memory node path on the host. This patch enables check on both the paths. Fixes: 2f3d633aa593 ("common/dpaax: add library for PA/VA translation table") Cc: sta...@dpdk.org Signed-

[dpdk-dev] [PATCH 4/9] mempool/dpaa2: panic on endless loop in mbuf release

2019-10-10 Thread Nipun Gupta
When BMAN is not able to accept more buffers, it could be that there are no FBPR's (internal mem provided to bman) left. Panic in such conditions. Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool") Cc: sta...@dpdk.org Signed-off-by: Radu Bulie --- drivers/mempool/dpaa2/dpaa2_

[dpdk-dev] [PATCH 5/9] net/dpaa2: add retry and timeout in packet enqueue API

2019-10-10 Thread Nipun Gupta
In the packet transmit, if the QBMAN is not able to process the packets, the Tx function loops infinitely to send the packet out. This patch changes the logic retry for some time (count) and then return. Fixes: cd9935cec873 ("net/dpaa2: enable Rx and Tx operations") Fixes: 16c4a3c46ab7 ("bus/fslmc

[dpdk-dev] [PATCH 1/9] net/dpaa: fix supported RSS types

2019-10-10 Thread Nipun Gupta
This patch fixes the supported RSS types on DPAA platform Fixes: 15aa2a1b02e6 ("net/dpaa: update RSS offload types") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.h | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) d

[dpdk-dev] [PATCH 0/9] DPAA and FSLMC driver fixes and cleanup

2019-10-10 Thread Nipun Gupta
These patches incllude various fixes and some cleanups related to DPAA and FSLMC drivers Hemant Agrawal (1): bus/dpaa: moving qbman global init to bus Nipun Gupta (7): net/dpaa: fix supported RSS types net/dpaa: fix LS1043 alignment check common/dpaax: fallback to check separate memory no

[dpdk-dev] [PATCH] net/ice: correct lut type for RSS

2019-10-10 Thread Simei Su
This patch changes RSS lut_type to corresponding macro. Fixes: ff963bfa7cb1 ("net/ice: support RSS") Cc: sta...@dpdk.org Signed-off-by: Simei Su --- drivers/net/ice/ice_ethdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/ne

Re: [dpdk-dev] [PATCH v3 1/3] lib/ring: add peek API

2019-10-10 Thread Honnappa Nagarahalli
> > > > > > > > > > > > > > > > > > Subject: [PATCH v3 1/3] lib/ring: add peek API > > > > > > > > > > > > From: Ruifeng Wang > > > > > > > > > > > > The peek API allows fetching the next available object in the > > > > > > ring without dequeuing it. This helps in scenarios where > > > > > > deq

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-10 Thread Hemant Agrawal
Hi Pavan, > > From: Pavan Nikhilesh > > Use RTE_DIM instead of re-defining ARRAY_SIZE. > > Signed-off-by: Pavan Nikhilesh > --- > drivers/bus/dpaa/base/qbman/qman.c| 6 ++-- > drivers/bus/dpaa/include/compat.h | 5 > drivers/crypto/dpaa2_sec/hw/compat.h

[dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Use RTE_DIM instead of re-defining ARRAY_SIZE. Signed-off-by: Pavan Nikhilesh --- drivers/bus/dpaa/base/qbman/qman.c| 6 ++-- drivers/bus/dpaa/include/compat.h | 5 drivers/crypto/dpaa2_sec/hw/compat.h | 8 - drivers/crypto/dpa

[dpdk-dev] [PATCH 3/3] bitrate: use RTE_DIM instead of ARRAY_SIZE

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Use RTE_DIM instead of re-defining ARRAY_SIZE. Signed-off-by: Pavan Nikhilesh --- lib/librte_bitratestats/rte_bitrate.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/librte_bitratestats/rte_bitrate.c b/lib/librte_bitratestats/rte_bitrate.c

[dpdk-dev] [PATCH 1/3] app/test: use RTE_DIM instead of ARRAY_SIZE

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Use RTE_DIM instead of re-defining ARRAY_SIZE. Signed-off-by: Pavan Nikhilesh --- app/test/test_cryptodev_asym.c | 8 ++-- app/test/test_metrics.c| 11 +-- app/test/test_stack_perf.c | 8 +++- 3 files changed, 10 insertions(+), 17 deletions(-

[dpdk-dev] [PATCH v2] app/testpmd: support QinQ offload in VLAN set command

2019-10-10 Thread viveksharma
From: Vivek Sharma Segregate QinQ from Extend Offload and support QinQ offload in vlan set command. Merge all port wise rx vlan offloads in command line help and documentation for a cleaner structure. Fix port info display to distinguish between qinq strip and extend offloads. Flatten all VLAN o

Re: [dpdk-dev] [PATCH v3 00/19] Add advanced features for Huawei hinic pmd

2019-10-10 Thread Wangxiaoyun (Cloud, Network Chip Application Development Dept)
Hi Ferruh, I have deleted the seq_id getting logs, and we can get the infos by other method, which is updated by Patch V4. Best Regards, Xiaoyun Wang 在 2019/10/8 23:33, Ferruh Yigit 写道: On 10/8/2019 4:14 PM, Wangxiaoyun (Cloud, Network Chip Application Development Dept) wrote: Hi Ferruh,

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-10-10 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2019/10/11 9:39, Wei Hu (Xavier) wrote: > Hi, Ferruh Yigit > > > On 2019/10/11 1:10, Ferruh Yigit wrote: >> On 9/27/2019 7:30 PM, Ferruh Yigit wrote: >>> On 9/26/2019 3:01 PM, Wei Hu (Xavier) wrote: The Hisilicon Network Subsystem is a long term evolution IP which is

[dpdk-dev] [PATCH v2] app/testpmd: introduce QinQ offload argument

2019-10-10 Thread viveksharma
From: Vivek Sharma Introduce boot time argument for configuring QinQ strip offload. Signed-off-by: Vivek Sharma --- v2: * Moved 'port_infos_display' change to another patch. app/test-pmd/parameters.c | 6 ++ doc/guides/testpmd_app_ug/run_app.rst | 4 2 files changed, 10 i

[dpdk-dev] [PATCH] doc: remove Flow Director feature from hns3.ini and hns3_vf.ini

2019-10-10 Thread Wei Hu (Xavier)
This patch removes deprecated feature 'Flow Director' from hns3.ini and hns3_vf.ini because the feature has been removed from the feature list in the following commit: Commit 030febb6642c ("doc: remove deprecated ethdev features") Signed-off-by: Wei Hu (Xavier) Signed-off-by: Chunsong Feng ---

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-10-10 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2019/10/11 1:10, Ferruh Yigit wrote: > On 9/27/2019 7:30 PM, Ferruh Yigit wrote: >> On 9/26/2019 3:01 PM, Wei Hu (Xavier) wrote: >>> The Hisilicon Network Subsystem is a long term evolution IP which is >>> supposed to be used in Hisilicon ICT SoCs such as Kunpeng 920. >>> >>>

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-10-10 Thread Wei Hu (Xavier)
On 2019/9/30 16:52, Ferruh Yigit wrote: > On 9/29/2019 1:12 PM, Wei Hu (Xavier) wrote: >> Hi, Ferruh Yigit >> >> >> On 2019/9/28 2:30, Ferruh Yigit wrote: >>> On 9/26/2019 3:01 PM, Wei Hu (Xavier) wrote: The Hisilicon Network Subsystem is a long term evolution IP which is supposed to b

Re: [dpdk-dev] [PATCH v2 01/14] ethdev: add support for hairpin queue

2019-10-10 Thread Ori Kam
Hi Andrew, Thanks for your comments, PSB, Ori > -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, October 8, 2019 7:11 PM > To: Ori Kam ; Thomas Monjalon > ; Ferruh Yigit > Cc: dev@dpdk.org; jingjing...@intel.com; step...@networkplumber.org > Subject: Re: [PATCH v2 01/14] et

Re: [dpdk-dev] 18.11.3 (LTS) patches review and test

2019-10-10 Thread Stokes, Ian
On 9/13/2019 5:31 PM, Kevin Traynor wrote: Hi all, Here is a list of patches targeted for LTS release 18.11.3. The planned date for the final release is 9th October. Please help with testing and validation of your use cases and report any issues/results in reply to this mail. For the final

Re: [dpdk-dev] [PATCH v2] net/af_packet: improve Tx statistics accuracy

2019-10-10 Thread Stephen Hemminger
On Thu, 10 Oct 2019 18:34:30 +0100 Flavia Musatescu wrote: > When sendto call fails and ENOBUFS error is being set some of the > packets are actually successfully transmitted. There is no available > count of those packets, so in order to make the statistics more > accurate, all the previously en

Re: [dpdk-dev] [PATCH v2 00/12] bnxt patchset with bug fixes

2019-10-10 Thread Ferruh Yigit
On 10/10/2019 2:41 AM, Ajit Khaparde wrote: > This patch against dpdk-next-net mostly contains bug fixes > > for issues found during testing. > > v1->v2: > -Split patch 09/10 into two and reworded the commit messages. > -Rebased against latest dpdk-next-net > -Some of the

Re: [dpdk-dev] [PATCH v4 00/14] introduces pfe network PMD

2019-10-10 Thread Ferruh Yigit
On 10/10/2019 7:32 AM, Gagandeep Singh wrote: > This series introduces pfe (packet forwarding engine) > network poll mode driver for NXP SoC ls1012a. > > First patch of this series move OF library code from > dpaa bus to a common folder as PFE also uses the > same library for getting information f

[dpdk-dev] [PATCH v2] net/af_packet: improve Tx statistics accuracy

2019-10-10 Thread Flavia Musatescu
When sendto call fails and ENOBUFS error is being set some of the packets are actually successfully transmitted. There is no available count of those packets, so in order to make the statistics more accurate, all the previously enqueued packets will be considered successful, even though this is not

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-10-10 Thread Ferruh Yigit
On 9/27/2019 7:30 PM, Ferruh Yigit wrote: > On 9/26/2019 3:01 PM, Wei Hu (Xavier) wrote: >> The Hisilicon Network Subsystem is a long term evolution IP which is >> supposed to be used in Hisilicon ICT SoCs such as Kunpeng 920. >> >> This series add DPDK rte_ethdev poll mode driver for Hisilicon >>

Re: [dpdk-dev] [PATCH v4 00/14] introduces pfe network PMD

2019-10-10 Thread Ferruh Yigit
On 10/10/2019 8:11 AM, Thomas Monjalon wrote: > 10/10/2019 08:32, Gagandeep Singh: >> Gagandeep Singh (13): >> net/pfe: introduce pfe net poll mode driver >> doc: add guide for pfe net PMD >> net/pfe: support dynamic logging >> net/pfe: add HW specific macros and operations >> net/pfe: ad

Re: [dpdk-dev] [PATCH v4 01/14] common/dpaax: moving OF lib code from dpaa bus

2019-10-10 Thread Ferruh Yigit
On 10/10/2019 7:32 AM, Gagandeep Singh wrote: > From: Hemant Agrawal > > This code is being shared by more than 1 type of driver. > Common is most appropriate place for it. > > Signed-off-by: Hemant Agrawal <...> > diff --git a/drivers/common/dpaax/rte_common_dpaax_version.map > b/drivers/co

[dpdk-dev] [PATCH] doc: add doxygen documentation for ipsec library

2019-10-10 Thread Vladimir Medvedkin
Added ipsec API from: - rte_ipsec.h - rte_ipsec_sa.h - rte_ipsec_group.h - rte_ipsec_sad.h Signed-off-by: Vladimir Medvedkin --- doc/api/doxy-api-index.md | 6 ++ doc/api/doxy-api.conf.in | 1 + 2 files changed, 7 insertions(+) diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-inde

[dpdk-dev] [PATCH v5 5/5] app: add test-sad application

2019-10-10 Thread Vladimir Medvedkin
Introduce new application to provide user to evaluate and perform custom functional and performance tests for IPsec SAD implementation. Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev Tested-by: Konstantin Ananyev --- app/Makefile | 1 + app/meson.build |

[dpdk-dev] [PATCH v5 4/5] test/ipsec: add ipsec SAD autotests

2019-10-10 Thread Vladimir Medvedkin
add unittests for ipsec SAD library Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev Tested-by: Konstantin Ananyev --- app/test/Makefile | 1 + app/test/autotest_data.py | 6 + app/test/meson.build | 1 + app/test/test_ipsec_sad.c | 887

[dpdk-dev] [PATCH v5 0/5] ipsec: add inbound SAD

2019-10-10 Thread Vladimir Medvedkin
According to RFC 4301 IPSec implementation needs an inbound SA database (SAD). For each incoming inbound IPSec-protected packet (ESP or AH) it has to perform a lookup within it’s SAD. Lookup should be performed by: Security Parameters Index (SPI) + destination IP (DIP) + source IP (SIP) or SPI +

[dpdk-dev] [PATCH v5 3/5] ipsec: add SAD add/delete/lookup implementation

2019-10-10 Thread Vladimir Medvedkin
Replace rte_ipsec_sad_add(), rte_ipsec_sad_del() and rte_ipsec_sad_lookup() stubs with actual implementation. It uses three librte_hash tables each of which contains an entries for a specific SA type (either it is addressed by SPI only or SPI+DIP or SPI+DIP+SIP) Signed-off-by: Vladimir Medvedkin

[dpdk-dev] [PATCH v5 1/5] ipsec: add inbound SAD API

2019-10-10 Thread Vladimir Medvedkin
Add inbound security association database (SAD) API and stub implementation. Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev --- lib/librte_ipsec/Makefile | 2 + lib/librte_ipsec/ipsec_sad.c | 50 ++ lib/librte_ipsec/meson.build | 4 +

[dpdk-dev] [PATCH v5 2/5] ipsec: add SAD create/destroy implementation

2019-10-10 Thread Vladimir Medvedkin
Replace rte_ipsec_sad_create(), rte_ipsec_sad_destroy() and rte_ipsec_sad_find_existing() API stubs with actual implementation. Signed-off-by: Vladimir Medvedkin Acked-by: Konstantin Ananyev Tested-by: Konstantin Ananyev --- lib/librte_ipsec/Makefile| 2 +- lib/librte_ipsec/ipsec_sad.c |

Re: [dpdk-dev] [PATCH v6 1/2] mbuf: add bulk free function

2019-10-10 Thread Ananyev, Konstantin
> > Hi CI Team, > > Although my patch only adds a single function, which is not being called from > anywhere, Which actually means we forgot that UT would also probably be needed for that addition :( > the patch failed the iol-intel-Performance test: > http://mails.dpdk.org/archives/test-re

Re: [dpdk-dev] [PATCH v2 0/3] net/i40e: add FDIR ID to vector rx

2019-10-10 Thread Ergin, Mesut A
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, October 9, 2019 5:02 PM > To: Van Haaren, Harry ; dev@dpdk.org > Cc: Ergin, Mesut A > Subject: RE: [PATCH v2 0/3] net/i40e: add FDIR ID to vector rx > > > > > -Original Message- > > From: Van Haaren, Harry > > Sent:

Re: [dpdk-dev] [dpdk-ci] [PATCH v6 1/2] mbuf: add bulk free function

2019-10-10 Thread Jeremy Plsek
Hi Morten, Sometimes the tests report a false positive. Unfortunately, there isn't a way yet for tests to be reran by contributors. At the moment, only the environment owners (in this case, some members from the Intel team) and I (who maintains the "iol" prefixed CI) can rerun the test. Depending

[dpdk-dev] [PATCH v2] ethdev: add flow tag

2019-10-10 Thread Viacheslav Ovsiienko
A tag is a transient data which can be used during flow match. This can be used to store match result from a previous table so that the same pattern need not be matched again on the next table. Even if outer header is decapsulated on the previous match, the match result can be kept. Some device ex

[dpdk-dev] [PATCH v2] ethdev: extend flow metadata

2019-10-10 Thread Viacheslav Ovsiienko
Currently, metadata can be set on egress path via mbuf tx_metadata field with PKT_TX_METADATA flag and RTE_FLOW_ITEM_TYPE_META matches metadata. This patch extends the metadata feature usability. 1) RTE_FLOW_ACTION_TYPE_SET_META When supporting multiple tables, Tx metadata can also be set by a r

Re: [dpdk-dev] packet data access bug in bpf and pdump libs

2019-10-10 Thread Ananyev, Konstantin
> -Original Message- > From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Thursday, October 10, 2019 8:30 AM > To: Stephen Hemminger > Cc: Ananyev, Konstantin ; dpdk-dev > ; Jerin Jacob > Subject: RE: [dpdk-dev] packet data access bug in bpf and pdump libs > > > -Orig

Re: [dpdk-dev] [PATCH v3 1/3] lib/ring: add peek API

2019-10-10 Thread Ananyev, Konstantin
> > > > > > > > > > > > Subject: [PATCH v3 1/3] lib/ring: add peek API > > > > > > > > > > From: Ruifeng Wang > > > > > > > > > > The peek API allows fetching the next available object in the ring > > > > > without dequeuing it. This helps in scenarios where dequeuing of > > > > > objects depe

[dpdk-dev] [PATCH v7 1/1] mbuf: add bulk free function

2019-10-10 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Signed-off-by: Morten Brørup Acked-by: Konstantin Ananyev Reviewed-by: Andrew Rybchenko Acked-by: Stephen Hemminger --- v7: * Squash multiple modifications into one. v6: * Remove __rte_always_inline from static function. The compiler will inline an

[dpdk-dev] [PATCH v7 0/1] mbuf: add bulk free function

2019-10-10 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Signed-off-by: Morten Brørup Acked-by: Konstantin Ananyev Reviewed-by: Andrew Rybchenko Acked-by: Stephen Hemminger --- v7: * Squash multiple modifications into one. v6: * Remove __rte_always_inline from static function. The compiler will inline an

Re: [dpdk-dev] [PATCH v6 2/2] mbuf: add bulk free function

2019-10-10 Thread Stephen Hemminger
On Thu, 10 Oct 2019 08:26:21 + Morten Brørup wrote: > Add function for freeing a bulk of mbufs. > > v6: > * Remove __rte_always_inline from static function. > The compiler will inline anyway. > v5: > * Rename variables from "free" to "pending" for improved readability. > * Add prefix __ to

[dpdk-dev] [PATCH v4 19/19] net/hinic: add support for getting rxq or txq info

2019-10-10 Thread Xiaoyun wang
This patch adds support for getting rxq or txq info. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_ethdev.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c b/drivers/net/hinic/hinic_pmd_ethdev.c index 54b

[dpdk-dev] [PATCH v4 18/19] net/hinic: optimize RX performance

2019-10-10 Thread Xiaoyun wang
This patch optimizes receive packets performance on arm platform. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_rx.c | 5 + drivers/net/hinic/hinic_pmd_rx.h | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/hinic/hinic_pmd_rx.c b/drivers/net/hin

[dpdk-dev] [PATCH v4 17/19] net/hinic/base: optimize aeq interfaces

2019-10-10 Thread Xiaoyun wang
This patch deletes ceq interfaces that not needed, fix aeq buges in some scenarios. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_csr.h | 29 +--- drivers/net/hinic/base/hinic_pmd_cmd.h | 5 +- drivers/net/hinic/base/hinic_pmd_eqs.c | 245 +

[dpdk-dev] [PATCH v4 16/19] net/hinic: add hinic PMD doc files

2019-10-10 Thread Xiaoyun wang
Add new supported features to rst file and add features to ini file. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini | 2 ++ doc/guides/rel_notes/release_19_11.rst | 9 + 2 files changed, 11 insertions(+) diff --git a/doc/guides/nics/features/hinic.ini b/doc/guid

[dpdk-dev] [PATCH v4 15/19] net/hinic: support LRO offload

2019-10-10 Thread Xiaoyun wang
This patch supports LRO offload. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini | 1 + doc/guides/nics/hinic.rst| 1 + drivers/net/hinic/hinic_pmd_ethdev.c | 24 ++-- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/guide

Re: [dpdk-dev] [PATCH v2 1/1] net/tap: fix blocked rx packets error

2019-10-10 Thread Ferruh Yigit
On 9/23/2019 3:41 PM, Wiles, Keith wrote: > > >> On Sep 23, 2019, at 8:22 AM, Smoczynski, MarcinX >> wrote: >> >> When OS sends more packets than are being read with a single >> 'rte_eth_rx_burst' call, rx packets are getting stucked in the tap pmd >> and are unable to receive, because trigger_

[dpdk-dev] [PATCH v4 14/19] net/hinic: support inner L3 checksum offload

2019-10-10 Thread Xiaoyun wang
This patch supports inner L3 checksum offload for VXLAN packets, modifies rx checksum offload. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_ethdev.c | 6 +- drivers/net/hinic/hinic_pmd_ethdev.h | 1 + drivers/net/hinic/hinic_pmd_rx.c | 29 ++--- drivers/net/hinic/hinic_pm

[dpdk-dev] [PATCH v4 13/19] net/hinic: get firmware version

2019-10-10 Thread Xiaoyun wang
This patch adds support for getting firmware version. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini| 1 + doc/guides/nics/hinic.rst | 1 + drivers/net/hinic/base/hinic_pmd_cmd.h| 2 ++ drivers/net/hinic/base/hinic_pmd_niccfg.c | 40

[dpdk-dev] [PATCH v4 10/19] net/hinic: create and destroy fdir filter

2019-10-10 Thread Xiaoyun wang
Add support for creating/destroying fdir filter. The filter rule includes LACP,ARP and ICMP packet type. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_ethdev.h | 16 ++ drivers/net/hinic/hinic_pmd_flow.c | 423 +-- 2 files changed, 422 insertions(

[dpdk-dev] [PATCH v4 08/19] net/hinic: add fdir validate flow operations

2019-10-10 Thread Xiaoyun wang
This patch is to validate the filter rules, which includes ntuple filter, ethertype filter and fdir filter. The packets type that supported are BGP,VRRP,LACP,ARP and ICMP. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/Makefile |1 + drivers/net/hinic/hinic_pmd_ethdev.c | 42 +

[dpdk-dev] [PATCH v4 12/19] net/hinic: set link down and up

2019-10-10 Thread Xiaoyun wang
This patch supports setting link down and up. Signed-off-by: Xiaoyun wang --- doc/guides/nics/hinic.rst | 1 + drivers/net/hinic/base/hinic_pmd_cmd.h| 2 + drivers/net/hinic/base/hinic_pmd_niccfg.c | 38 +++ drivers/net/hinic/base/hinic_pmd_niccfg.h | 9 +++

[dpdk-dev] [PATCH v4 11/19] net/hinic: flush fdir filter

2019-10-10 Thread Xiaoyun wang
Supports to flush fdir filter. Destroy all flow rules associated with a port on hinic. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_ethdev.c | 16 drivers/net/hinic/hinic_pmd_ethdev.h | 3 +- drivers/net/hinic/hinic_pmd_flow.c | 140 +++ 3

[dpdk-dev] [PATCH v4 09/19] net/hinic: create and destroy ntuple filter

2019-10-10 Thread Xiaoyun wang
Add support for creating/destroying ntuple filter. The filter rule includes BGP and VRRP packet type. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_ethdev.h | 75 drivers/net/hinic/hinic_pmd_flow.c | 684 +++ 2 files changed, 759 insertions(+

[dpdk-dev] [PATCH v4 01/19] net/hinic/base: add mbox command channel for SRIOV

2019-10-10 Thread Xiaoyun wang
Add mbox command channel for SR-IOV, which is used to communicate between VF and VF, VF and PF. This patch introduces data structures, initialization, interfaces and commands of mbox channel. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini | 1 + doc/guides/nics/hinic.

[dpdk-dev] [PATCH v4 07/19] net/hinic/base: add fdir config interface

2019-10-10 Thread Xiaoyun wang
This patch adds fdir config operation, including set fdir filter, normal filter, set and clear fdir tcam. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini| 1 + doc/guides/nics/hinic.rst | 1 + drivers/net/hinic/base/hinic_pmd_cmd.h| 2 + drive

[dpdk-dev] [PATCH v4 04/19] net/hinic: add VLAN filter and offload

2019-10-10 Thread Xiaoyun wang
This patch adds support for VLAN filter and VLAN offload. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini| 2 + doc/guides/nics/hinic.rst | 1 + drivers/net/hinic/base/hinic_pmd_cmd.h| 1 + drivers/net/hinic/base/hinic_pmd_niccfg.c | 136 +

[dpdk-dev] [PATCH v4 06/19] net/hinic: add unicast and multicast MAC set

2019-10-10 Thread Xiaoyun wang
This patch adds unicast and multicast set interfaces. Application can add or remove unicast MAC address, also can set multicast MAC address, tha maximum multicast list size is 2048. Signed-off-by: Xiaoyun wang --- doc/guides/nics/hinic.rst | 2 + drivers/net/hinic/base/hinic_pm

[dpdk-dev] [PATCH v4 05/19] net/hinic: add allmulticast mode and MTU set

2019-10-10 Thread Xiaoyun wang
When enable allmulticast mode, all multicast packets can be received. This patch also adds support for mtu set, the range of MTU is from 256 to 9600. Signed-off-by: Xiaoyun wang --- doc/guides/nics/features/hinic.ini | 4 +- doc/guides/nics/hinic.rst| 2 + drivers/net/hinic/hin

[dpdk-dev] [PATCH v4 03/19] net/hinic: add VF PMD operation interfaces

2019-10-10 Thread Xiaoyun wang
This patch adds VF PMD operation interfaces to support SR-IOV. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_pmd_niccfg.c | 35 drivers/net/hinic/base/hinic_pmd_niccfg.h | 14 ++ drivers/net/hinic/hinic_pmd_ethdev.c | 255 -- 3 files changed

[dpdk-dev] [PATCH v4 02/19] net/hinic/base: add HW interfaces for SR-IOV

2019-10-10 Thread Xiaoyun wang
This patch introduces some HW interfaces required for SR-IOV function, including: init hwdev, set port state, get default cos, vf dma attribute table, vf txrx flush and so on. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_compat.h | 36 +--- drivers/net/hinic/base/hinic_pmd_

Re: [dpdk-dev] [PATCH v11 2/3] ethdev: extend RSS offload types

2019-10-10 Thread Su, Simei
Hi, Andrew > -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, October 9, 2019 5:32 PM > To: Andrew Rybchenko ; Su, Simei > ; Ye, Xiaolong ; Yigit, Ferruh > > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v11 2/3] ethdev: extend RSS offload types > > > > > -Original Mes

[dpdk-dev] [PATCH v4 00/19] Add advanced features for Huawei hinic pmd

2019-10-10 Thread Xiaoyun wang
This patch set adds advanced features for Huawei hinic pmd, such as VLAN filter and VLAN offload, SR-IOV, FW version get, set link down and up, Flow director for LACP, VRRP, BGP and so on. -- v2: - Fix RSS bugs for vxlan packets inner type - Add comments for new added func interface - Fix co

Re: [dpdk-dev] Memory allocation in libraries

2019-10-10 Thread Burakov, Anatoly
On 09-Oct-19 10:38 AM, Bruce Richardson wrote: On Wed, Oct 09, 2019 at 10:13:07AM +0200, Morten Brørup wrote: Hi all, I just noticed an inconsistency in the use of memory allocation: Some libraries allocate their data structures using the rte_memzone library, e.g. the rte_ring library: http://

Re: [dpdk-dev] [PATCH v6 1/2] mbuf: add bulk free function

2019-10-10 Thread Morten Brørup
Hi CI Team, Although my patch only adds a single function, which is not being called from anywhere, the patch failed the iol-intel-Performance test: http://mails.dpdk.org/archives/test-report/2019-October/101829.html So I think something went wrong with the test environment. Is there any way to

Re: [dpdk-dev] [PATCH v2] net/memif: optimized with one-way barrier

2019-10-10 Thread David Marchand
On Wed, Oct 9, 2019 at 1:15 PM Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco) wrote: > > > > > -Original Message- > > From: Phil Yang > > Sent: Wednesday, October 9, 2019 4:05 AM > > To: Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco) > > ; ferruh.yi...@intel.

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-10 Thread Akhil Goyal
Hi Mariusz, > -Original Message- > From: Mariusz Drost > Sent: Tuesday, September 24, 2019 4:06 PM > To: radu.nico...@intel.com; Akhil Goyal ; > konstantin.anan...@intel.com > Cc: dev@dpdk.org; Mariusz Drost ; Lukasz Bartosik > > Subject: [PATCH v2 1/2] examples/ipsec-secgw: fix SAD sel

Re: [dpdk-dev] [PATCH v2] net/bonding: fix selection logic

2019-10-10 Thread Chas Williams
On 10/10/19 4:27 AM, kka...@marvell.com wrote: From: Krzysztof Kanas Arrays agg_count and agg_bandwidth should be indexed by slave_id not by aggregator port_id. Fixes: 6d72657ce379 ("net/bonding: add other aggregator modes") Cc: danielx.t.mrzyg...@intel.com Signed-off-by: Krzysztof Kanas

Re: [dpdk-dev] [PATCH 19.11 V3 00/12] Miscellaneous fixes

2019-10-10 Thread Thierry Herbelot
On 10/10/19 3:01 PM, David Marchand wrote: On Thu, Aug 8, 2019 at 4:34 PM Thomas Monjalon wrote: 08/08/2019 15:19, Thierry Herbelot: On 8/8/19 10:22 AM, Thierry Herbelot wrote: This series of patches includes fixes for issues seen with 6WIND fast path, built on DPDK. The patches are in 6WIND

Re: [dpdk-dev] [PATCH 19.11 V3 00/12] Miscellaneous fixes

2019-10-10 Thread David Marchand
On Thu, Aug 8, 2019 at 4:34 PM Thomas Monjalon wrote: > > 08/08/2019 15:19, Thierry Herbelot: > > On 8/8/19 10:22 AM, Thierry Herbelot wrote: > > > This series of patches includes fixes for issues seen with > > > 6WIND fast path, built on DPDK. > > > The patches are in 6WIND version of DPDK, and s

Re: [dpdk-dev] [PATCH v4] eventdev: flag to identify same destined packets enqueue

2019-10-10 Thread Nipun Gupta
> -Original Message- > From: Rao, Nikhil > Sent: Thursday, October 10, 2019 3:36 PM > To: Nipun Gupta ; dev@dpdk.org > Cc: jer...@marvell.com; acon...@redhat.com; pbhagavat...@marvell.com; > sk...@marvell.com; Hemant Agrawal ; > Richardson, Bruce ; Kovacevic, Marko > ; or...@mellanox.co

Re: [dpdk-dev] [PATCH 2/2] raw/ioat: fix initial ring size check

2019-10-10 Thread Bruce Richardson
On Thu, Oct 10, 2019 at 01:36:03PM +0100, Ciara Power wrote: > When running the ioat_rawdev_autotest, the ring size was initially required > to be 0. This prevented the test being run multiple times, as the ring size > is modified to a non-zero value when running the first test. > > A global varia

Re: [dpdk-dev] [PATCH 1/2] raw/ioat: fix rawdev state to stopped after test

2019-10-10 Thread Bruce Richardson
On Thu, Oct 10, 2019 at 01:36:02PM +0100, Ciara Power wrote: > The ioat rawdev was initially started during the test, however was never > stopped. This would cause issues when running the test again, as the device > cannot be configured when in a running state. > > The device is now stopped after

[dpdk-dev] [PATCH 1/2] raw/ioat: fix rawdev state to stopped after test

2019-10-10 Thread Ciara Power
The ioat rawdev was initially started during the test, however was never stopped. This would cause issues when running the test again, as the device cannot be configured when in a running state. The device is now stopped after the test has completed, or if the test is terminated due to error. Fix

[dpdk-dev] [PATCH 2/2] raw/ioat: fix initial ring size check

2019-10-10 Thread Ciara Power
When running the ioat_rawdev_autotest, the ring size was initially required to be 0. This prevented the test being run multiple times, as the ring size is modified to a non-zero value when running the first test. A global variable is now used to track the expected ring size, and is used in the ini

[dpdk-dev] [PATCH 0/2] enable ioat test to run multiple times

2019-10-10 Thread Ciara Power
This patchset enables the ioat_rawdev_autotest to be run multiple times. To make this possible, changes were made to stop the rawdev on completion of the test, and to ensure the initial ring size is as expected. Ciara Power (2): raw/ioat: fix rawdev state to stopped after test raw/ioat: fix in

Re: [dpdk-dev] [PATCH 2/2] event/dpaa2: support Tx adapter

2019-10-10 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 1/2] event/dpaa2: set priority as per the dpcon device

2019-10-10 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] config: disable iova phys for dpaa and 1588 for dpaa2

2019-10-10 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 0/2] net/enic: a couple new features

2019-10-10 Thread Ferruh Yigit
On 9/23/2019 3:41 PM, Hyong Youb Kim wrote: > The first patch enables Geneve offload that supports Geneve header > options. Previous Geneve offload does not work when options are > present. > > The second patch adds the new flow implementation based on Flow > Manager. So the driver now has two imp

Re: [dpdk-dev] [PATCH v2] vhost: add support for large buffers.

2019-10-10 Thread Flavio Leitner
Hi Tiwei, Thanks for the review. I will follow up with an improved patch. fbl On Thu, 10 Oct 2019 13:12:57 +0800 Tiwei Bie wrote: > [PATCH v2] vhost: add support for large buffers. > > There is a warning reported by devtools/check-git-log.sh > The '.' at the end of the title should be droppe

Re: [dpdk-dev] [PATCH 0/3] net/enic: fix multi-process isseus

2019-10-10 Thread Ferruh Yigit
On 9/6/2019 7:50 AM, Hyong Youb Kim wrote: > This series fixes a few multi-process issues, mainly discovered by > Dirk-Holger Lenz. They manifest clearly when primary and secondary > processes use different executable images (hence different rte_eth_dev > addresses and so on). > > Dirk has tested

[dpdk-dev] [PATCH v5] cryptodev: extend api of asymmetric crypto by session-less

2019-10-10 Thread Arek Kusztal
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev. Signed-off-by: Arek Kusztal --- v2: - added union v3: - added entry into feature matrix - added information to prog_guide v4: - fixed formatting - fixed grammar v5: - ad

[dpdk-dev] [PATCH v11 7/7] examples: disable Rx packet type parsing

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Disable packet type parsing in examples that don't use `rte_mbuf::packet_type` by setting ptype_mask as 0 in `rte_eth_dev_set_supported_ptypes` Signed-off-by: Pavan Nikhilesh --- examples/bbdev_app/main.c | 1 + examples/bond/main.c

Re: [dpdk-dev] [PATCH v3 0/3] add fallback session

2019-10-10 Thread Ananyev, Konstantin
Hi Anoob, > > Following are the main issues I had identified, > > 1. Doesn't work for inline protocol offload (the plan itself won't scale for > that case) > 2. Ignores the data from the h/w lookup > 3. The fallback support is actually supported in ipsec-secgw (application) > instead of librt

[dpdk-dev] [PATCH v11 4/7] drivers/net: update Rx RSS hash offload capabilities

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Add DEV_RX_OFFLOAD_RSS_HASH flag for all PMDs that support RSS hash delivery. Signed-off-by: Pavan Nikhilesh Reviewed-by: Andrew Rybchenko Reviewed-by: Hemant Agrawal Acked-by: Jerin Jacob Acked-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- driv

[dpdk-dev] [PATCH v11 0/7] ethdev: add new Rx offload flags

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Add new Rx offload flags `DEV_RX_OFFLOAD_RSS_HASH` and `DEV_RX_OFFLOAD_FLOW_MARK`. These flags can be used to enable/disable PMD writes to rte_mbuf fields `hash.rss` and `hash.fdir.hi` and also `ol_flags:PKT_RX_RSS` and `ol_flags:PKT_RX_FDIR`. Add new packet type set functi

[dpdk-dev] [PATCH v11 6/7] examples/eventdev_pipeline: add new Rx RSS hash offload

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Since pipeline_generic uses `rte_mbuf::hash::rss` add the new Rx offload flag `DEV_RX_OFFLOAD_RSS_HASH` to inform PMD to copy the RSS hash result into the mbuf. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline/main.c | 120 - .../p

[dpdk-dev] [PATCH v11 3/7] ethdev: add flow action type update as an offload

2019-10-10 Thread pbhagavatula
From: Pavan Nikhilesh Add new Rx offload flag `DEV_RX_OFFLOAD_FLOW_MARK` that can be used to enable/disable PMDs write to `rte_mbuf::hash::fdir::hi` and `rte_mbuf::ol_flags` when flow actions `RTE_FLOW_ACTION_MARK` and `RTE_FLOW_ACTION_FLAG` are enabled. PMDs notify the validity of `rte_mbuf::ha

  1   2   >