p.jsp?tp=&arnumber=850426
Fixes: 46fb43683679 ("bond: add mode 4")
Cc: sta...@dpdk.org
Signed-off-by: Weifeng Li
Acked-by: Wei Hu (Xavier)
Thanks you for fixing this issue.
Xavier
---
v1 -> v2: adjust the formate of commit log
---
v2 -> v3:
1. adjust coding style issue.
Add release notes for Hisilicon hns3 PMD driver.
Signed-off-by: Wei Hu (Xavier)
---
doc/guides/rel_notes/release_20_08.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes/release_20_08.rst
b/doc/guides/rel_notes/release_20_08.rst
index d65f772..89822bc 100644
Cc: sta...@dpdk.org
Signed-off-by: Zhiguang He <1913909...@qq.com>
Acked-by: Wei Hu (Xavier)
Thank you for fixing this issue.
Xavier
---
drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd
From: Chengchang Tang
This patch solves the static check warning as follow:
"The switch statement must have a 'default' branch".
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rxtx.c | 3 +++
1 file changed, 3 insertions(+)
diff
From: "Wei Hu (Xavier)"
Because of hardware limitation based on the old version of hns3 network
engine, there are some restrictions:
a) HNS3 PMD driver needs select different processing mode for VLAN based
on whether PVID is set which means our driver need sense the PVID
stat
hash type input configuration
net/hns3: fix config when creating RSS rule after flush
net/hns3: fix flushing RSS rule
Wei Hu (Xavier) (6):
net/hns3: add VLAN configuration compatibility
net/hns3: add TSO pseudo header calculation compatibility
net/hns3: add default branch to switch when pa
: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengchang Tang
---
drivers/net/hns3/hns3_ethdev.c| 2 +-
drivers/net/hns3/hns3_ethdev_vf.c | 2 +-
drivers/net/hns3/hns3_rxtx.c | 30 --
drivers/net/hns3/hns3_rxtx.h | 1 +
4 files changed
from the hardware VLAN
table when device is closed.
Fixes: 411d23b9eafb ("net/hns3: support VLAN")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
v1 -> v2:
fix TYPO_SPELLING with INVALID.
---
drivers/net/hns3/hns3_e
From: "Wei Hu (Xavier)"
In kunpeng 920, when process pkts which need TSO, the network driver
need to erase the L4 len value of the TCP TSO pseudo header and
recalculate the pseudo header checksum. kunpeng930 support not need
to erase the L4 len value of the TCP TSO pseudo header.
Sig
statistical item without
traversing the remaining table entries.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_stats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/hns3/hns3_stats.c b/drivers/net/hns3/hns3_stats.c
index 067673c..e8846b9 100644
From: Lijun Ou
This patch adds checking the input RSS type when creating a flow with RSS.
If the input RSS type are not supported based on hns3 network engine, an
error is returned.
Signed-off-by: Lijun Ou
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_flow.c | 26
parameters in the
hardware is unavailable. Also we set hw->rss_info.func to
RTE_ETH_HASH_FUNCTION_MAX that indicate it is invalid.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
Signed-off-by: Wei Hu (Xavier)
---
driver
to be processed by PMD driver.
Fixes: 2790c6464725 ("net/hns3: support device reset")
Cc: sta...@dpdk.org
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.h| 7 +++
drivers/net/hns3/hns3_ethdev_vf.c | 15 +++
2 files changed
From: "Wei Hu (Xavier)"
This patch solves the static check warning in the internal function named
hns3_fd_convert_tuple as follow:
"The switch statement must have a 'default' branch".
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
---
dr
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_flow.c | 79
drivers/net/hns3/hns3_rss.h | 1 +
2 files changed, 58 insertions(+), 22 deletions(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index 5b5124c..05cc95e
jun Ou
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.h| 9 +-
drivers/net/hns3/hns3_ethdev.h | 2 +
drivers/net/hns3/hns3_rss.c| 244 +++--
drivers/net/hns3/hns3_rss.h| 20 +---
4 files changed, 197 insertions(+), 78 deletions(-)
From: Lijun Ou
This patch enables to query some RSS configurations of the specified
rule. For example, show RSS hash function and rss types.
Signed-off-by: Lijun Ou
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_flow.c | 23 ---
1
_END
after calling rte_flow_create, one FDIR rule will be created.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
---
v1 -> v2: fix TYPO_SPELLING with 'QUEUE'.
---
drivers/net/hns3/hns3_cmd.c| 5 +-
drivers/net/hns3/hns3_cmd.h| 2 +-
drivers/net/hns3/hns3_ethdev.h | 8 +-
From: "Wei Hu (Xavier)"
Currently, when calling the rte_flow_query API function to query the RSS
information, the queue related information is not as expected.
The root cause is that when application call the rte_flow_create API
function to create RSS action, the operation of storin
From: "Wei Hu (Xavier)"
When user specifies RSS queue num for 0 in action list by flow create API,
it should create a valid flow rule. The following flow rule should be
success in the command line of the testpmd application:
flow create 0 actions rss queues / end
Fixes: c37ca66f
From: "Wei Hu (Xavier)"
Currently, when running the following commands in the CLI of testpmd
application, the driver reports an -EINVAL error when performing the No.3
step.
1) flow create 0 ingress pattern end actions rss key func simple_xor
types all end / end
2) flow flush
Hi, Ferruh Yigit
On 2020/9/22 22:51, Ferruh Yigit wrote:
On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote:
From: Chengchang Tang
Currently, if nb_txd is not set, the txpkts is not allowed to be set
because the nb_txd is used to avoid the numer of segments exceed the Tx
ring size and the default
Hi, Ferruh Yigit
On 2020/9/23 0:21, Ferruh Yigit wrote:
On 9/8/2020 3:16 AM, Wei Hu (Xavier) wrote:
From: Huisong Li
Currently, when starting testpmd application without '--disable-rss' and
the number of Rx queue configured is greater than 1, ETH_MQ_RX_RSS flag
is s
Hi, Ajit Khaparde
On 2020/9/22 13:15, Ajit Khaparde wrote:
On Mon, Sep 7, 2020 at 7:16 PM Wei Hu (Xavier)
wrote:
From: Huisong Li
Sometimes, we have to start testpmd application with --pkt-filter-mode to
test flow table feature. When using 'port config 0 dcb vt off 4 pfc on'
co
rivers.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
v1 -> v2: add check if PMD support DEV_RX_OFFLOAD_RSS_HASH before
setting it.
---
app/test-pmd/testpmd.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/te
Hi, Ferruh Yigit
On 2020/9/23 11:14, Wei Hu (Xavier) wrote:
Hi, Ferruh Yigit
On 2020/9/22 22:51, Ferruh Yigit wrote:
On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote:
From: Chengchang Tang
Currently, if nb_txd is not set, the txpkts is not allowed to be set
because the nb_txd is used to avoid
Hi, Ajit Khaparde
On 2020/9/23 15:14, Wei Hu (Xavier) wrote:
Hi, Ajit Khaparde
On 2020/9/22 13:15, Ajit Khaparde wrote:
On Mon, Sep 7, 2020 at 7:16 PM Wei Hu (Xavier)
wrote:
From: Huisong Li
Sometimes, we have to start testpmd application with
--pkt-filter-mode to
test flow table
.
This patch makes the function return directly insead of refreshing the
configuration when execution fails.
Fixes: 384161e00627 ("app/testpmd: adjust on the fly VLAN configuration")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Reviewed-by: Fe
This series are minor fixes for testpmd application.
Chengchang Tang (5):
app/testpmd: fix missing verification of port id
app/testpmd: fix VLAN offload configuration when config fail
app/testpmd: remove restriction on txpkts set
app/testpmd: fix packet header in txonly mode
app/testpmd:
member of
non-existent port.
This patch adds verification of port id in tx vlan offloads and remove
duplicated check.
Fixes: 597f9fafe13b ("app/testpmd: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Reviewed-by: Fe
32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/txonly.c | 32
1 file changed, 32 insertions(+)
diff --git a/app/test-pmd/txonly.c b/app/tes
.@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
v3 -> v4:
add check 'rte_eth_rx_queue_info_get()' return value and
if it is '-ENOSTUP' calculate the 'ring_size'.
v3: initi
use a
default value to confiure the queue if nb_rx_desc or nb_tx_desc is zero.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
v3 -> v4:
add check 'rte_eth_rx_queue_info_get()' return val
1 ("app/testpmd: fix port configuration print")
Fixes: d44f8a485f5d1f ("app/testpmd: enable per queue configure")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
Reviewed-by: Ferruh Yigit
---
app/test-pmd/config.c | 64 +++
Friendly ping.
On 2020/8/19 18:56, Wei Hu (Xavier) wrote:
This series updates CPU flags for arm64 platform.
Wei Hu (Xavier) (2):
eal/arm64: update CPU flags
test/cpuflag: add new flags for ARM64 platform
app/test/test_cpuflags.c | 39
lib
Hi, Ferruh Yigit
On 2020/9/23 17:35, Ferruh Yigit wrote:
On 9/23/2020 8:04 AM, Wei Hu (Xavier) wrote:
Hi, Ferruh Yigit
On 2020/9/23 0:21, Ferruh Yigit wrote:
On 9/8/2020 3:16 AM, Wei Hu (Xavier) wrote:
From: Huisong Li
Currently, when starting testpmd application without
'--disabl
rss_result_h, while rss_result_l records the
lower 8 bits and rss_result_h records the higher 1 bit.
In addition, 2~4 modifications is also compatible with hns3 VF PMD driver.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.h| 17 -
drivers
From: "Wei Hu (Xavier)"
The maximum number of queues for hns3 PF and VF driver is 64 based on hns3
network engine with revision_id equals 0x21. Based on hns3 network engine
with revision_id equals 0x30, the hns3 PF PMD driver can support up to 1280
queues, and hns3 VF PMD driver can
From: "Wei Hu (Xavier)"
The API of rte_flow_error_set is used to pass detail error information to
caller, this patch sets suitable type when calling rte_flow_error_set API.
Fixes: fcba820d9b9e ("net/hns3: support flow director")
Fixes: c37ca66f2b27 ("net/hns3: support
the number of queues for one TC up to 512
net/hns3: offload calculating the shapping para to firmware
net/hns3: set max scheduling rate based on actual board
Wei Hu (Xavier) (3):
net/hns3: maximize the queue number
net/hns3: fix error type when validating RSS flow action
net/hns3: set
From: "Wei Hu (Xavier)"
Because the macro named RTE_FLOW_ERROR_TYPE_ACTION_CONF indicates a action
configuration and the macro named RTE_FLOW_ERROR_TYPE_ACTION indicates a
specific action, the driver needs to return RTE_FLOW_ERROR_ACTION_CONF type
and notify the user when a RSS config
environment.
The max_tm_rate in struct hns3_hw, meaning the rate, is obtained from
firmware. So we should use the variable to configure the max scheduling
rate.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_dcb.c | 12 ++--
1 file changed, 6 insertions
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_dcb.c | 55 +++--
drivers/net/hns3/hns3_dcb.h | 39 +---
2 files changed, 74 insertions(+), 20 deletions(-)
diff --git a/drivers/net/hns3/hns3_dcb.c b/drivers/net/hns3
From: Hongbo Zheng
When an error occurs in the reset process, -EIO is returned.
The assignment of ret here is redundant, so deleted it.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_intr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net
improve readability.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.c | 2 +-
drivers/net/hns3/hns3_cmd.h | 4 +-
drivers/net/hns3/hns3_ethdev.c| 98 --
drivers/net/hns3/hns3_ethdev_vf.c | 93 --
drivers/net/hns3/hns3_regs.c
From: Hongbo Zheng
This patch add return value check when calling rte_pci_read_config
function.
Fixes: cea37e513329 ("net/hns3: fix FLR reset")
Cc: sta...@dpdk.org
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev
From: "Wei Hu (Xavier)"
The API of rte_flow_error_set is used to pass detail error information to
caller, this patch sets suitable type when calling rte_flow_error_set API.
Fixes: fcba820d9b9e ("net/hns3: support flow director")
Fixes: c37ca66f2b27 ("net/hns3: support
the number of queues for one TC up to 512
net/hns3: offload calculating the shapping para to firmware
net/hns3: set max scheduling rate based on actual board
Wei Hu (Xavier) (3):
net/hns3: maximize the queue number
net/hns3: fix error type when validating RSS flow action
net/hns3: set
rss_result_h, while rss_result_l records the
lower 8 bits and rss_result_h records the higher 1 bit.
In addition, 2~4 modifications is also compatible with hns3 VF PMD driver.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.h| 17 -
drivers
environment.
The max_tm_rate in struct hns3_hw, meaning the rate, is obtained from
firmware. So we should use the variable to configure the max scheduling
rate.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_dcb.c | 12 ++--
1 file changed, 6 insertions
From: "Wei Hu (Xavier)"
Because the macro named RTE_FLOW_ERROR_TYPE_ACTION_CONF indicates a action
configuration and the macro named RTE_FLOW_ERROR_TYPE_ACTION indicates a
specific action, the driver needs to return RTE_FLOW_ERROR_ACTION_CONF type
and notify the user when a RSS config
From: Hongbo Zheng
When an error occurs in the reset process, -EIO is returned.
The assignment of ret here is redundant, so deleted it.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_intr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net
From: Hongbo Zheng
This patch add return value check when calling rte_pci_read_config
function.
Fixes: cea37e513329 ("net/hns3: fix FLR reset")
Cc: sta...@dpdk.org
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev
From: "Wei Hu (Xavier)"
The maximum number of queues for hns3 PF and VF driver is 64 based on hns3
network engine with revision_id equals 0x21. Based on hns3 network engine
with revision_id equals 0x30, the hns3 PF PMD driver can support up to 1280
queues, and hns3 VF PMD driver can
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_dcb.c | 55 +++--
drivers/net/hns3/hns3_dcb.h | 39 +---
2 files changed, 74 insertions(+), 20 deletions(-)
diff --git a/drivers/net/hns3/hns3_dcb.c b/drivers/net/hns3
improve readability.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.c | 2 +-
drivers/net/hns3/hns3_cmd.h | 4 +-
drivers/net/hns3/hns3_ethdev.c| 98 --
drivers/net/hns3/hns3_ethdev_vf.c | 93 --
drivers/net/hns3/hns3_regs.c
Hi, Li RongQing
Please add fixes statements in the commit log.
And for the patch [2/2] of this series: Reviewed-by: Wei Hu (Xavier)
On 2020/9/30 13:40, Li RongQing wrote:
ping
thanks
-Li
Wang wrote:
-Original Message-
From: Wei Hu (Xavier)
Sent: Wednesday, August 19, 2020 6:57 PM
To: dev@dpdk.org
Cc: nd ; Honnappa Nagarahalli
; Ruifeng Wang
; jerinjac...@gmail.com;
xavier.hu...@huawei.com
Subject: [PATCH v6 0/2] update CPU flags for arm64 platform
This series updates
ed-by: Wei Hu (Xavier)
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 75a17d5..ba97f23 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -530,6 +530,7 @@ F: doc/guides/nics/features/default.ini
Link bonding
M: Chas Williams
M: Wei Hu (Xavier
.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
lib/librte_ethdev/rte_ethdev.c | 56 ++
lib/librte_ethdev/rte_ethdev.h | 3 ++-
2 files changed, 58 insertions(+), 1 deletion(-)
diff --git a/lib
.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
v1 -> v2:
1. replace %"PRIu16" with %u.
2. extact two common functions which validate RXQ/TXQ ids and
whether it has been set up or not.
---
lib/
Hi, Stephen Hemminger
On 2020/10/10 23:24, Stephen Hemminger wrote:
On Sat, 10 Oct 2020 15:12:12 +0800
"Wei Hu (Xavier)" wrote:
+ if (dev->data->rx_queues[rx_queue_id] == NULL) {
+ RTE_ETHDEV_LOG(ERR, "Rx queue %"PRIu1
Hi, Kalesh Anakkur Purayil
On 2020/10/11 0:38, Kalesh Anakkur Purayil wrote:
On Sat, Oct 10, 2020 at 12:42 PM Wei Hu (Xavier)
mailto:huwei...@chinasoftinc.com>> wrote:
From: Chengchang Tang mailto:tangchengch...@huawei.com>>
This patch adds checking whether the rela
Hi, Thomas Monjalon
For this series, ARM engineer has already given them backed by. If you
have no other opinion, can we merge them? so we can continue to promote
other patch sets accelerated by using SVE instructions.
Hope for your reply, thanks.
Regards
Xavier
On 2020/8/19 18:56, Wei Hu
.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
v2 -> v3:
don't break lines in format strings.
v1 -> v2:
1. replace %"PRIu16" with %u.
2. extact two common functions which validate RXQ/TXQ ids and
.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
Acked-by: Stephen Hemminger
---
v3 -> v4:
1. dropping the 'rte_' prefix from the funcitons names.
2. get "struct rte_eth_dev *dev" as parameter and drop the port_id
From: "Wei Hu (Xavier)"
This series check queue id in queue-related API functions.
Wei Hu (Xavier) (3):
ethdev: extract checking queue id into common functions
ethdev: check if queue setup in queue-related APIs
ethdev: check queue id in Rx interrupt control routine
lib/lib
From: "Wei Hu (Xavier)"
This patch extact checking rx_queue_id or tx_queue_id into two separate
common functions named eth_dev_validate_rx_queue and
eth_dev_validate_tx_queue.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
Acked-b
From: "Wei Hu (Xavier)"
This patch adds checking whether the related Tx or Rx queue has been setup
in the queue-related API functions to avoid illegal address access.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
Acked-by: Stephen
From: "Wei Hu (Xavier)"
This patch add queue ID checks to Rx interrupt control routines.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
Acked-by: Stephen Hemminger
Reviewed-by: Kalesh AP
---
lib/librte_ethdev/rte_ethdev.c | 10
This series add support SVE Tx/Rx operation.
Chengwen Feng (1):
net/hns3: support SVE Tx
Wei Hu (Xavier) (1):
net/hns3: support SVE Rx
drivers/net/hns3/hns3_rxtx.c | 43 +++-
drivers/net/hns3/hns3_rxtx.h | 4 +
drivers/net/hns3/hns3_rxtx_vec.h | 34 ++-
drivers/net
From: "Wei Hu (Xavier)"
This patch adds SVE vector instructions to optimize Rx burst process.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Huisong Li
Signed-off-by: Chengchang Tang
---
drivers/net/hns3/hns3_rxtx.c | 28 +++-
driver
From: Chengwen Feng
This patch adds SVE vector instructions to optimize Tx burst process.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_rxtx.c | 17 +++-
drivers/net/hns3/hns3_rxtx.h | 2 +
drivers/net/hns3
Hi, Ruifeng Wang
On 2020/7/22 14:35, Ruifeng Wang wrote:
Hi Xavier,
-Original Message-
From: Wei Hu (Xavier)
Sent: Saturday, July 18, 2020 10:18 AM
To: Honnappa Nagarahalli ;
dev@dpdk.org
Cc: nd ; Ruifeng Wang ; Wei Hu
(Xavier)
Subject: Re: [dpdk-dev] [PATCH] lib/librte_eal: support
From: "Wei Hu (Xavier)"
SVE is the next-generation SIMD extension of the ARMv8-A AArch64
instruction set.
The related marco definition can be found in linux kernel:
arch/arm64/include/uapi/asm/hwcap.h
This patch supports getting cpu SVE feature on ARM64 platform.
Signed-off-by: Che
From: "Wei Hu (Xavier)"
SVE is the next-generation SIMD extension of the ARMv8-A AArch64
instruction set.
The related marco definition can be found in linux kernel:
arch/arm64/include/uapi/asm/hwcap.h
This patch updates cpu SVE flags on ARM64 platform, such as SVE, etc.
Sig
Hi, Jerin Jacob
On 2020/8/17 21:07, Jerin Jacob wrote:
On Mon, Aug 17, 2020 at 6:17 PM Wei Hu (Xavier)
wrote:
From: "Wei Hu (Xavier)"
SVE is the next-generation SIMD extension of the ARMv8-A AArch64
instruction set.
The related marco definition can be found in linux kernel:
nformation to
DPDK framework in the '.dev_infos_get', '.rxq_info_get' and
'.rx_queue_setup' ops implementation function.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c| 11 +++
drivers/net/hns3/hns3_ethdev_vf.c |
nformation to
DPDK framework in the '.dev_infos_get', '.rxq_info_get' and
'.rx_queue_setup' ops implementation function.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
v1 -> v2: fix the typo in the commit log.
---
drivers/net/hns3/hns3
Hi, Jerin Jacob
On 2020/8/18 13:07, Jerin Jacob wrote:
On Tue, Aug 18, 2020 at 9:11 AM Ruifeng Wang wrote:
Hi,
-Original Message-
From: Wei Hu (Xavier)
Sent: Tuesday, August 18, 2020 10:44 AM
To: dev@dpdk.org
Cc: xavier.hu...@huawei.com; nd ; Honnappa Nagarahalli
; Ruifeng Wang
Hi, Ruifeng Wang
On 2020/8/18 11:41, Ruifeng Wang wrote:
Hi,
-Original Message-
From: Wei Hu (Xavier)
Sent: Tuesday, August 18, 2020 10:44 AM
To: dev@dpdk.org
Cc: xavier.hu...@huawei.com; nd ; Honnappa Nagarahalli
; Ruifeng Wang
; jerinjac...@gmail.com
Subject: [PATCH v3] eal/arm64
From: "Wei Hu (Xavier)"
This patch adds new flags into the test_cpuflags() functions for ARM64
platform, such as RTE_CPUFLAG_SVE, etc.
Signed-off-by: Wei Hu (Xavier)
---
app/test/test_cpuflags.c | 39 +++
1 file changed, 39 insertions(+)
diff -
From: "Wei Hu (Xavier)"
This series updates CPU flags for arm64 platform.
Wei Hu (Xavier) (2):
eal/arm64: update CPU flags
test/cpuflag: add new flags for ARM64 platform
app/test/test_cpuflags.c | 39
lib/librte_eal/arm/include/rte_cpu
From: "Wei Hu (Xavier)"
ARM64 Linux kernel updated the CPU flags using the HWCAP scheme.
The related marco definition can be found in linux kernel:
arch/arm64/include/uapi/asm/hwcap.h
This patch incorporates those changes to the eal library.
Signed-off-by: Chengwen Feng
Signed-o
This series are minor fixes for testpmd application.
Chengchang Tang (3):
app/testpmd: fix missing verification of port id
app/testpmd: fix VLAN offload configuration when config fail
app/testpmd: fix packet header in txonly mode
Huisong Li (1):
app/testpmd: fix displaying Rx Tx queues in
member of
non-existent port.
This patch adds verification of port id in tx vlan offloads.
Fixes: 597f9fafe13b ("app/testpmd: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/cmdline.c | 9 +
1 file
split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/txonly.c | 32
1 file changed, 32 insertions(+)
diff --git a/app/test-pmd/txonly.c b/app/test-pmd/txonly.c
index 3bae367ee..ad3b0a765 1
1 ("app/testpmd: fix port configuration print")
Fixes: d44f8a485f5d1f ("app/testpmd: enable per queue configure")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/config.c | 64 +++
1 file
.
This patch makes the function return directly insead of refreshing the
configuration when execution fails.
Fixes: 384161e00627 ("app/testpmd: adjust on the fly VLAN configuration")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/con
This series updates CPU flags for arm64 platform.
Wei Hu (Xavier) (2):
eal/arm64: update CPU flags
test/cpuflag: add new flags for ARM64 platform
app/test/test_cpuflags.c | 39
lib/librte_eal/arm/include/rte_cpuflags_64.h | 13 +++
lib/librte_eal
From: "Wei Hu (Xavier)"
ARM64 Linux kernel updated the CPU flags using the HWCAP scheme.
The related marco definition can be found in linux kernel:
arch/arm64/include/uapi/asm/hwcap.h
This patch incorporates those changes to the eal library.
Signed-off-by: Chengwen Feng
Signed-o
From: "Wei Hu (Xavier)"
This patch adds new flags into the test_cpuflags() functions for ARM64
platform, such as RTE_CPUFLAG_SVE, etc.
Signed-off-by: Wei Hu (Xavier)
Reviewed-by: Ruifeng Wang
---
v4 -> v5: Use double '\t' for better alignment.
v4: Initial patch.
---
a
Hi, Ruifeng Wang
On 2020/8/19 10:26, Ruifeng Wang wrote:
-Original Message-
From: Wei Hu (Xavier)
Sent: Tuesday, August 18, 2020 4:09 PM
To: dev@dpdk.org
Cc: nd ; Honnappa Nagarahalli
; Ruifeng Wang
; jerinjac...@gmail.com;
xavier.hu...@huawei.com
Subject: [PATCH v4 2/2] test/cpuflag
From: "Wei Hu (Xavier)"
ARM64 Linux kernel updated the CPU flags using the HWCAP scheme.
The related marco definition can be found in linux kernel:
arch/arm64/include/uapi/asm/hwcap.h
This patch incorporates those changes to the eal library.
Signed-off-by: Chengwen Feng
Signed-o
From: "Wei Hu (Xavier)"
This patch adds new flags into the test_cpuflags() functions for ARM64
platform, such as RTE_CPUFLAG_SVE, etc.
Signed-off-by: Wei Hu (Xavier)
Reviewed-by: Ruifeng Wang
---
v5 -> v6: update '\t' for alignment.
v4 -> v5: Use double '\t
This series updates CPU flags for arm64 platform.
Wei Hu (Xavier) (2):
eal/arm64: update CPU flags
test/cpuflag: add new flags for ARM64 platform
app/test/test_cpuflags.c | 39
lib/librte_eal/arm/include/rte_cpuflags_64.h | 13 +++
lib/librte_eal
Hi, Ruifeng Wang
On 2020/8/19 16:11, Ruifeng Wang wrote:
-Original Message-
From: Wei Hu (Xavier)
Sent: Wednesday, August 19, 2020 3:04 PM
To: dev@dpdk.org
Cc: nd ; Honnappa Nagarahalli
; Ruifeng Wang
; jerinjac...@gmail.com;
xavier.hu...@huawei.com
Subject: [PATCH v5 2/2] test
This series are minor fixes for testpmd application.
Chengchang Tang (3):
app/testpmd: fix missing verification of port id
app/testpmd: fix VLAN offload configuration when config fail
app/testpmd: fix packet header in txonly mode
Huisong Li (1):
app/testpmd: fix displaying Rx Tx queues in
member of
non-existent port.
This patch adds verification of port id in tx vlan offloads.
Fixes: 597f9fafe13b ("app/testpmd: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/cmdline.c | 9 +
1 file
.
This patch makes the function return directly insead of refreshing the
configuration when execution fails.
Fixes: 384161e00627 ("app/testpmd: adjust on the fly VLAN configuration")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/con
401 - 500 of 583 matches
Mail list logo