Re: [dpdk-dev] [PATCH V5] app/test-pmd: support cleanup txq mbufs command

2021-04-21 Thread oulijun
在 2021/4/21 16:15, Ferruh Yigit 写道: On 4/21/2021 9:09 AM, Lijun Ou wrote: From: Chengwen Feng This patch supports cleanup txq mbufs command: port cleanup (port_id) txq (queue_id) (free_cnt) Signed-off-by: Chengwen Feng Signed-off-by: Lijun Ou --- V4->V5: - rewrite patch title - define th

Re: [dpdk-dev] [PATCH V4] app/testpmd: support Tx mbuf free on demand cmd

2021-04-20 Thread oulijun
在 2021/4/19 23:28, Ferruh Yigit 写道: On 4/19/2021 1:36 PM, Lijun Ou wrote: From: Chengwen Feng This patch support tx_done_cleanup command: tx_done_cleanup port (port_id) (queue_id) (free_cnt) Instead of creating a new root level, 'tx_done_cleanup' command, what do you think to use existi

Re: [dpdk-dev] [PATCH V3] app/testpmd: support Tx mbuf free on demand cmd

2021-04-19 Thread oulijun
在 2021/4/19 11:11, Li, Xiaoyun 写道: Hi -Original Message- From: Lijun Ou Sent: Monday, April 12, 2021 21:13 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH V3] app/testpmd: support Tx mbuf free on demand cmd From: Chengwen Feng This patch

Re: [dpdk-dev] [PATCH V6] ethdev: add queue state when retrieve queue information

2021-04-19 Thread oulijun
在 2021/4/19 16:41, Thomas Monjalon 写道: 19/04/2021 04:03, Lijun Ou: --- a/doc/guides/rel_notes/release_21_05.rst +++ b/doc/guides/rel_notes/release_21_05.rst +* **Enhanced function for getting rxq/txq info ABI.** Reword: Added queue state in queried Rx/Tx queue info + * Added new field ``

Re: [dpdk-dev] [PATCH V5] ethdev: add queue state when retrieve queue information

2021-04-18 Thread oulijun
在 2021/4/18 6:00, Ferruh Yigit 写道: On 4/17/2021 4:09 AM, Lijun Ou wrote: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_et

Re: [dpdk-dev] [PATCH V5] ethdev: add queue state when retrieve queue information

2021-04-18 Thread oulijun
在 2021/4/18 6:00, Ferruh Yigit 写道: On 4/17/2021 4:09 AM, Lijun Ou wrote: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_et

Re: [dpdk-dev] [PATCH V4] ethdev: add queue state when retrieve queue information

2021-04-16 Thread oulijun
在 2021/4/16 16:58, Thomas Monjalon 写道: 16/04/2021 10:46, Lijun Ou: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_eth_rx_q

Re: [dpdk-dev] [Linuxarm] Re: [PATCH V3] ethdev: add queue state when retrieve queue information

2021-04-15 Thread oulijun
在 2021/4/15 20:45, Ferruh Yigit 写道: On 4/15/2021 1:36 PM, Thomas Monjalon wrote: 15/04/2021 14:33, Ferruh Yigit: On 4/15/2021 3:40 AM, Lijun Ou wrote: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-04-12 Thread oulijun
在 2021/4/12 18:35, Ferruh Yigit 写道: On 3/5/2021 10:22 AM, Lijun Ou wrote: From: Huisong Li The "fwd_config_setup()" function does release and apply for memory of forwarding flows, and re-establish these streams when rxq/txq or rxd/txd is changed. The function is also called by "start_packet

Re: [dpdk-dev] [Linuxarm] Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-04-12 Thread oulijun
在 2021/4/12 15:52, Ferruh Yigit 写道: On 4/10/2021 3:58 AM, oulijun wrote: 在 2021/4/10 8:56, Ferruh Yigit 写道: On 3/25/2021 2:21 AM, Li, Xiaoyun wrote: -Original Message- From: oulijun Sent: Wednesday, March 24, 2021 21:40 To: linux...@openeuler.org; Li, Xiaoyun ; dev Subject

Re: [dpdk-dev] [Linuxarm] Re: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-04-09 Thread oulijun
在 2021/4/9 15:08, Li, Xiaoyun 写道: -Original Message- From: oulijun Sent: Friday, April 9, 2021 14:10 To: linux...@openeuler.org; dev ; Li, Xiaoyun Subject: Re: [Linuxarm] Re: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx 在 2021/4/2 10:33, Li, Xiaoyun

Re: [dpdk-dev] [Linuxarm] Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-04-09 Thread oulijun
在 2021/4/10 8:56, Ferruh Yigit 写道: On 3/25/2021 2:21 AM, Li, Xiaoyun wrote: -Original Message- From: oulijun Sent: Wednesday, March 24, 2021 21:40 To: linux...@openeuler.org; Li, Xiaoyun ; dev Subject: Re: [Linuxarm] Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-04-09 Thread oulijun
在 2021/4/10 9:12, Ferruh Yigit 写道: On 3/23/2021 2:17 PM, oulijun wrote: 在 2021/3/23 16:55, Li, Xiaoyun 写道: Hi -Original Message- From: Lijun Ou Sent: Friday, March 5, 2021 18:22 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH 1/3] app

Re: [dpdk-dev] [Linuxarm] Re: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-04-08 Thread oulijun
在 2021/4/2 10:33, Li, Xiaoyun 写道: -Original Message- From: oulijun Sent: Friday, April 2, 2021 09:45 To: Li, Xiaoyun ; Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: Re: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx 在 2021/3/29 9:53

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-04-07 Thread oulijun
在 2021/4/7 10:19, Honnappa Nagarahalli 写道: 在 2021/3/25 22:40, Thomas Monjalon 写道: 25/03/2021 14:26, oulijun: 在 2021/3/25 20:19, Thomas Monjalon 写道: 25/03/2021 12:17, oulijun: Ruifeng has reviewed-by. Does anyone else have any comments? Is it necessary to send the V2? v2 for what

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-04-05 Thread oulijun
在 2021/4/6 3:50, Honnappa Nagarahalli 写道: 在 2021/3/25 22:40, Thomas Monjalon 写道: 25/03/2021 14:26, oulijun: 在 2021/3/25 20:19, Thomas Monjalon 写道: 25/03/2021 12:17, oulijun: Ruifeng has reviewed-by. Does anyone else have any comments? Is it necessary to send the V2? v2 for what

Re: [dpdk-dev] [PATCH V2] ethdev: add queue state when retrieve queue information

2021-04-05 Thread oulijun
Hi, all, any comments for this patch? Hope for your reply. Thanks 在 2021/3/25 19:09, Lijun Ou 写道: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add g

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-04-01 Thread oulijun
在 2021/3/29 9:53, Li, Xiaoyun 写道: -Original Message- From: oulijun Sent: Thursday, March 25, 2021 11:04 To: Li, Xiaoyun ; Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: Re: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx 在 2021/3/24 9

Re: [dpdk-dev] [Linuxarm] Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-03-26 Thread oulijun
在 2021/3/25 10:21, Li, Xiaoyun 写道: -Original Message- From: oulijun Sent: Wednesday, March 24, 2021 21:40 To: linux...@openeuler.org; Li, Xiaoyun ; dev Subject: Re: [Linuxarm] Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test 在 2021/3/24 10:03, Li

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-03-25 Thread oulijun
在 2021/3/25 22:40, Thomas Monjalon 写道: 25/03/2021 14:26, oulijun: 在 2021/3/25 20:19, Thomas Monjalon 写道: 25/03/2021 12:17, oulijun: Ruifeng has reviewed-by. Does anyone else have any comments? Is it necessary to send the V2? v2 for what? There is a change? No. no change. So why are

Re: [dpdk-dev] [Linuxarm] [PATCH V2 0/4] add Hisilicon kunpeng CPU support

2021-03-25 Thread oulijun
在 2021/3/25 20:19, Thomas Monjalon 写道: 25/03/2021 12:17, oulijun: Ruifeng has reviewed-by. Does anyone else have any comments? Is it necessary to send the V2? v2 for what? There is a change? No. no change. 在 2021/3/25 17:07, Thomas Monjalon 写道: 25/03/2021 09:54, oulijun: Hi, Thomas

Re: [dpdk-dev] [PATCH] ethdev: add queue state when retrieve queue information

2021-03-25 Thread oulijun
在 2021/3/22 23:45, Ananyev, Konstantin 写道: -Original Message- From: dev On Behalf Of Andrew Rybchenko Sent: Monday, March 22, 2021 2:49 PM To: Yigit, Ferruh ; Lijun Ou ; tho...@monjalon.net Cc: dev@dpdk.org; linux...@openeuler.org; Andrew Rybchenko ; David Marchand ; Ray Kinsella

Re: [dpdk-dev] [PATCH V2 1/4] config/arm: add Hisilicon kunpeng920 implementer

2021-03-25 Thread oulijun
在 2021/3/25 15:45, Ruifeng Wang 写道: -Original Message- From: oulijun Sent: Thursday, March 25, 2021 3:22 PM To: Ruifeng Wang ; tho...@monjalon.net; ferruh.yi...@intel.com Cc: dev@dpdk.org; linux...@openeuler.org; nd Subject: Re: [dpdk-dev] [PATCH V2 1/4] config/arm: add Hisilicon

Re: [dpdk-dev] [PATCH V2 1/4] config/arm: add Hisilicon kunpeng920 implementer

2021-03-25 Thread oulijun
在 2021/3/23 23:40, Ruifeng Wang 写道: -Original Message- From: oulijun Sent: Tuesday, March 23, 2021 9:52 PM To: Ruifeng Wang ; tho...@monjalon.net; ferruh.yi...@intel.com Cc: dev@dpdk.org; linux...@openeuler.org; nd Subject: Re: [dpdk-dev] [PATCH V2 1/4] config/arm: add Hisilicon

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-03-24 Thread oulijun
在 2021/3/24 9:44, Li, Xiaoyun 写道: -Original Message- From: oulijun Sent: Wednesday, March 24, 2021 09:01 To: Li, Xiaoyun ; Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: Re: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx 在 2021/3/23

Re: [dpdk-dev] [Linuxarm] Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-03-24 Thread oulijun
在 2021/3/24 10:03, Li, Xiaoyun 写道: -Original Message- From: oulijun Sent: Tuesday, March 23, 2021 22:19 To: Li, Xiaoyun ; Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: Re: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test @@ -2707,14

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-03-23 Thread oulijun
在 2021/3/23 15:50, Li, Xiaoyun 写道: Hi -Original Message- From: Lijun Ou Sent: Friday, March 5, 2021 18:22 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx From: Huisong Li

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-03-23 Thread oulijun
在 2021/3/23 16:55, Li, Xiaoyun 写道: Hi -Original Message- From: Lijun Ou Sent: Friday, March 5, 2021 18:22 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test From: Huisong Li The c

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-03-23 Thread oulijun
在 2021/3/23 16:55, Li, Xiaoyun 写道: Hi -Original Message- From: Lijun Ou Sent: Friday, March 5, 2021 18:22 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test From: Huisong Li The c

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test

2021-03-23 Thread oulijun
在 2021/3/23 16:55, Li, Xiaoyun 写道: Hi -Original Message- From: Lijun Ou Sent: Friday, March 5, 2021 18:22 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH 1/3] app/testpmd: fix forwarding configuration when DCB test From: Huisong Li The c

Re: [dpdk-dev] [PATCH V2 1/4] config/arm: add Hisilicon kunpeng920 implementer

2021-03-23 Thread oulijun
在 2021/3/23 16:07, Ruifeng Wang 写道: -Original Message- From: dev On Behalf Of Lijun Ou Sent: Wednesday, March 10, 2021 9:36 AM To: tho...@monjalon.net; ferruh.yi...@intel.com Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH V2 1/4] config/arm: add Hisilicon kunpeng9

Re: [dpdk-dev] [PATCH 3/3] app/testpmd: use of Rx/Tx in testpmd

2021-03-23 Thread oulijun
在 2021/3/23 15:46, Tu, Lijuan 写道: -Original Message- From: Andrew Rybchenko Sent: 2021年3月23日 15:25 To: Li, Xiaoyun ; Lijun Ou ; Yigit, Ferruh ; Tu, Lijuan Cc: dev@dpdk.org; linux...@openeuler.org Subject: Re: [dpdk-dev] [PATCH 3/3] app/testpmd: use of Rx/Tx in testpmd On 3/23/21

Re: [dpdk-dev] [PATCH] ethdev: add queue state when retrieve queue information

2021-03-22 Thread oulijun
在 2021/3/22 17:22, Ferruh Yigit 写道: On 3/18/2021 12:25 PM, Lijun Ou wrote: Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_

Re: [dpdk-dev] [Linuxarm] Re: [PATCH V2] app/testpmd: support Tx mbuf free on demand cmd

2021-03-17 Thread oulijun
在 2021/3/17 20:07, Thomas Monjalon 写道: 17/03/2021 12:30, oulijun: 2021/3/12 19:21, Thomas Monjalon: 12/03/2021 11:29, oulijun: 2021/3/10 15:59, Thomas Monjalon: 10/03/2021 02:48, oulijun: Can we add an API such as rte_eth_get_device(pord_id) for example: struct rte_eth_dev

Re: [dpdk-dev] [Linuxarm] Re: [PATCH V2] app/testpmd: support Tx mbuf free on demand cmd

2021-03-17 Thread oulijun
在 2021/3/12 19:21, Thomas Monjalon 写道: 12/03/2021 11:29, oulijun: 2021/3/10 15:59, Thomas Monjalon: 10/03/2021 02:48, oulijun: Can we add an API such as rte_eth_get_device(pord_id) for example: struct rte_eth_dev * rte_eth_get_device(uint16_t port_id) { return &rte_eth_dev

Re: [dpdk-dev] [Linuxarm] Re: [PATCH V2] app/testpmd: support Tx mbuf free on demand cmd

2021-03-12 Thread oulijun
在 2021/3/10 15:59, Thomas Monjalon 写道: 10/03/2021 02:48, oulijun: Can we add an API such as rte_eth_get_device(pord_id) for example: struct rte_eth_dev * rte_eth_get_device(uint16_t port_id) { return &rte_eth_devices[port_id]; } An application is not supposed to access the st

Re: [dpdk-dev] [PATCH V2] app/testpmd: support Tx mbuf free on demand cmd

2021-03-09 Thread oulijun
在 2021/3/9 17:53, Ferruh Yigit 写道: On 3/9/2021 8:49 AM, oulijun wrote: 在 2021/3/9 1:33, Ferruh Yigit 写道: On 3/5/2021 9:57 AM, Lijun Ou wrote: From: Chengwen Feng This patch support tx_done_cleanup command: tx_done_cleanup port (port_id) (queue_id) (free_cnt) Users must make sure there

Re: [dpdk-dev] [PATCH V2] app/testpmd: support Tx mbuf free on demand cmd

2021-03-09 Thread oulijun
在 2021/3/9 1:33, Ferruh Yigit 写道: On 3/5/2021 9:57 AM, Lijun Ou wrote: From: Chengwen Feng This patch support tx_done_cleanup command: tx_done_cleanup port (port_id) (queue_id) (free_cnt) Users must make sure there are no concurrent access to the same Tx queue (like rte_eth_tx_burst, rte_e

Re: [dpdk-dev] 【Some Questions About Multi-Process Resource Cleaning】

2021-03-08 Thread oulijun
在 2021/2/10 23:59, Burakov, Anatoly 写道: On 04-Feb-21 11:47 AM, oulijun wrote: Hi, Sorry your questions are quite confused. Please start explaining what is the problem you are trying to solve. Start the master and slave processes at the same time, and then run the kill -9 command to kill

Re: [dpdk-dev] [PATCH] app/testpmd: support Tx mbuf free on demand cmd

2021-03-05 Thread oulijun
在 2021/3/5 15:46, Li, Xiaoyun 写道: Hi Sorry, forgot to send this in last patchset. -Original Message- From: Lijun Ou Sent: Friday, March 5, 2021 15:33 To: Yigit, Ferruh Cc: Li, Xiaoyun ; dev@dpdk.org; linux...@openeuler.org Subject: [PATCH] app/testpmd: support Tx mbuf free on deman

Re: [dpdk-dev] [PATCH 0/3] testpmd updates

2021-03-04 Thread oulijun
在 2021/3/5 11:18, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, March 5, 2021 08:56 To: Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH 0/3] testpmd updates This series add a API implementation for testpmd as

Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd

2021-03-04 Thread oulijun
在 2021/3/5 11:25, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, March 5, 2021 08:56 To: Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH 3/3] app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd From: Hongbo Zh

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx

2021-03-04 Thread oulijun
在 2021/3/5 11:21, Li, Xiaoyun 写道: Hi -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, March 5, 2021 08:56 To: Yigit, Ferruh Cc: dev@dpdk.org; linux...@openeuler.org Subject: [dpdk-dev] [PATCH 2/3] app/testpmd: remove forwarding config from parsing Rx and Tx From: H

Re: [dpdk-dev] [PATCH 0/2] meson build fixes for hns3

2021-03-04 Thread oulijun
Hi, Thomas Monjalon && Ferruh Is the patchset used for integration or resending? What's your opinion? Thanks Lijun Ou 在 2021/2/3 20:46, Lijun Ou 写道: This series fix meson build for kunpeng920 and kunpeng930 boards. Chengchang Tang (2): config/arm: fix Hisilicon kunpeng920 SoC build con

Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-03-04 Thread oulijun
在 2021/3/1 18:46, Juraj Linkeš 写道: -Original Message- From: Thomas Monjalon Sent: Wednesday, February 24, 2021 1:10 PM To: Juraj Linkeš Cc: oulijun ; ferruh.yi...@intel.com; dev@dpdk.org; linux...@openeuler.org Subject: Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon

Re: [dpdk-dev] [Linuxarm] Re: [PATCH V2 04/14] net/hns3: add Rx and Tx bytes stats

2021-03-03 Thread oulijun
在 2021/3/3 22:24, Ferruh Yigit 写道: On 3/3/2021 2:08 PM, oulijun wrote: 在 2021/3/3 21:28, Ferruh Yigit 写道: On 3/2/2021 1:58 PM, Lijun Ou wrote: From: "Min Hu (Connor)" In current HNS3 PMD, Rx/Tx bytes from packet stats are not implemented. This patch implemented Rx/Tx bytes

Re: [dpdk-dev] [Linuxarm] Re: [PATCH V2 04/14] net/hns3: add Rx and Tx bytes stats

2021-03-03 Thread oulijun
在 2021/3/3 21:28, Ferruh Yigit 写道: On 3/2/2021 1:58 PM, Lijun Ou wrote: From: "Min Hu (Connor)" In current HNS3 PMD, Rx/Tx bytes from packet stats are not implemented. This patch implemented Rx/Tx bytes using soft counters. Rx/Tx bytes stats will be enabled if the macro RTE_LIBRTE_HNS3_PMD

Re: [dpdk-dev] [PATCH V2 07/14] net/hns3: fix device capabilities for copper media type

2021-03-03 Thread oulijun
在 2021/3/3 21:27, Ferruh Yigit 写道: On 3/2/2021 1:58 PM, Lijun Ou wrote: From: Huisong Li The configuration operation for PHY is implemented by firmware. And a capability flag will be report to driver, which means the firmware supports the PHY driver. However, the current implementation onl

Re: [dpdk-dev] [PATCH V2 01/14] net/hns3: support module EEPROM dump

2021-03-03 Thread oulijun
在 2021/3/3 21:26, Ferruh Yigit 写道: On 3/2/2021 1:58 PM, Lijun Ou wrote: From: Chengchang Tang This patch add support for dumping module EEPROM. Signed-off-by: Chengchang Tang Signed-off-by: Lijun Ou --- doc/guides/rel_notes/release_21_05.rst | 4 + drivers/net/hns3/hns3_cmd.h

Re: [dpdk-dev] [PATCH 07/13] net/hns3: support PF on electrical net device

2021-03-01 Thread oulijun
在 2021/2/26 23:25, Ferruh Yigit 写道: On 2/24/2021 1:28 AM, Lijun Ou wrote: From: Huisong Li The normal operation of electrical interface devices depends on the initialization and configuration of the PHY chip. The task of driving the PHY chip is implemented in some firmware versions. If firm

Re: [dpdk-dev] [PATCH 12/13] net/hns3: add process for MAC interrupt

2021-02-27 Thread oulijun
在 2021/2/26 23:26, Ferruh Yigit 写道: On 2/24/2021 1:28 AM, Lijun Ou wrote: From: Hongbo Zheng Enable the interrupt report of MAC when MAC state changes and log the hardware MAC state value. What is MAC TNL Interrupt, can you please provide more information in the commit log? TNL is the a

Re: [dpdk-dev] [PATCH 09/13] net/hns3: fix maximum frame size update after buffer alloc

2021-02-26 Thread oulijun
在 2021/2/26 23:25, Ferruh Yigit 写道: On 2/24/2021 1:28 AM, Lijun Ou wrote: From: Chengchang Tang After MTU changed, the buffer used to store packets in HW should be reallocated. And buffer size is allocated based on the maximum frame size in the PF struct. However, the value of maximum frame

Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-02-24 Thread oulijun
在 2021/2/24 15:41, Thomas Monjalon 写道: 24/02/2021 02:34, oulijun: 在 2021/2/10 17:41, Thomas Monjalon 写道: 03/02/2021 13:46, Lijun Ou: From: Chengchang Tang Because of the '9ca2f16' have merged, the current hns3 pmd driver can not be directly complied on the kunpeng920 se

Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-02-23 Thread oulijun
在 2021/2/10 17:41, Thomas Monjalon 写道: 03/02/2021 13:46, Lijun Ou: From: Chengchang Tang Because of the '9ca2f16' have merged, the current hns3 pmd driver can not be directly complied on the kunpeng920 server board. Therefore, we need to fix the meson build. Besides, add kunpeng 920 SoC mes

[dpdk-dev] DPDK 21.05 Huawei hns3 Roadmap

2021-02-23 Thread oulijun
Hi, Following are the work items of hns3 PMD planned for 21.05, Some features are delayed to the current releases. New features: 【1】 Add PTP(Precise Time Protocol) support 【2】 Add query optical module info by API 【3】 Support LSC(Link Status Changed) event

Re: [dpdk-dev] 【Some Questions About Multi-Process Resource Cleaning】

2021-02-04 Thread oulijun
should call rte_eal_cleanup to release resources. But I find that there is no release from the process, and I think there is a resource leak. In general, closing a process does not mean removing the device, because it can be used by other processes. 04/02/2021 07:56, oulijun: Hi, Thomas Monjalon

[dpdk-dev] 【Some Questions About Multi-Process Resource Cleaning】

2021-02-03 Thread oulijun
Hi, Thomas Monjalon&Ferruh Yigit and others I'm analyzing multiprocess with eal. I have some questions I'd like to ask you. Firstly, After the rte_eal_init() command is executed, the master and slave processes are started successfully. and traffic is continuously sent using the tester.I

Re: [dpdk-dev] [PATCH 00/17] bugfixes and small functionality for hns3

2021-02-03 Thread oulijun
在 2021/2/3 19:46, Ferruh Yigit 写道: On 2/3/2021 11:05 AM, oulijun wrote: 在 2021/2/3 17:24, Ferruh Yigit 写道: On 2/3/2021 7:46 AM, Lijun Ou wrote: This patch series add some bugfixes and some small functions. In order to fix some bugfixes, we had to do some code rework, for example patch[13

Re: [dpdk-dev] [PATCH 00/17] bugfixes and small functionality for hns3

2021-02-03 Thread oulijun
在 2021/2/3 17:24, Ferruh Yigit 写道: On 2/3/2021 7:46 AM, Lijun Ou wrote: This patch series add some bugfixes and some small functions. In order to fix some bugfixes, we had to do some code rework, for example patch[13/17]. Chengchang Tang (6): net/hns3: support module EEPROM dump net/hn

Re: [dpdk-dev] [PATCH v2 2/5] net/hns3: add FEC feature for hns3.ini

2021-01-29 Thread oulijun
在 2021/1/29 16:46, Ferruh Yigit 写道: On 1/29/2021 1:13 AM, oulijun wrote: 在 2021/1/28 22:12, Thomas Monjalon 写道: 28/01/2021 13:43, Lijun Ou: The hns3 PMD add FEC features implementation in 20.11. Therefore, need to update the hns3.ini for supporting. Fixes: 9bf2ea8dbc65 ("net

Re: [dpdk-dev] [PATCH 14/14] net/hns3: support LSC event report

2021-01-28 Thread oulijun
在 2021/1/29 7:41, Ferruh Yigit 写道: On 1/22/2021 10:18 AM, Lijun Ou wrote: From: Chengwen Feng This patch support LSC(Link Status Change) event report. There is a user config for lsc, 'dev->data->dev_conf.intr_conf.lsc', which seems not taken into account. Frist of all, thank you for yo

Re: [dpdk-dev] [PATCH v2 4/5] doc: update release notes for hns3

2021-01-28 Thread oulijun
在 2021/1/28 22:46, Ferruh Yigit 写道: On 1/28/2021 12:43 PM, Lijun Ou wrote: Add TM(Traffic Management) feature with hns3 in release notes. It includes: 1. configure port's peak rate with PF 2. configure TC's peak rate with PF Fixes: c09c7847d892 ("net/hns3: support traffic management") Cc: st

Re: [dpdk-dev] [PATCH v2 2/5] net/hns3: add FEC feature for hns3.ini

2021-01-28 Thread oulijun
在 2021/1/28 22:12, Thomas Monjalon 写道: 28/01/2021 13:43, Lijun Ou: The hns3 PMD add FEC features implementation in 20.11. Therefore, need to update the hns3.ini for supporting. Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC") Cc: sta...@dpdk.org Signed-off-by: Lijun Ou --- doc/guides/nics/f

Re: [dpdk-dev] [PATCH 1/3] doc: add FEC in NIC features

2021-01-27 Thread oulijun
在 2021/1/28 8:20, Ferruh Yigit 写道: On 1/20/2021 1:43 PM, Lijun Ou wrote: From: "Min Hu (Connor)" Document FEC in NIC features, add information about FEC and add implementation related support. Cc: sta...@dpdk.org Signed-off-by: Min Hu (Connor) Signed-off-by: Lijun Ou --- doc/guides/ni

Re: [dpdk-dev] [PATCH v4 2/5] examples/multi_process: cleanup bus objects while terminating app

2021-01-25 Thread oulijun
在 2020/10/18 17:25, David Marchand 写道: On Thu, Oct 8, 2020 at 5:31 PM wrote: From: Rohit Raj Certain bus objects may need to be closed and re-acquired while terminating and rerunning the client application. Hence a signal handler is required to catch the termination of the App and hence c

Re: [dpdk-dev] [PATCH v3 01/22] ethdev: fix MTU size exceeds max rx packet length

2021-01-23 Thread oulijun
在 2021/1/19 16:46, oulijun 写道: 在 2021/1/18 18:42, Ferruh Yigit 写道: On 1/15/2021 10:44 AM, oulijun wrote: Hi Steve This is a very good job! But I have some question and suggestions. Please check it. 在 2021/1/14 17:45, Steve Yang 写道: Ethdev is using default Ethernet overhead to decide if

Re: [dpdk-dev] [RFC] some questions for speed_capa usage

2021-01-23 Thread oulijun
在 2021/1/18 19:23, Ferruh Yigit 写道: On 1/18/2021 10:27 AM, oulijun wrote: Hi, The 'speed_capa' will be reported in rte_eth_dev_info_get API. How should users use the field? 1) The driver reports only the capabilities supported by the NIC, and users only obtain the capabilit

Re: [dpdk-dev] [PATCH v3 01/22] ethdev: fix MTU size exceeds max rx packet length

2021-01-19 Thread oulijun
在 2021/1/18 18:42, Ferruh Yigit 写道: On 1/15/2021 10:44 AM, oulijun wrote: Hi Steve This is a very good job! But I have some question and suggestions. Please check it. 在 2021/1/14 17:45, Steve Yang 写道: Ethdev is using default Ethernet overhead to decide if provided 'max_rx_pkt_len'

Re: [dpdk-dev] [PATCH 2/8] net/hns3: support RTE TM get ops function

2021-01-19 Thread oulijun
在 2021/1/19 8:49, Ferruh Yigit 写道: On 1/14/2021 1:33 PM, Lijun Ou wrote: From: Chengwen Feng This patch support RTE TM ops function for PF, which could used to: 1. config port's peak rate. 2. config TC's peak rate. Signed-off-by: Chengwen Feng Signed-off-by: Lijun Ou --- drivers/net/hn

[dpdk-dev] [RFC] some questions for speed_capa usage

2021-01-18 Thread oulijun
Hi, The 'speed_capa' will be reported in rte_eth_dev_info_get API. How should users use the field? 1) The driver reports only the capabilities supported by the NIC, and users only obtain the capabilities. Maybe, there is a case that a rate bit in 'speed_capa' is not supported by the current

Re: [dpdk-dev] [PATCH v3 06/22] net/hns3: fix the jumbo frame flag condition for mtu set

2021-01-17 Thread oulijun
Acked-by: Lijun Ou 在 2021/1/14 17:46, Steve Yang 写道: The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition, but the Ether overhead is larger than 18 when it supports dual VLAN tags. That will cause the jumbo flag rx offload is wrong when MTU size is 'RTE_ETHER_MTU'. This fix will

Re: [dpdk-dev] [PATCH v3 01/22] ethdev: fix MTU size exceeds max rx packet length

2021-01-15 Thread oulijun
Hi Steve This is a very good job! But I have some question and suggestions. Please check it. 在 2021/1/14 17:45, Steve Yang 写道: Ethdev is using default Ethernet overhead to decide if provided 'max_rx_pkt_len' value is bigger than max (non jumbo) MTU value, and limits it to MAX if it is. Since th

Re: [dpdk-dev] [RFC] app/testpmd: support multi-process

2021-01-13 Thread oulijun
在 2021/1/12 22:21, Wisam Monther 写道: -Original Message- From: oulijun Sent: Tuesday, January 12, 2021 4:13 PM To: Wisam Monther ; ferruh.yi...@intel.com; wenzhuo...@intel.com; beilei.x...@intel.com; bernard.iremon...@intel.com Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [RFC] app

Re: [dpdk-dev] [RFC] app/testpmd: support multi-process

2021-01-12 Thread oulijun
在 2021/1/10 20:32, Wisam Monther 写道: Hi, -Original Message- From: dev On Behalf Of Lijun Ou Sent: Friday, January 8, 2021 11:46 AM To: ferruh.yi...@intel.com; wenzhuo...@intel.com; beilei.x...@intel.com; bernard.iremon...@intel.com Cc: dev@dpdk.org Subject: [dpdk-dev] [RFC] app/test

Re: [dpdk-dev] [RFC] app/testpmd: support multi-process

2021-01-09 Thread oulijun
在 2021/1/8 18:28, Ferruh Yigit 写道: On 1/8/2021 9:46 AM, Lijun Ou wrote: This patch adds multi-process support for testpmd. The test cmd example as follows: the primary cmd: ./testpmd -w xxx --file-prefix=xx -l 0-1 -n 2 -- -i\ --rxq=16 --txq=16 --num-procs=2 --proc-id=0 the secondary cmd: ./te

Re: [dpdk-dev] [PATCH v2 2/5] net/hns3: fix build with sve enabled

2021-01-08 Thread oulijun
在 2021/1/8 16:25, Ruifeng Wang 写道: Building with SVE extension enabled stopped with error: error: ACLE function ‘svwhilelt_b64_s32’ requires ISA extension ‘sve’ 18 | #define PG64_256BIT svwhilelt_b64(0, 4) This is caused by unintentional cflags reset. Fixed the issue by appending requ

Re: [dpdk-dev] [PATCH v2 2/5] net/hns3: fix build with sve enabled

2021-01-08 Thread oulijun
在 2021/1/9 8:06, Honnappa Nagarahalli 写道: Building with SVE extension enabled stopped with error: error: ACLE function ‘svwhilelt_b64_s32’ requires ISA extension ‘sve’ 18 | #define PG64_256BIT svwhilelt_b64(0, 4) This is caused by unintentional cflags reset. Fixed the issue by appe

Re: [dpdk-dev] [PATCH v2 01/22] ethdev: fix MTU size exceeds max rx packet length

2020-12-30 Thread oulijun
在 2020/12/17 17:22, Steve Yang 写道: If max rx packet length is smaller then MTU + Ether overhead, that will drop all MTU size packets. Update the MTU size according to the max rx packet and Ether overhead. Fixes: 59d0ecdbf0e1 ("ethdev: MTU accessors") Signed-off-by: Steve Yang --- lib/lib

Re: [dpdk-dev] [PATCH 2/7] net/hns3: fix xstats statistics with id

2020-12-17 Thread oulijun
在 2020/12/17 23:20, Ferruh Yigit 写道: On 12/13/2020 8:03 AM, Lijun Ou wrote: From: Huisong Li Number of xstats item in rte_eth_xstats_get_by_id is obtained by the eth_dev_get_xstats_count API, and the xstats_get_by_id ops of the driver only needs to report the corresponding stats item result

[dpdk-dev] DPDK 21.02 Huawei hns3 Roadmap

2020-12-11 Thread oulijun
Hi, Following are the wrok items of hns3 PMD planned for 21.02: New features: [1] Add TM(Traffic Management) support [2] Add PTP(Precise Time Protocol) support [3] Add query optical module info by API [4] Support LSC(Link Status Changed) event [5] Implement tx_done_cleanup API [6]

Re: [dpdk-dev] [PATCH V2 0/2] hns3 fixes

2020-12-10 Thread oulijun
在 2020/12/11 0:30, Ferruh Yigit 写道: On 12/10/2020 12:48 PM, Lijun Ou wrote: Here series are fixes for hns3 PMD driver. Change from V1: 1. fix the comments given by Ferruh Yigit for 4/4 Lijun Ou (1): net/hns3: adjust printing MAC addresses in log Min Hu (Connor) (1): net/hns3: fix FEC

Re: [dpdk-dev] [PATCH 3/4] net/hns3: adjust printing MAC addresses in log

2020-12-10 Thread oulijun
在 2020/12/7 22:52, oulijun 写道: 在 2020/11/20 22:25, Ferruh Yigit 写道: On 11/20/2020 11:27 AM, Lijun Ou wrote: Here the printing of MAC addresses is adjusted. After the modification, only some bytes of the MAC address are displayed. Why logging only some bytes of the MAC address? I

Re: [dpdk-dev] [PATCH 0/4] hns3 fixes

2020-12-07 Thread oulijun
在 2020/11/20 23:38, Ferruh Yigit 写道: On 11/20/2020 2:58 PM, oulijun wrote: < Moved to the bottom, please do not top post > 欧丽军 Mobile:+86-18899774289 Email:ouli...@huawei.com <mailto:ouli...@h

Re: [dpdk-dev] [PATCH 3/4] net/hns3: adjust printing MAC addresses in log

2020-12-07 Thread oulijun
在 2020/11/20 22:25, Ferruh Yigit 写道: On 11/20/2020 11:27 AM, Lijun Ou wrote: Here the printing of MAC addresses is adjusted. After the modification, only some bytes of the MAC address are displayed. Why logging only some bytes of the MAC address? I understand that the entire MAC address in

Re: [dpdk-dev] [PATCH 4/4] net/hns3: fix FEC state query

2020-12-07 Thread oulijun
在 2020/11/20 22:33, Ferruh Yigit 写道: On 11/20/2020 11:27 AM, Lijun Ou wrote: From: "Min Hu (Conor)" As FEC is not supported below 10 Gbps, CMD(0x031A) offered from Firmware read will return fail in 10 Gbps device. This patch will prevent read this CMD when below 10 Gbps, as this is non-sen

Re: [dpdk-dev] DPDK Release Status Meeting 3/12/2020

2020-12-07 Thread oulijun
在 2020/12/7 21:59, Ferruh Yigit 写道: On 12/7/2020 1:03 PM, oulijun wrote: 在 2020/12/7 20:31, Ferruh Yigit 写道: On 12/7/2020 11:54 AM, oulijun wrote: 在 2020/12/3 19:51, Ferruh Yigit 写道: Meeting minutes of 3 December 2020 -- Agenda: * Release Dates * 20.11

Re: [dpdk-dev] DPDK Release Status Meeting 3/12/2020

2020-12-07 Thread oulijun
在 2020/12/7 20:31, Ferruh Yigit 写道: On 12/7/2020 11:54 AM, oulijun wrote: 在 2020/12/3 19:51, Ferruh Yigit 写道: Meeting minutes of 3 December 2020 -- Agenda: * Release Dates * 20.11 retrospective * LTS * OvS * Opens Participants: * Arm * Debian/Microsoft

Re: [dpdk-dev] DPDK Release Status Meeting 3/12/2020

2020-12-07 Thread oulijun
在 2020/12/3 19:51, Ferruh Yigit 写道: Meeting minutes of 3 December 2020 -- Agenda: * Release Dates * 20.11 retrospective * LTS * OvS * Opens Participants: * Arm * Debian/Microsoft * Intel * Nvidia * NXP * Red Hat Release Dates - * v20.11 is relea

Re: [dpdk-dev] [PATCH] doc: update features for hns3

2020-11-23 Thread oulijun
在 2020/11/24 0:41, Ferruh Yigit 写道: On 11/23/2020 2:32 PM, Lijun Ou wrote: Since the hns3 NIC hardware features are not counted and it is supported in fact. Besides, the flow director is not supported and need to delete it. Hi Lijun, Normally these should be updated when the feature is ad

Re: [dpdk-dev] [PATCH 0/4] hns3 fixes

2020-11-20 Thread oulijun
Hi,Ferruh the first and second patch are critical. 欧丽军 Mobile:+86-18899774289 Email:ouli...@huawei.com 发件人: Ferruh Yigitmailto:ferruh.yi...@intel.com>> 收件人: oulijunmailto:ouli...@huawei.com>> 抄送: devmailto:dev@dpdk.org>>;Linuxarmmai

Re: [dpdk-dev] [PATCH v2 5/5] net/hns3: fix queue enabling status not store after FLR

2020-11-09 Thread oulijun
在 2020/11/7 0:57, Ferruh Yigit 写道: On 11/6/2020 3:51 AM, Lijun Ou wrote: From: Chengchang Tang The FLR will resets the queue enabling status. In the current code, the queue enabling status is not restored after the reset. Therefore, if upper layer users have called queue start/stop function

Re: [dpdk-dev] [PATCH v2 4/5] net/hns3: check PCI config space writes

2020-11-09 Thread oulijun
在 2020/11/7 0:45, Ferruh Yigit 写道: On 11/6/2020 3:51 AM, Lijun Ou wrote: Here adds a check for the return value when calling rte_pci_write_config. Coverity issue: 363714 Fixes: cea37e513329 ("net/hns3: fix FLR reset") Cc: sta...@dpdk.org Signed-off-by: Lijun Ou --- V1->V2: - rte_pci_wirte_

Re: [dpdk-dev] [PATCH v2 3/5] net/hns3: adjust some code style

2020-11-09 Thread oulijun
在 2020/11/7 0:44, Ferruh Yigit 写道: On 11/6/2020 3:51 AM, Lijun Ou wrote: From: Hongbo Zheng Here adjusts some code style for making the lines more compact and removes some static check tool warnings. Signed-off-by: Hongbo Zheng Signed-off-by: Lijun Ou --- V1->V2: - fix checkpatch warning

Re: [dpdk-dev] [PATCH v2 2/5] net/hns3: use unsigned types for bit operator

2020-11-09 Thread oulijun
在 2020/11/7 0:38, Ferruh Yigit 写道: On 11/6/2020 3:51 AM, Lijun Ou wrote: From: Hongbo Zheng According to bit operator reliability style, variables in the right expression participating int bit operation cannot be of unsigned type. Assuming this is talking about BIT() ("#define BIT(nr) (1U

Re: [dpdk-dev] [PATCH v2 2/5] net/hns3: use unsigned types for bit operator

2020-11-09 Thread oulijun
在 2020/11/7 0:38, Ferruh Yigit 写道: On 11/6/2020 3:51 AM, Lijun Ou wrote: From: Hongbo Zheng According to bit operator reliability style, variables in the right expression participating int bit operation cannot be of unsigned type. Assuming this is talking about BIT() ("#define BIT(nr) (1U

Re: [dpdk-dev] [PATCH 0/8] misc fixes for hns3

2020-11-04 Thread oulijun
在 2020/11/3 20:15, Ferruh Yigit 写道: On 11/2/2020 2:38 PM, Lijun Ou wrote: This patch series includes three Tx checksum bugs and two static check warnings fixes. The remaining includes two features fixes. Chengchang Tang (4): net/hns3: add limit promisc mode to VF net/hns3: fix Tx cksum

Re: [dpdk-dev] [PATCH 7/8] net/hns3: fix some static check errors by coverity

2020-11-03 Thread oulijun
在 2020/11/3 19:41, Ferruh Yigit 写道: On 11/2/2020 2:38 PM, Lijun Ou wrote: From: Hongbo Zheng This patch fixes some warnings. coverity:function format symbol does not match I think we are not getting these warnings in the public coverity, is there a specific configuration for it? Yes, t

Re: [dpdk-dev] 【meson build fail for octeontx2】

2020-11-03 Thread oulijun
在 2020/10/27 16:31, David Marchand 写道: On Tue, Oct 27, 2020 at 8:43 AM oulijun wrote: Hi I am trying to build dpdk-next-net code based Kunpeng920(ARM64) platform used meson build. However, it is build fail. The libtmp_rte_event_octeontx2 build error happened. The output as follows

[dpdk-dev] 【meson build fail for octeontx2】

2020-10-27 Thread oulijun
Hi I am trying to build dpdk-next-net code based Kunpeng920(ARM64) platform used meson build. However, it is build fail. The libtmp_rte_event_octeontx2 build error happened. The output as follows: [1986/2298] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_tim_

Re: [dpdk-dev] [PATCH 1/2] net/hns3: support SVE Rx

2020-10-26 Thread oulijun
在 2020/10/26 0:18, David Marchand 写道: Hello Wei Hu, diff --git a/drivers/net/hns3/meson.build b/drivers/net/hns3/meson.build index bf69ad4..ca0f21a 100644 --- a/drivers/net/hns3/meson.build +++ b/drivers/net/hns3/meson.build @@ -31,4 +31,9 @@ deps += ['hash'] if arch_subdir == 'arm' and d

  1   2   >