Re: [dpdk-dev] [PATCH 11/22] net/hns3: add support for flow control of hns3 PMD driver

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 23:07, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch adds support for MAC PAUSE flow control and priority flow >> control of hns3 PMD driver. All user priorities(up) must be mapped to >> tc0 when MAC PAUSE flow control is enabled. Ups can be mapped

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

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 23:23, Ferruh Yigit wrote: > On 8/23/2019 2:46 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 hns3(Hisilic

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 23:12, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch add build related files for hns3 PMD driver. >> >> Signed-off-by: Wei Hu (Xavier) >> Signed-off-by: Min Hu (Connor) >> Signed-off-by: Chunsong Feng >> Signed-off-by: Hao Chen >> Signed-off-by

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 23:00, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch add build related files for hns3 PMD driver. >> >> Signed-off-by: Wei Hu (Xavier) >> Signed-off-by: Min Hu (Connor) >> Signed-off-by: Chunsong Feng >> Signed-off-by: Hao Chen >> Signed-off-by

[dpdk-dev] [RFC] app/testpmd: support multiple raw encap/decap

2019-08-31 Thread Xiaoyu Min
In some scenarios, the raw_encap/raw_decap actions could be multiple in one single flow (e,g. hirepin flow): ... actions raw_decap / raw_encap / raw_decap / raw_encap / ... This requires the testpmd supports multiple raw_encap/raw_decap data settings as well. With the multiple raw_encap/raw_de

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 14:17, Stephen Hemminger wrote: > On Fri, 23 Aug 2019 21:47:11 +0800 > "Wei Hu (Xavier)" wrote: > >> +Limitations or Known issues >> +--- >> +Build with clang is not supported yet. >> +Currently, only ARMv8 architecture is supported. >> \ No newline at end o

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 14:16, Stephen Hemminger wrote: > On Fri, 23 Aug 2019 21:47:11 +0800 > "Wei Hu (Xavier)" wrote: > > Thanks for doing documentation on this driver. > >> +The Hisilicon Network Subsystem is a long term evolution IP which is >> +supposed to be used in Hisilicon ICT SoCs such as Kunpen

Re: [dpdk-dev] [PATCH 19/22] net/hns3: add stats related ops for hns3 PMD driver

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 23:20, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch adds stats_get, stats_reset, xstats_get, xstats_get_names >> xstats_reset, xstats_get_by_id and xstats_get_names_by_id related >> function codes. >> >> Signed-off-by: Wei Hu (Xavier) >> Signed-o

Re: [dpdk-dev] [PATCH 14/22] net/hns3: add support for hns3 VF PMD driver

2019-08-31 Thread Wei Hu (Xavier)
On 2019/8/30 23:11, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch adds support for hns3 VF PMD driver. >> >> In current version, we only support VF device is bound to vfio_pci or >> igb_uio and then taken over by DPDK when PF device is taken over by kernel >> m

Re: [dpdk-dev] [PATCH 12/22] net/hns3: add support for VLAN of hns3 PMD driver

2019-08-31 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2019/8/30 23:08, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch adds support for VLAN related operation of hns3 PMD driver. >> >> Signed-off-by: Min Hu (Connor) >> Signed-off-by: Wei Hu (Xavier) >> Signed-off-by: Chunsong Feng >> Signed-off

Re: [dpdk-dev] [PATCH 10/22] net/hns3: add support for RSS of hns3 PMD driver

2019-08-31 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2019/8/30 23:07, Ferruh Yigit wrote: > On 8/23/2019 2:46 PM, Wei Hu (Xavier) wrote: >> This patch adds support for RSS of hns3 PMD driver. >> It included the following functions in file hns3_rss.c: >> 1) Set/query hash key, rss_hf by .rss_hash_update/.rss_hash_conf_get ops >>

[dpdk-dev] [PATCH v1 1/1] app/testpmd: add function to display port supported ptypes

2019-08-31 Thread vattunuru
From: Vamsi Attunuru Patch adds a runtime function to display ptypes supported by the given port in different layers. Signed-off-by: Vamsi Attunuru --- app/test-pmd/cmdline.c | 111 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++ 2 files

[dpdk-dev] [RFC 0/3] RCU integration with hash library

2019-08-31 Thread Dharmik Thakkar
This patchset integrates RCU QSBR support with hash library. Note: This patchset has dependency on another patchset: https://patchwork.dpdk.org/cover/57813/ Refer to RCU documentation to understand various aspects of integrating RCU library into other libraries. Introduce a new API rte_has

[dpdk-dev] [RFC 1/3] net/ixgbe: avoid multpile definitions of 'bool'

2019-08-31 Thread Dharmik Thakkar
Compilation issue arises due to multiple definitions of 'bool' in 'ixgbe_ethdev.h'. (Please note that this issue showed up when 'rte_rcu_qsbr.h' got included within 'rte_hash.h', because 'rte_rcu_qsbr.h' includes 'stdbool.h'. This is a temporary fix. Recommend suggesting better solution.) Signed-o

[dpdk-dev] [RFC 3/3] test/hash: add tests for integrated RCU QSBR

2019-08-31 Thread Dharmik Thakkar
Add functional and performance tests for the integrated RCU QSBR. Suggested-by: Honnappa Nagarahalli Signed-off-by: Dharmik Thakkar --- app/test/test_hash_readwrite_lf.c | 694 +- 1 file changed, 693 insertions(+), 1 deletion(-) diff --git a/app/test/test_hash_readw

[dpdk-dev] [RFC 2/3] lib/hash: integrate RCU QSBR

2019-08-31 Thread Dharmik Thakkar
Integrate RCU QSBR process. (Refer to RCU documentation to understand various aspects of integrating RCU library into other libraries.) Suggested-by: Honnappa Nagarahalli Signed-off-by: Dharmik Thakkar --- lib/librte_hash/Makefile | 2 +- lib/librte_hash/meson.build | 2