utgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
v1 -> v2: fix TYPO_SPELLING warning in the commit log.
---
app/test-pmd/txonly.c | 32
1 file changed, 32 insertions(+)
diff --git a/app/test-pmd/
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
):
net/hns3: support getting Tx and Rx queue information
Wei Hu (Xavier) (2):
net/hns3: report Rx drop packets enable configuration
ethdev: check if queue setupped when getting queue info
drivers/net/hns3/hns3_ethdev.c| 11 +
drivers/net/hns3/hns3_ethdev_vf.c | 11
From: Huisong Li
This patch adds support for querying Rx/Tx queue information.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c| 2 ++
drivers/net/hns3/hns3_ethdev_vf.c | 2 ++
drivers/net/hns3/hns3_rxtx.c | 33
From: "Wei Hu (Xavier)"
This patch adds checking whether the related Tx or Rx queue has been
setuped in the rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get
API function to avoid illegal address access.
Signed-off-by: Wei Hu (Xavier)
---
lib/librte_ethdev/rte_eth
From: "Wei Hu (Xavier)"
Currently, if there are not available Rx buffer descriptors in recieving
direction based on hns3 network engine, incoming packets will always be
dropped by hardware. This patch reports the '.rx_drop_en' information to
DPDK framework in the '.dev_i
Hi, Ferruh Yigit
On 2020/8/20 0:19, Ferruh Yigit wrote:
On 8/18/2020 4:07 AM, Wei Hu (Xavier) wrote:
From: Huisong Li
This patch adds support for querying Rx/Tx queue information.
Currently, if there are not available Rx buffer descriptors in receiving
direction based on hns3 network engine
):
net/hns3: support getting Tx and Rx queue information
Wei Hu (Xavier) (2):
net/hns3: report Rx drop packets enable configuration
ethdev: check if queue setupped when getting queue info
drivers/net/hns3/hns3_ethdev.c| 11 +
drivers/net/hns3/hns3_ethdev_vf.c | 11
From: "Wei Hu (Xavier)"
This patch adds checking whether the related Tx or Rx queue has been
setuped in the rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get
API function to avoid illegal address access.
Signed-off-by: Wei Hu (Xavier)
---
lib/librte_ethdev/rte_eth
From: "Wei Hu (Xavier)"
Currently, if there are not available Rx buffer descriptors in receiving
direction based on hns3 network engine, incoming packets will always be
dropped by hardware. This patch reports the '.rx_drop_en' information to
DPDK framework in the '.dev_i
From: Huisong Li
This patch adds support for querying Rx/Tx queue information.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
v3 -> v4:
remove unused variable ‘hw’ in hns3_rxq_info_get
and hns3_rxq_info_get function.
---
drivers/net/hns3/hns3_ethdev.c|
From: "Wei Hu (Xavier)"
This patch adds getting PF/VF device specifications from firmware.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Hongbo Zheng
---
drivers/net/hns3/hns3_cmd.h | 15
drivers/net/hns3/hns3_dcb.c | 1 -
drivers/net/hns3/hns3_dcb.h
From: "Wei Hu (Xavier)"
This patch adds getting device capabilities from firmware, so driver can
supply differnet cpabilities and specifications to upper level
applications base on differnet versions of hardware network engine.
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/
This series are features and fixes for hns3 PMD driver.
Huisong Li (3):
net/hns3: replace private macro with RTE MAX
net/hns3: fix default MAC addr from firmware
net/hns3: fix some incomplete command structures
Wei Hu (Xavier) (8):
net/hns3: get device capability from firmware
net/hns3
From: "Wei Hu (Xavier)"
There are difference about queue's interrupt configurations for different
versions of hardware network engine, such as queue's interrupt mapping
mode, coalesce configuration, etc.
The following uses the configuration differences of the interrup
From: "Wei Hu (Xavier)"
The new firmware adds the hardware error types reported by MSI-x mode.
These errors are defined as RAS errors in hardware and belong to a
different type from the MSI-x errors processed by the driver.
When hardware detects an hardware errors, which need to be ha
From: Huisong Li
This patch uses RTE_MAX function in DPDK lib to replace the private
macro named max_t in hns3 PMD driver.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 5 ++---
drivers/net/hns3/hns3_ethdev.h | 5 -
2 files changed, 2
From: "Wei Hu (Xavier)"
There are differece about padding ultra-short frame in Tx procession for
different versions of hardware network engine.
If packet length is less than minimum packet length supported by hardware
in Tx direction, driver need to pad it to avoid error. The mini
From: "Wei Hu (Xavier)"
The FDIR counter was used to count the number of FDIR hit, the maximum
number of the counter is 128 based on kunpeng 920, and it was 256 based
on kunpeng 930.
The firmware is responsible to allocate counters for diffent PF devices,
so the available counter num
that are less than
24 byte. So this patch fixes these incomplete command structures.
Fixes: 62e3ccc2b94c6 ("net/hns3: support flow control")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_dcb.h | 12 +++-
1 file c
From: "Wei Hu (Xavier)"
According to rte_eth_rx_queue_setup and rte_eth_tx_queue_setup API
function, rx_queue_offload_capa and rx_offload_capa, tx_queue_offload_capa
and tx_offload_capa must be mutually exclusive in the '.dev_infos_get' ops
implementation
From: "Wei Hu (Xavier)"
This patch changes the log level from NOTICE to INFO.
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethd
ssing default MAC
addr in hns3 VF PMD driver so as to increase relevance and readability of
the code.
Fixes: eab21776717 ("net/hns3: support setting VF MAC address by PF driver")
Fixes: d51867db65c ("net/hns3: add initialization")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Sign
On 2020/8/26 15:12, Chengchang Tang wrote:
Report hns3 PMD configured Rx buffer size in Rx queue information query.
Signed-off-by: Chengchang Tang
Reviewed-by: Wei Hu (Xavier)
---
v1 -> v2: fix some spelling mistake.
---
drivers/net/hns3/hns3_rxtx.c | 2 ++
1 file changed, 2 inserti
On 2020/8/26 15:12, Chengchang Tang wrote:
Add Rx buffer size to queue info querry cmd so that the user can get the
buffer length used by HW queue for receiving packets.
Signed-off-by: Chengchang Tang
Reviewed-by: Wei Hu (Xavier)
---
v1 -> v2: fix some spelling mistake
---
app/test-
: Andrew Rybchenko
Reviewed-by: Wei Hu (Xavier)
---
v1 -> v2: fix wrong headline format
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index 70295d7..9fed5cb 100644
--- a/lib/librte_eth
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, all
Are there any comments?
Thanks
Xavier
On 2020/8/25 19:52, Wei Hu (Xavier) wrote:
This series are features and fixes for hns3 PMD driver.
Huisong Li (3):
net/hns3: replace private macro with RTE MAX
net/hns3: fix default MAC addr from firmware
net/hns3: fix some
Hi, all
Are there any other comments?
Thanks
Xavier
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
Hi, all
Are there any comment?
Thanks
Xavier
On 2020/8/20 9:42, Wei Hu (Xavier) wrote:
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
On 2020/9/7 9:46, wangyunjian wrote:
From: Yunjian Wang
This patch fixes (out-of-bounds access) coverity issue.
Coverity issue: 349932
Fixes: 7d7f9f80bbfb ("net/hns3: support MAC address related operations")
Cc: sta...@dpdk.org
Signed-off-by: Yunjian Wang
Reviewed-by: Wei
From: "Wei Hu (Xavier)"
This patch adds the internal function named hns3_write_reg_opt to avoid
performance loss from address calculation during register access in the
'.rx_pkt_burst' ops implementation function named hns3_recv_pkts.
In addition, because hardware alway
From: "Wei Hu (Xavier)"
This patch adds NEON vector instructions to optimize Tx burst process.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
config/common_base| 1 +
config/common_linux | 1 +
d
This series are updates for Rx/Tx process.
Chengchang Tang (1):
net/hns3: fix segfault when Tx multiple buffer packets
Wei Hu (Xavier) (7):
net/hns3: report Rx free threshold
net/hns3: reduce address calculation in Rx
net/hns3: add simple Rx process function
net/hns3: add simple Tx
From: "Wei Hu (Xavier)"
This patch reports .rx_free_thresh value in the .dev_infos_get ops
implementation function named hns3_dev_infos_get and hns3vf_dev_infos_get.
In addition, the name of the member variable of struct hns3_rx_queue is
modified and comments are added to im
From: "Wei Hu (Xavier)"
This patch adds simple Rx process function and support chose Rx function
by real Rx offloads capability.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 7 +-
driver
From: "Wei Hu (Xavier)"
This patch adds NEON vector instructions to optimize Rx burst process.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 1 +
drivers/net/hns3/hns3_ethdev.h| 1 +
d
From: "Wei Hu (Xavier)"
This patch adds simple Tx process function. When multiple segment packets
are not needed, Which means that DEV_TX_OFFLOAD_MBUF_FAST_FREE offload is
not set, we can simple Tx process.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Che
med hns3_reassemble_tx_pkts is optimized to avoid a
similar problem.
Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
drivers/net/hns3/hns
From: "Wei Hu (Xavier)"
when Rx of scattered packets is off, we have some possibility of using
vector Rx process function or simple Rx functions in hns3 PMD driver.
If the input MTU is increased and the maximum length of received packets
is greater than the length of a buffer for Rx pa
Hi,Ferruh Yigit
On 2020/9/4 18:34, Ferruh Yigit wrote:
On 8/25/2020 12:53 PM, Wei Hu (Xavier) wrote:
From: "Wei Hu (Xavier)"
This patch changes the log level from NOTICE to INFO.
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 4 ++--
1 file changed, 2
Hi, Ferruh Yigit
On 2020/9/7 20:10, Ferruh Yigit wrote:
On 9/7/2020 12:34 PM, Wei Hu (Xavier) wrote:
Hi,Ferruh Yigit
On 2020/9/4 18:34, Ferruh Yigit wrote:
On 8/25/2020 12:53 PM, Wei Hu (Xavier) wrote:
From: "Wei Hu (Xavier)"
This patch changes the log level from NOTICE to INF
PMD driver cannot test the flow table feature when multiple TCs are
enabled.
Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/testpmd.c | 1 +
1 file changed,
This series are minor updates for testpmd application.
Huisong Li (2):
app/testpmd: update Rx RSS HASH offload when setting MQ RSS
app/testpmd: retain original FDIR mode when configuring DCB
app/test-pmd/testpmd.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
--
2.9.5
rivers.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/testpmd.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 7842c3b..73543bb 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/te
Hi, Ferruh Yigit
On 2020/9/4 18:34, Ferruh Yigit wrote:
On 8/25/2020 12:53 PM, Wei Hu (Xavier) wrote:
From: "Wei Hu (Xavier)"
According to rte_eth_rx_queue_setup and rte_eth_tx_queue_setup API
function, rx_queue_offload_capa and rx_offload_capa, tx_queue_offload_capa
and tx_offload
From: "Wei Hu (Xavier)"
Currently, offload capabilities are only enabled for all Rx/Tx queues
in hns3 PF/VF PMD driver, and offload capability only applied in a Rx/Tx
queue is not supported. So this patch moves 'DEV_TX_OFFLOAD_MBUF_FAST_FREE'
from tx_queue_offload_capa to tx_
This series are updates for Rx/Tx process.
Chengchang Tang (1):
net/hns3: fix segfault when Tx multiple buffer packets
Wei Hu (Xavier) (7):
net/hns3: report Rx free threshold
net/hns3: reduce address calculation in Rx
net/hns3: add simple Rx process function
net/hns3: add simple Tx
From: "Wei Hu (Xavier)"
This patch reports .rx_free_thresh value in the .dev_infos_get ops
implementation function named hns3_dev_infos_get and hns3vf_dev_infos_get.
In addition, the name of the member variable of struct hns3_rx_queue is
modified and comments are added to im
From: "Wei Hu (Xavier)"
This patch adds simple Rx process function and support chose Rx function
by real Rx offloads capability.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 7 +-
driver
From: "Wei Hu (Xavier)"
This patch adds the internal function named hns3_write_reg_opt to avoid
performance loss from address calculation during register access in the
'.rx_pkt_burst' ops implementation function named hns3_recv_pkts.
In addition, because hardware alway
From: "Wei Hu (Xavier)"
This patch adds NEON vector instructions to optimize Rx burst process.
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 1 +
drivers/net/hns3/hns3_ethdev.h| 1 +
d
From: "Wei Hu (Xavier)"
This patch adds simple Tx process function. When multiple segment packets
are not needed, Which means that DEV_TX_OFFLOAD_MBUF_FAST_FREE offload is
not set, we can simple Tx process.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Che
From: "Wei Hu (Xavier)"
This patch adds NEON vector instructions to optimize Tx burst process.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
v1 -> v2: modification about meson.build for hns3_rxtx_vec.c file.
---
drivers/net/hns3/
med hns3_reassemble_tx_pkts is optimized to avoid a
similar problem.
Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
drivers/net/hns3/hns
From: "Wei Hu (Xavier)"
when Rx of scattered packets is off, we have some possibility of using
vector Rx process function or simple Rx functions in hns3 PMD driver.
If the input MTU is increased and the maximum length of received packets
is greater than the length of a buffer for Rx pa
Hi, all
Are there any other comments?
Thanks
Xavier
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
Hi, Ferruh Yigit
On 2020/9/15 0:31, Ferruh Yigit wrote:
On 8/20/2020 2:42 AM, Wei Hu (Xavier) wrote:
From: Huisong Li
Currently, the information of Rx/Tx queues from PMD driver is not displayed
exactly in the rxtx_config_display function. Because "ports[pid].rx_conf"
and "por
.
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)
---
v1 -> v
.@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
app/test-pmd/config.c | 42 ++
1 file changed, 38 insertions(+), 4 deletions(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 4e33208..882de2d 100644
--- a/ap
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 +++
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
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)
---
app/test-pmd/config.c | 53 +-
: 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: 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 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)
---
drivers/net/hns3/hns3_ethdev.c | 95 +++---
1 file changed, 43
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
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
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
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)"
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
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
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
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)
---
drivers/net/hns3/hns3_cmd.c| 5 +-
drivers/net/hns3/hns3_cmd.h| 2 +-
drivers/net/hns3/hns3_ethdev.h | 8 +--
drivers/net/hns3/hns3_fdir.c | 35 +++-
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
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..4f078e8
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
501 - 583 of 583 matches
Mail list logo