RE: [PATCH v1 1/3] ethdev: add flow item for RoCE infiniband BTH

2023-05-23 Thread Bill Zhou
Hi Andrew, will update those 2 comments in the V2, thanks. > -Original Message- > From: Andrew Rybchenko > Sent: Monday, May 22, 2023 3:02 PM > To: Ori Kam ; Bill Zhou ; Slava > Ovsiienko ; NBU-Contact-Thomas Monjalon > (EXTERNAL) ; Aman Singh > ; Yuying Zhang ; >

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-14 Thread Bill Zhou
> -Original Message- > From: Ori Kam > Sent: Tuesday, April 14, 2020 4:50 PM > To: Bill Zhou ; Matan Azrad > ; wenzhuo...@intel.com; jingjing...@intel.com; > bernard.iremon...@intel.com; john.mcnam...@intel.com; > marko.kovace...@intel.com; Thomas Monjalon ; >

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-17 Thread Bill Zhou
> -Original Message- > From: Ferruh Yigit > Sent: Saturday, April 18, 2020 6:01 AM > To: Bill Zhou ; Ori Kam ; > Matan Azrad ; wenzhuo...@intel.com; > jingjing...@intel.com; bernard.iremon...@intel.com; > john.mcnam...@intel.com; marko.kovace...@intel.com; Thomas

[dpdk-dev] [PATCH v3] ethdev: support flow aging

2020-04-20 Thread Bill Zhou
From: Dong Zhou One of the reasons to destroy a flow is the fact that no packet matches the flow for "timeout" time. For example, when TCP\UDP sessions are suddenly closed. Currently, there is not any DPDK mechanism for flow aging and the applications use their own ways to detect and destroy age

[dpdk-dev] [PATCH v4] ethdev: support flow aging

2020-04-21 Thread Bill Zhou
From: Dong Zhou One of the reasons to destroy a flow is the fact that no packet matches the flow for "timeout" time. For example, when TCP\UDP sessions are suddenly closed. Currently, there is not any DPDK mechanism for flow aging and the applications use their own ways to detect and destroy age

[dpdk-dev] [PATCH v2 2/2] net/mlx5: support flow aging

2020-04-24 Thread Bill Zhou
this API to get aged flows. Signed-off-by: Bill Zhou --- v2: Moving aging list from struct mlx5_ibv_shared to struct mlx5_priv, one port has one aging list. Update event be triggered once after last call of rte_flow_get_aged_flows. --- doc/guides/rel_notes/release_20_05.rst | 1 + drivers/net

[dpdk-dev] [PATCH v2 1/2] net/mlx5: modify ext-counter memory allocation

2020-04-24 Thread Bill Zhou
o get each type memory by using offsetting. Signed-off-by: Bill Zhou --- v2: Update some comments for new adding fields. --- drivers/net/mlx5/mlx5.c| 4 ++-- drivers/net/mlx5/mlx5.h| 22 -- drivers/net/mlx5/mlx5_flow_dv.c| 27 +++--

[dpdk-dev] [PATCH v2 0/2] net/mlx5: support flow aging

2020-04-24 Thread Bill Zhou
m for mlx5 driver. Bill Zhou (2): net/mlx5: modify ext-counter memory allocation net/mlx5: support flow aging doc/guides/rel_notes/release_20_05.rst | 1 + drivers/net/mlx5/mlx5.c| 86 +++--- drivers/net/mlx5/mlx5.h| 63 - drivers/net/mlx5/mlx5_f

[dpdk-dev] [PATCH] app/testpmd: support flow aging

2020-04-24 Thread Bill Zhou
is event only dump one line of log to user there is one aging event coming. - Add new command to list all aged flows, meanwhile, we can set parameter to destroy it. Signed-off-by: Bill Zhou --- app/test-pmd/cmdline.c | 4 + app/test-pmd/cmdline_flow.c | 61 ++ app/test-pmd/

Re: [dpdk-dev] [PATCH] app/testpmd: support flow aging

2020-04-26 Thread Bill Zhou
> -Original Message- > From: Ferruh Yigit > Sent: Saturday, April 25, 2020 12:25 AM > To: Bill Zhou ; wenzhuo...@intel.com; > jingjing...@intel.com; bernard.iremon...@intel.com; Ori Kam > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] app/testpmd: support

[dpdk-dev] [PATCH v3 0/2] net/mlx5: support flow aging

2020-04-28 Thread Bill Zhou
m for mlx5 driver. Bill Zhou (2): net/mlx5: modify ext-counter memory allocation net/mlx5: support flow aging doc/guides/rel_notes/release_20_05.rst | 1 + drivers/net/mlx5/mlx5.c| 93 -- drivers/net/mlx5/mlx5.h| 79 +- drivers/net/mlx5/mlx5_f

[dpdk-dev] [PATCH v3 2/2] net/mlx5: support flow aging

2020-04-28 Thread Bill Zhou
this API to get aged flows. Signed-off-by: Bill Zhou --- v2: Moving aging list from struct mlx5_ibv_shared to struct mlx5_priv, one port has one aging list. Update event be triggered once after last call of rte_flow_get_aged_flows. v3: Update the way of aging event callback, update some com

[dpdk-dev] [PATCH v3 1/2] net/mlx5: modify ext-counter memory allocation

2020-04-28 Thread Bill Zhou
o get each type memory by using offsetting. Signed-off-by: Bill Zhou --- v2: Update some comments for new adding fields. v3: Update some macro definitions. --- drivers/net/mlx5/mlx5.c| 4 ++-- drivers/net/mlx5/mlx5.h| 23 +-- drivers/net/mlx5/mlx5_fl

[dpdk-dev] [PATCH v2] app/testpmd: support flow aging

2020-04-30 Thread Bill Zhou
s be set, when new flow be checked age out, there will be one-line output log. - Add new command to list all aged flows, meanwhile, we can set parameter to destroy it. Signed-off-by: Bill Zhou --- v2: Update the way of registering aging event, add new command to control if the event need be pr

[dpdk-dev] [PATCH v3] app/testpmd: support flow aging

2020-05-02 Thread Bill Zhou
_AGED bit is set, when new flow be checked age out, there will be output log for it. - Add new command to list all aged flows, meanwhile, we can set parameter to destroy it. Signed-off-by: Bill Zhou --- v2: Update the way of registering aging event, add new command to control if the event ne

[dpdk-dev] [PATCH v4] app/testpmd: support flow aging

2020-05-03 Thread Bill Zhou
n set parameter to destroy it. Signed-off-by: Bill Zhou --- v2: Update the way of registering aging event, add new command to control if the event need be print or not. Update the output of the delete aged flow command format. v3: Change the command from only set aged flow output to set one

[dpdk-dev] [PATCH v5] app/testpmd: support flow aging

2020-05-05 Thread Bill Zhou
n set parameter to destroy it. Signed-off-by: Bill Zhou --- v2: Update the way of registering aging event, add new command to control if the event need be print or not. Update the output of the delete aged flow command format. v3: Change the command from only set aged flow output to set one

Re: [dpdk-dev] [PATCH] ethdev: support flow aging

2020-04-12 Thread Bill Zhou
> -Original Message- > From: Thomas Monjalon > Sent: Friday, April 10, 2020 6:14 PM > To: Bill Zhou > Cc: Matan Azrad ; Ori Kam ; > wenzhuo...@intel.com; jingjing...@intel.com; > bernard.iremon...@intel.com; john.mcnam...@intel.com; > marko.kovace...@intel.com

[dpdk-dev] [PATCH] net/mlx5: fix LRO checksum completence

2020-06-12 Thread Bill Zhou
: e4c2a16eb1de ("net/mlx5: handle LRO packets in Rx queue") Cc: sta...@dpdk.org Signed-off-by: Bill Zhou Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rx

[dpdk-dev] [PATCH] net/mlx5: fix switch port id when representor in bonding

2020-11-03 Thread Bill Zhou
From: Bill Zhou In the bonding configurations the port switch id for representors was composed of pf index in bonding as the 1 msb and the representor's index as the remaining 15 lsbs. The special corner case for the host PF representor on BF setups with representor id 0x was missed as

Re: [dpdk-dev] [PATCH] net/mlx5: fix switch port id when representor in bonding

2020-11-15 Thread Bill Zhou
> -Original Message- > From: Ferruh Yigit > Sent: Saturday, November 14, 2020 2:54 AM > To: Bill Zhou ; Slava Ovsiienko > ; Matan Azrad ; NBU-Contact- > Thomas Monjalon > Cc: sta...@dpdk.org; dev@dpdk.org; Raslan Darawsheh ; > Bill Zhou > Subject: Re: [dpdk