to set vlan based on
VF device, hns3 VF PMD driver will can't receive the packets with vlan
tag in promiscuoue mode.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev_vf.c | 117 --
drivers/net/hns3/hns3_mbx.c
value issued by hns3 VF PMD driver must be less than or
equal to PF's MTU.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev_vf.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev_vf
gment offload
Wei Hu (Xavier) (1):
net/hns3: fix wrong Tx interrupt when enabling Rx interrupt
doc/guides/nics/features/hns3.ini| 1 +
doc/guides/nics/features/hns3_vf.ini | 1 +
doc/guides/nics/hns3.rst | 1 +
drivers/net/hns3/hns3_cmd.h | 31 ++-
drivers/net
;)
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 41 ++
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index
From: Hongbo Zheng
This patch adds TCP segment offload support for hns3 PMD driver.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
doc/guides/nics/features/hns3.ini| 1 +
doc/guides/nics/features/hns3_vf.ini | 1 +
doc/guides/nics/hns3.rst | 1 +
drivers
gment offload
Wei Hu (Xavier) (1):
net/hns3: fix wrong Tx interrupt when enabling Rx interrupt
doc/guides/nics/features/hns3.ini| 1 +
doc/guides/nics/features/hns3_vf.ini | 3 +
doc/guides/nics/hns3.rst | 1 +
drivers/net/hns3/hns3_cmd.h | 31 ++-
drivers/net
From: Hongbo Zheng
This patch adds TCP segment offload support for hns3 PMD driver.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
doc/guides/nics/features/hns3.ini| 1 +
doc/guides/nics/features/hns3_vf.ini | 1 +
doc/guides/nics/hns3.rst | 1 +
drivers
From: "Wei Hu (Xavier)"
Currently, when receiving and transmitting packets based on hns3 network
engine there are probably unexpected and redundant Tx interrupts if Rx
interrupt is enabled.
The root cause as below:
Tx and Rx queues with the same number share the interrupt vector in hn
value issued by hns3 VF PMD driver must be less than or
equal to PF's MTU.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev_vf.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev_vf
to set vlan based on
VF device, hns3 VF PMD driver will can't receive the packets with vlan
tag in promiscuoue mode.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
v1 -> v2:
Add Promiscuous and Allmulticast mode to hns3_vf.ini.
---
doc/guides/nic
;)
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 41 ++
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index
Are there any comments on this series?
Thanks.
Xavier
On 2020/2/25 17:29, Wei Hu (Xavier) wrote:
This series include two fixes patches for bonding PMD driver.
Wei Hu (Xavier) (2):
net/bonding: fix MAC address when switching active port
net/bonding: fix MAC address when one port resets
From: Chengchang Tang
This patch modifies the name of some macro and local variable to avoid
devil number and increase code readability in the internal interface
function named hns3_set_port_vlan_filter.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3
mmand interface
net/hns3: fix crash when flushing RSS flow rules with FLR
Min Hu (Connor) (1):
net/hns3: fix configuring illeagl VLAN pvid
Wei Hu (Xavier) (1):
net/hns3: fix abnormal status after reset occurs repeatedly
drivers/net/hns3/hns3_cmd.c | 24 +++
drivers/net
("net/hns3: support command interface with firmware")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.c | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/drivers/net/hns3/hns3_cmd.
s implementation
function named hns3_flow_flush.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_flow.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/ne
support Rx/Tx and related operations")
Fixes: ad7cf94823e8 ("net/hns3: fix offload flag for RSS hash")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rxtx.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
dif
rte layer of DPDK
framework.
Signed-off-by: Chengchang Tang
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c| 13 -
drivers/net/hns3/hns3_ethdev_vf.c | 12
2 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c
From: "Wei Hu (Xavier)"
Currently, when performing the following test case:
1. Run testpmd application based on hns3 PF device.
2. Inject reset(global/IMP reset) repeatedly.
After the reset, the network port can't link up.
In the RESET_STAGE_DEV_INIT stage of the reset process,
From: "Min Hu (Connor)"
The VLAN pvid ranges from 0 to 4095. The hns3 PMD driver does not support
this situation that the VLAN pvid is larger than Maximum VLAN ID(4095).
Fixes: 411d23b9eafb ("net/hns3: support VLAN")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
S
rn -EINVAL.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c| 1 +
drivers/net/hns3/hns3_ethdev.h| 1 +
drivers/net/hns3/hns3_ethdev_vf.c | 1 +
drivers/net/hns3/hns3_flo
s redirection table to hardware.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_dcb.c | 15 +++
drivers/net/hns3/hns3_ethdev.c| 8 +++
ration and return -EIO during resetting.
2. Add the return value dectection process for calling internal static
function named hns3vf_en_hw_strip_rxvtag.
Fixes: a5475d61fa34 ("net/hns3: support VF")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Wei Hu (Xavier)
-
This series are fixes for hns3 PMD driver.
Chengwen Feng (1):
net/hns3: fix the return value of setting VLAN offload
Lijun Ou (2):
net/hns3: fix RSS indirection table configuration
net/hns3: fix configuring RSS hash when rules are flushed
Min Hu (Connor) (1):
net/hns3: fix mailbox opcode
("net/hns3: support mailbox")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chengwen Feng
---
drivers/net/hns3/hns3_mbx.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hns3/hns3_mbx.
Are there any comments on this series?
Thanks.
Xavier
On 2020/2/25 17:29, Wei Hu (Xavier) wrote:
This series include two fixes patches for bonding PMD driver.
Wei Hu (Xavier) (2):
net/bonding: fix MAC address when switching active port
net/bonding: fix MAC address when one port resets
s3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rss.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c
index 6a5d63398..b8c20e6d9 100644
--
From: "Wei Hu (Xavier)"
This series add some fixes for hns3 PMD driver.
Chengchang Tang (1):
net/hns3: fix the error length limit of maiblox response
Hao Chen (1):
net/hns3: fix RSS hardware configuration restore failure
Huisong Li (1):
net/hns3: fix the strategy of getting l
From: "Wei Hu (Xavier)"
When the application using VF device exits abnormally, for example,
when it is killed by 'kill -9', kernel PF netdev driver also stores
the corresponding configuration table entries of VF device.
This patch fixes it by adding message of deleting VF
("net/hns3: support VLAN")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index 3435bce26..72
From: "Wei Hu (Xavier)"
This series add some fixes for hns3 PMD driver.
Chengchang Tang (1):
net/hns3: fix the error length limit of maiblox response
Hao Chen (1):
net/hns3: fix RSS hardware configuration restore failure
Huisong Li (1):
net/hns3: fix the strategy of getting l
the alarm that VF driver send mailbox message to PF driver,
when the rte_eth_dev_stop API is called. And VF driver should restore
the alarm when the rte_eth_dev_start API is called.
Fixes: a5475d61fa34 ("net/hns3: support VF")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-of
From: "Wei Hu (Xavier)"
When the application using VF device exits abnormally, for example,
when it is killed by 'kill -9', kernel PF netdev driver also stores
the corresponding configuration table entries of VF device.
This patch fixes it by adding message of deleting VF
s3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rss.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c
index 6a5d63398..b8c20e6d9 100644
--
From: "Wei Hu (Xavier)"
Ethernet minimum packet length is 64 bytes. If upper application
sends packets with less than 60 bytes in length(no CRC), driver
adds padding processing to avoid failure.
Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
Cc: sta
tch modify the length of response data from mailbox to allows the
response data length to be 8. So that the VF driver could get more data
from PF drvier by mailbox.
Fixes: 463e748964f5 ("net/hns3: support mailbox")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-of
From: "Wei Hu (Xavier)"
In .tx_pkt_burst ops implementation function of hns3 PMD driver,
there is one check whether there are enough BDs in the TX queue.
If not, driver will stop sending the packets.
Currently in the 'for' process loop, the next_to_use member of
TX queue is
From: "Wei Hu (Xavier)"
This series are updates for hns3 ethernet PMD driver.
Hao Chen (4):
net/hns3: support Rx interrupt
net/hns3: optimize RSS's default algorithm
net/hns3: remove the redundant function call
net/hns3: remove the unused macros
Hongbo Zheng (1):
net
From: "Wei Hu (Xavier)"
This series are updates for hns3 ethernet PMD driver.
Hao Chen (4):
net/hns3: support Rx interrupt
net/hns3: optimize RSS's default algorithm
net/hns3: remove the redundant function call
net/hns3: remove the unused macros
Hongbo Zheng (1):
net
From: Hao Chen
This patch supports of receive packets through interrupt mode for hns3
PF/VF driver. The following ops functions should be implemented defined
in struct eth_dev_ops:
rx_queue_intr_enable
rx_queue_intr_disable
rx_queue_count
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier
From: Hongbo Zheng
When link down occurs, firmware adds the function of sending message
to PF driver through mailbox, hns3 PMD driver can recognize link state
change faster through the message.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 8
rough mailbox
Huisong Li (1):
net/hns3: modify custom macro
Wei Hu (Xavier) (3):
net/hns3: modify the return value of enable msix
net/hns3: remove the redundant variable initialization
net/hns3: remove the unnecessary assignment
doc/guides/nics/features/hns3.ini| 1 +
doc/guides/nics/fea
From: Huisong Li
This patch replaces custom macro named HNS3_MIN_FRAME_LEN for ethernet
minimum frame length with the macro named RTE_ETHER_MIN_LEN that defined
in dpdk framework.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 2 +-
drivers/net
From: Hao Chen
This patch changed the default algorithm of RSS from simle_xor to
toeplitz because toeplitz is used more frequently by upper applications
such as ceph.
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rss.c | 14 +++---
1 file changed
From: "Wei Hu (Xavier)"
This patch replaces the return value "-1" with "-ENXIO".
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev_vf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_ethdev_vf.c
b/dri
.
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev_vf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_ethdev_vf.c
b/drivers/net/hns3/hns3_ethdev_vf.c
index 781374c82..46d3efad0 100644
--- a/drivers/net/hns3/hns3_ethdev_vf.c
+++ b
From: Hao Chen
This patch supports of receive packets through interrupt mode for hns3
PF/VF driver. The following ops functions should be implemented defined
in struct eth_dev_ops:
rx_queue_intr_enable
rx_queue_intr_disable
rx_queue_count
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier
From: "Wei Hu (Xavier)"
This patch removes the redundant initialization of the variable
named ret.
Signed-off-by: Hongbo Zheng
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c| 10 +-
drivers/net/hns3/hns3_ethdev_vf.c | 2 +
From: Hongbo Zheng
When link down occurs, firmware adds the function of sending message
to PF driver through mailbox, hns3 PMD driver can recognize link state
change faster through the message.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_ethdev.c | 8
From: "Wei Hu (Xavier)"
This patch removes the unncessary assignment in hns3_xmit_pkts function
to avoid performance loss.
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rxtx.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/hns3/hns3_rxtx.c b/driver
From: Hao Chen
This patch removed some unused macros defined in hns3_rss.h,
these macros are used to set tuples for abandoned RTE_ETH_FILTER_HASH
in hns3_dev_filter_ctrl().
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rss.h | 10 --
1 file changed
Hi, Ferruh Yigit
On 2019/10/15 16:45, Ferruh Yigit wrote:
> On 10/9/2019 3:16 PM, Wei Hu (Xavier) wrote:
>> From: Hao Chen
>>
>> In receiving direction, for FCS error messages, drivers no longer
>> record them in rte_eth_stats.ipackets statistics.
> If this patch
Hi, Ferruh Yigit
On 2019/10/15 16:46, Ferruh Yigit wrote:
> On 10/9/2019 3:16 PM, Wei Hu (Xavier) wrote:
>> This series adds some updates for hns3 ethernet pmd driver.
>>
>> The No.1 patch modifies the statistics information for sending
>> and receiving packets.
&g
Hi, Ferruh Yigit
On 2019/10/15 16:45, Ferruh Yigit wrote:
> On 10/9/2019 3:16 PM, Wei Hu (Xavier) wrote:
>> From: humin
>>
>> This patch adds commands and modifies descriptor structures for
>> accessing manage table and mac table.
>>
>> Signed-off-by:
This patch adds PKT_RX_RSS_HASH flag to rx packet's ol_flags
to repair the bug that hns3 pmd driver doesn't set
PKT_RX_RSS_HASH flag. In hns3 network engine RSS is always
enabled.
Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
Signed-off-by: Hao Chen
-EBADE to -ETIME.
Fixes: 737f30e1c3ab ("net/hns3: support command interface with firmware")
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_cmd.c b/driver
0, drivers should not notify the network card hardware to
send them, should not continue to send the remaining message in burst,
and record them in rte_eth_stats.opackets statistics.
Fixes: 8839c5e202f3 ("net/hns3: support device stats")
Signed-off-by: Hao Chen
Signed-off-by: Wei
evice reset")
Signed-off-by: Chunsong Feng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.c | 15 -
drivers/net/hns3/hns3_ethdev.c| 5 ++
drivers/net/hns3/hns3_ethdev_vf.c | 135 --
drivers/net/hns3/hns3_intr.c | 5 +
2b2...@intel.com
https://inbox.dpdk.org/dev/b4a32414-b941-c820-1706-f8ad41175...@intel.com
Chunsong Feng (1):
net/hns3: fix FLR reset failure
Hao Chen (1):
net/hns3: fix the statistics problems about Tx/Rx functions
Hongbo Zheng (1):
net/hns3: fix the return value when firmware timeout
On 2019/10/25 23:07, Ferruh Yigit wrote:
> On 10/25/2019 1:37 PM, Wei Hu (Xavier) wrote:
>> This series adds some fixes for hns3 ethernet pmd driver.
>>
>> v1 -> v2:
>> 1. Address some comments from Ferruh Yigit as belows:
>>
>> https://
Hi, Ferruh Yigit
Can this series of fixes be added to dpdk version 19.11?
Thanks.
Regards
Xavier
On 2019/10/26 9:03, Wei Hu (Xavier) wrote:
>
> On 2019/10/25 23:07, Ferruh Yigit wrote:
>> On 10/25/2019 1:37 PM, Wei Hu (Xavier) wrote:
>>> This series add
This series adds some updates for hns3 ethernet pmd driver.
The No.1 patch modifies the statistics information for sending
and receiving packets.
The No.2 patch changes the return value of firmware processing
timeout from -EBADE to -ETIME.
The No.3 patch adds commands between driver and firmware.
send the remaining message in burst,
and will not record them in rte_eth_stats.opackets statistics.
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_rxtx.c | 11 ++---
drivers/net/hns3/hns3_rxtx.h | 3 --
drivers/net/hns3/hns3_stats.c | 84
-EBADE to -ETIME.
Signed-off-by: Hongbo Zheng
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_cmd.c b/drivers/net/hns3/hns3_cmd.c
index 3eebfdd42..58776c2ec 100644
--- a/drivers/net/hns3
From: humin
This patch adds commands and modifies descriptor structures for
accessing manage table and mac table.
Signed-off-by: humin
Signed-off-by: Wei Hu (Xavier)
---
drivers/net/hns3/hns3_cmd.h | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/hns3
From: Chunsong Feng
PF FLR resets the PCIe ECAM space of all VFs under the PF and does not
automatically recover. Therefore, the VF driver needs to restore the ECAM
configuration, including bus_master_en, msix_enable.
Signed-off-by: Chunsong Feng
Signed-off-by: Wei Hu (Xavier)
---
drivers
checking based on dpdk repo.
Thanks.
Regards
Xavier
On 2019/10/9 22:16, Wei Hu (Xavier) wrote:
> This series adds some updates for hns3 ethernet pmd driver.
>
> The No.1 patch modifies the statistics information for sending
> and receiving packets.
> The No.2 patch changes t
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
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 I
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-o
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 Subsyst
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(Hisilicon
Network Subsystem 3) network engine.
Wei Hu (Xavier) (22):
net/hns3: add hardware registers
This patch adds some data structure definitions, macro definitions and
inline functions for hns3 PMD drivers.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.h | 609
The Hisilicon Network Subsytem is a long term evolution IP which is
supposed to be used in Hisilicon ICT SoCs such as Kunpeng 920.
This patch adds hardware definition header file for hns3(Hisilicon
Network Subsystem 3) PMD driver.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
This patch registers hns3 PMD driver and adds the definition for log
interfaces.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c | 141
This patch adds support for cmd of hns3 PMD driver, driver can interact
with firmware through command to complete hardware configuration.
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Huisong Li
---
drivers
This patch adds link update operation to hns3 PMD driver.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c | 199 +
1 file
This patch adds the following operations defined in struct eth_dev_ops:
mtu_set, infos_get and fw_version_get for hns3 PMD driver.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net
This patch adds support for mailbox of hns3 PMD driver, mailbox is
used for communication between PF and VF driver.
Signed-off-by: Min Hu (Connor)
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_cmd.c
This patch adds the following mac address related operations defined in
struct eth_dev_ops: mac_addr_add, mac_addr_remove, mac_addr_set
and set_mc_addr_list.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by
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-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c | 670
This patch adds get_reg related function codes for hns3 PMD driver.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 1 +
drivers/net/hns3/hns3_ethdev_vf.c
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
mode hns3 ethdev driver, VF is not supported when PF devcie is taken over
by DPDK.
Signed-off-by: Wei
This patch adds dev_start, dev_stop, dev_configure, promiscuous_enable,
promiscuous_disable, allmulticast_enable, allmulticast_disable,
dev_infos_get related function codes.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
ensure that app startup state is the same each time.
Signed-off-by: Huisong Li
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
---
drivers/net/hns3/hns3_dcb.c| 1647
drivers/net
This patch adds abnormal interrupt process for hns3 PMD driver,
the interrupt reported by NIC hardware.
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 135
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-off-by: Hao Chen
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Huisong Li
destroy or .flush ops callback function.
3) Check the effectiveness of the RSS's configuration by .validate ops
callback function.
Signed-off-by: Hao Chen
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Huisong Li
---
drivers/net/
This patch adds queue related operation, package sending and
receiving function codes.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Wang (Jushui)
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3
This patch adds the initialization of hns3 PF PMD driver.
It gets configuration from IMP such as queue information,
configures queue, inits mac, inits manage table, disables
gro etc.
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Chunsong Feng
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao
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: Huisong Li
---
MAINTAINERS | 7
config/common_armv8a_linux
This patch adds support for flow directory of hns3 PMD driver.
Flow directory feature is only supported in hns3 PF driver.
It supports the network L2\L3\L4 and tunnel packet creation,
deletion, flushing, and querying hit statistics.
Signed-off-by: Chunsong Feng
Signed-off-by: Wei Hu (Xavier
start
or stop tranceiver.
Signed-off-by: Chunsong Feng
Signed-off-by: Min Wang (Jushui)
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_ethdev.c| 36 ++-
drivers/net/hns3/hns3_ethdev_vf.c
Signed-off-by: Chunsong Feng
Signed-off-by: Wei Hu (Xavier)
Signed-off-by: Min Hu (Connor)
Signed-off-by: Hao Chen
Signed-off-by: Huisong Li
---
drivers/net/hns3/hns3_cmd.c | 31 ++
drivers/net/hns3/hns3_ethdev.c| 625 +-
drivers/net/hns3
Hi, Jerin
On 2019/8/23 22:08, Jerin Jacob Kollanukkaran wrote:
>> -Original Message-
>> From: dev On Behalf Of Wei Hu (Xavier)
>> Sent: Friday, August 23, 2019 7:17 PM
>> To: dev@dpdk.org
>> Cc: linux...@huawei.com; xavier_hu...@163.com;
>> li
On 2019/8/30 11:22, Wei Hu (Xavier) wrote:
> Hi, Jerin
>
>
> On 2019/8/23 22:08, Jerin Jacob Kollanukkaran wrote:
>>> -Original Message-
>>> From: dev On Behalf Of Wei Hu (Xavier)
>>> Sent: Friday, August 23, 2019 7:17 PM
>>> To: dev
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 i
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_ethde
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
>>
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
>>
201 - 300 of 583 matches
Mail list logo