[PATCH] maintainers: update for i40e

2024-03-28 Thread yuying . zhang
From: Yuying Zhang Delete self from i40e driver. Signed-off-by: Yuying Zhang --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 969b70eabd..1338d3d70e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -758,7 +758,6 @@ F: doc/guides/nics/intel_vf.rst

[PATCH] maintainers: update for testpmd

2024-03-28 Thread yuying . zhang
From: Yuying Zhang Delete self from testpmd. Signed-off-by: Yuying Zhang --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6a7d0293c6..969b70eabd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1781,7 +1781,6 @@ F: app/test

[DPDK] maintainers: update for cpfl driver

2024-03-28 Thread yuying . zhang
From: Yuying Zhang Delete self from cpfl driver. Signed-off-by: Yuying Zhang --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0d1c8126e3..6a7d0293c6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -800,7 +800,6 @@ F: doc/guides/nics/idpf.rst F

[PATCH v9 9/9] net/cpfl: add support of to represented port action

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Add support of to represented port action for forwarding packet to APF/CPF/VF representors. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/cpfl

[PATCH v9 8/9] net/cpfl: add flow support for representor

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 74 + drivers/net/cpfl/cpfl_representor.c | 29 ++ 2 files changed

[PATCH v9 7/9] net/cpfl: add fxp flow engine

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Adapt a flow engine to FXP implementation. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 18 +- doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583

[PATCH v9 6/9] net/cpfl: add fxp rule module

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Implement FXP rule creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 263 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 68

[PATCH v9 5/9] net/cpfl: add FXP low level implementation

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Add low level implementation for CPFL PMD to create / delete rules on IPU's Flexible Packet Processor(FXP). Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 127 + drivers/net

[PATCH v9 4/9] net/cpfl: set up control path

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Set up control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c | 270 +++ drivers/net

[PATCH v9 3/9] net/cpfl: set up rte flow skeleton

2023-09-28 Thread yuying . zhang
From: Yuying Zhang Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_ethdev.h | 5

[PATCH v9 2/9] net/cpfl: build action mapping rules from JSON

2023-09-28 Thread yuying . zhang
From: Wenjing Qiao Build rules that maps from an rte flow action vxlan_encap or vxlan_decap to hardware representations. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++ 2 files changed, 63

[PATCH v9 1/9] net/cpfl: add json parser for rte flow pattern rules

2023-09-28 Thread yuying . zhang
From: Wenjing Qiao Add devargs "flow_parser" for rte flow json parser which depends on jansson library. Example: -a ca:00.0,flow_parser="refpkg.json" Add json parser for rte flow pattern rules which can build rules that maps from a set of rte flow items to hardware representations. The cpf

[PATCH v9 0/9] add rte flow support for cpfl

2023-09-28 Thread yuying . zhang
From: Yuying Zhang This patchset add rte flow support for cpfl driver. It depends on the following patch set: http://patchwork.dpdk.org/project/dpdk/cover/20230912173039.1612287-1-beilei.x...@intel.com/ Wenjing Qiao (2): net/cpfl: add json parser for rte flow pattern rules net/cpfl: build

[PATCH v1] net/idpf: fix incorrect status calculation

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Fix the incorrect ingress packet number calculation. Fixes: 7514d76d407b ("net/idpf: add basic statistics") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- drivers/net/idpf/idpf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH v8 9/9] net/cpfl: add support of to represented port action

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add support of to represented port action for forwarding packet to APF/CPF/VF representors. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/cpfl

[PATCH v8 8/9] net/cpfl: add flow support for representor

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 74 + drivers/net/cpfl/cpfl_representor.c | 29 ++ 2 files changed

[PATCH v8 7/9] net/cpfl: add fxp flow engine

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Adapt a flow engine to FXP implementation. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 18 +- doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583

[PATCH v8 6/9] net/cpfl: add fxp rule module

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Implement FXP rule creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 296 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 68

[PATCH v8 5/9] net/cpfl: add FXP low level implementation

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add low level implementation for CPFL PMD to create / delete rules on IPU's Flexible Packet Processor(FXP). Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 127 + drivers/net

[PATCH v8 4/9] net/cpfl: set up control path

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Set up control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c | 270 +++ drivers/net

[PATCH v8 3/9] net/cpfl: set up rte flow skeleton

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_ethdev.h | 5

[PATCH v8 2/9] net/cpfl: build action mapping rules from JSON

2023-09-27 Thread yuying . zhang
From: Wenjing Qiao Build rules that maps from an rte flow action vxlan_encap or vxlan_decap to hardware representations. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++ 2 files changed, 63

[PATCH v8 1/9] net/cpfl: add json parser for rte flow pattern rules

2023-09-27 Thread yuying . zhang
From: Wenjing Qiao Add devargs "flow_parser" for rte flow json parser which depends on jansson library. Example: -a ca:00.0,flow_parser="refpkg.json" Add json parser for rte flow pattern rules which can build rules that maps from a set of rte flow items to hardware representations. The cpf

[PATCH v8 0/9] add rte flow support for cpfl

2023-09-27 Thread yuying . zhang
From: Yuying Zhang This patchset add rte flow support for cpfl driver. It depends on the following patch set: http://patchwork.dpdk.org/project/dpdk/cover/20230912173039.1612287-1-beilei.x...@intel.com/ Wenjing Qiao (2): net/cpfl: add json parser for rte flow pattern rules net/cpfl: build

[PATCH v7 8/8] net/cpfl: add flow support for representor

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 19 +- doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_flow_engine_fxp.c | 88

[PATCH v7 7/8] net/cpfl: add fxp flow engine

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Adapt a flow engine to FXP implementation. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583 drivers/net/cpfl/meson.build| 1 + 3 files changed, 611

[PATCH v7 6/8] net/cpfl: add fxp rule module

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Implement FXP rule creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 296 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 68

[PATCH v7 5/8] net/cpfl: add FXP low level implementation

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Add low level implementation for CPFL PMD to create / delete rules on IPU's Flexible Packet Processor(FXP). Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 126 + drivers/net

[PATCH v7 4/8] net/cpfl: set up control path

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Set up control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 801 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c | 270 +++ drivers/net

[PATCH v7 3/8] net/cpfl: set up rte flow skeleton

2023-09-26 Thread yuying . zhang
From: Yuying Zhang Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_ethdev.h | 5

[PATCH v7 2/8] net/cpfl: build action mapping rules from JSON

2023-09-26 Thread yuying . zhang
From: Wenjing Qiao Build rules that maps from an rte flow action vxlan_encap or vxlan_decap to hardware representations. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 538 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++ 2 files changed, 63

[PATCH v7 1/8] net/cpfl: add json parser for rte flow pattern rules

2023-09-26 Thread yuying . zhang
From: Wenjing Qiao Add devargs "flow_parser" for rte flow json parser which depends on jansson library. Example: -a ca:00.0,flow_parser="refpkg.json" Add json parser for rte flow pattern rules which can build rules that maps from a set of rte flow items to hardware representations. The cpf

[PATCH v7 0/8] add rte flow support for cpfl

2023-09-26 Thread yuying . zhang
mapping rules from JSON Yuying Zhang (6): net/cpfl: set up rte flow skeleton net/cpfl: set up control path net/cpfl: add FXP low level implementation net/cpfl: add fxp rule module net/cpfl: add fxp flow engine net/cpfl: add flow support for representor --- v7: * refine commit log * fix

[PATCH v2 8/8] net/cpfl: add flow support for representor

2023-09-01 Thread Yuying Zhang
Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 13 +++ doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_flow_engine_fxp.c | 24

[PATCH v2 7/8] net/cpfl: add fxp flow engine

2023-09-01 Thread Yuying Zhang
Adapt fxp low level as a flow engine. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.h | 81 drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583 drivers/net/cpfl/meson.build| 1 + 3 files changed, 665 insertions(+) create mode

[PATCH v2 6/8] net/cpfl: add fxp rule module

2023-09-01 Thread Yuying Zhang
Added low level fxp module for rule packing / creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 424 +++ drivers/net/cpfl/cpfl_controlq.h | 24 ++ drivers/net/cpfl/cpfl_ethdev.c | 31 +++ drivers/net/cpfl/cpfl_ethdev.h

[PATCH v2 5/8] net/cpfl: set up rte flow skeleton

2023-09-01 Thread Yuying Zhang
Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 54 ++ drivers/net/cpfl/cpfl_ethdev.h | 5 + drivers/net/cpfl

[PATCH v2 4/8] net/cpfl: setup ctrl path

2023-09-01 Thread Yuying Zhang
From: Wenjing Qiao Setup the control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang Signed-off-by: Beilei Xing Signed-off-by: Qi Zhang Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_ethdev.c | 267 + drivers/net/cpfl

[PATCH v2 3/8] net/cpfl: add FXP low level implementation

2023-09-01 Thread Yuying Zhang
From: Wenjing Qiao Add FXP low level implementation for CPFL rte_flow to create/delete rules. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_actions.h | 858 +++ drivers/net/cpfl/cpfl_controlq.c | 379 ++ drivers/net/cpfl/cpfl_controlq.h | 51 ++

[PATCH v2 2/8] net/cpfl: add flow json parser

2023-09-01 Thread Yuying Zhang
From: Wenjing Qiao A JSON file will be used to direct DPDK CPF PMD to parse rte_flow tokens into low level hardware resources defined in a DDP package file. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 1769 +++ drivers/net/cpfl/cpfl_flow_parser

[PATCH v2 1/8] net/cpfl: parse flow parser file in devargs

2023-09-01 Thread Yuying Zhang
From: Wenjing Qiao Add devargs "flow_parser" for rte_flow json parser. Signed-off-by: Wenjing Qiao --- doc/guides/nics/cpfl.rst | 32 drivers/net/cpfl/cpfl_ethdev.c | 38 +- drivers/net/cpfl/cpfl_ethdev.h | 3 +++ drivers/net/

[PATCH v2 0/8] add rte flow support for cpfl

2023-09-01 Thread Yuying Zhang
FXP low level implementation net/cpfl: setup ctrl path Yuying Zhang (4): net/cpfl: set up rte flow skeleton net/cpfl: add fxp rule module net/cpfl: add fxp flow engine net/cpfl: add flow support for representor doc/guides/nics/cpfl.rst| 45 + doc/guides/rel_notes

[PATCH v1 5/5] net/cpfl: add fxp flow engine

2023-08-12 Thread Yuying Zhang
Adapt fxp low level as a flow engine. Signed-off-by: Yuying Zhang Signed-off-by: Qi Zhang --- drivers/net/cpfl/cpfl_ethdev.h | 85 drivers/net/cpfl/cpfl_flow_engine_fxp.c | 610 drivers/net/cpfl/meson.build| 1 + 3 files changed, 696

[PATCH v1 4/5] net/cpfl: add fxp rule module

2023-08-12 Thread Yuying Zhang
Added low level fxp module for rule packing / creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.h | 4 + drivers/net/cpfl/cpfl_fxp_rule.c | 288 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 87 ++ drivers/net/cpfl/meson.build

[PATCH v1 3/5] net/cpfl: add cpfl control queue message handle

2023-08-12 Thread Yuying Zhang
Add cpfl driver control queue message handle, including send/receive/clean/post_rx_buffs. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 419 ++- drivers/net/cpfl/cpfl_controlq.h | 24 ++ 2 files changed, 442 insertions(+), 1 deletion(-) diff

[PATCH v1 2/5] common/idpf/base: refine idpf ctlq message structure

2023-08-12 Thread Yuying Zhang
Add cfg data in idpf_ctlq_msg. Signed-off-by: Yuying Zhang --- drivers/common/idpf/base/idpf_controlq_api.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/common/idpf/base/idpf_controlq_api.h b/drivers/common/idpf/base/idpf_controlq_api.h index 3780304256..b38b10465c 100644

[PATCH v1 1/5] net/cpfl: setup rte flow skeleton

2023-08-12 Thread Yuying Zhang
Setup the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang Signed-off-by: Qi Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 54 ++ drivers/net/cpfl/cpfl_ethdev.h | 5

[PATCH v1 0/5] add rte flow support for cpfl

2023-08-12 Thread Yuying Zhang
This patchset add rte_flow support for cpfl driver. It depends on the following two patch sets: http://patchwork.dpdk.org/project/dpdk/cover/20230809155134.539287-1-beilei.x...@intel.com/ http://patchwork.dpdk.org/project/dpdk/cover/20230811100012.2078135-1-wenjing.q...@intel.com/ Yuying Zhang (5

[PATCH v1] net/ice: fix rss hash key generation

2023-07-06 Thread Yuying Zhang
ot;) Fixes: 20d6a017e148 ("net/ice: fix build with GCC 12") Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_ethdev.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 949b13324f..4bad39c2c1

[PATCH v1] net/ice: fix memory allocation issue of packet flag

2022-06-27 Thread Yuying Zhang
Current code doesn't allocate memory of lookup element to add packet flag. This patch adds one lookup item in the list to fix this memory issue. Fixes: 8b95092b7f69 ("net/ice/base: fix direction of flow that matches any") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang ---

[PATCH v2] net/ice/base: fix direction match of flow that matches any

2022-05-12 Thread Yuying Zhang
queue") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_protocol_type.h | 6 +++-- drivers/net/ice/base/ice_switch.c| 31 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/drivers/net/ice/base/ice_protocol_type.h b/

[PATCH v1] net/ice/base: support source interface FLG of switch filter

2022-05-11 Thread Yuying Zhang
The tx/rx packets are dropped when creating drop any rule since the recipe doesn't contain direction flag matching. This patch enables the packet flag which represents the direction of source interface to slove the issue. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_protocol_t

[PATCH v1] net/vhost: clear data of packet mbuf after sending pkts

2022-02-28 Thread Yuying Zhang
;) Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- drivers/net/vhost/rte_eth_vhost.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index 070f0e6dfd..92ed07a334 100644 --- a/drivers

[PATCH v2] maintainers: update for testpmd

2022-02-10 Thread Yuying Zhang
Move 'test-pmd/bpf_cmd.*' files under BPF component. Signed-off-by: Yuying Zhang Acked-by: Ferruh Yigit --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c65b753c6b..bdbf2f9e7f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1616,6 +1

[PATCH v3] maintainers: update for testpmd

2022-02-10 Thread Yuying Zhang
Move 'test-pmd/cmdline_tm.*' files under "Traffic Management API" component. Move 'test-pmd/cmdline_mtr.*' files under "Traffic Metering and Policing API" component. Signed-off-by: Yuying Zhang --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v2] maintainers: update for testpmd

2022-02-10 Thread Yuying Zhang
Move 'test-pmd/cmdline_tm.*' files under "Traffic Management API" component. Move 'test-pmd/cmdline_mtr.*' files under "Traffic Metering and Policing API" component. Signed-off-by: Yuying Zhang --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v1] maintainers: update for testpmd

2022-02-09 Thread Yuying Zhang
Add Konstantin as maintainer of test-pmd/bpf_cmd.* files. Signed-off-by: Yuying Zhang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c65b753c6b..bf05e726b4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1615,6 +1615,7 @@ M: Konstantin Ananyev

[PATCH v1] maintainers: update for testpmd

2022-02-08 Thread Yuying Zhang
Add Cristian as maintainer of test-pmd/cmdline_tm.* files. Signed-off-by: Yuying Zhang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c65b753c6b..cab1821b11 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -406,6 +406,7 @@ F: lib/ethdev/rte_flow

[PATCH v3 2/2] net/ice: support drop any and steer all to queue

2022-01-25 Thread Yuying Zhang
: flow create 0 ingress pattern any / end actions queue index 3 / end All packets received in port 0 will be steered to queue 3. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_generic_flow.c | 6 ++ drivers/net/ice/ice_generic_flow.h | 3 +++ drivers/net/ice/ice_switch_filter.c | 6

[PATCH v3 1/2] net/ice/base: add profile validation on switch filter

2022-01-25 Thread Yuying Zhang
Profile type was determined without validation when getting switch field vector bitmap. It caused error when associating profile id with given recipe if no lookup elements were given. Add profile validation to check if the profile is existing before getting bitmap. Signed-off-by: Yuying Zhang

[PATCH v2 2/2] net/ice: support drop any and steer all to queue

2022-01-17 Thread Yuying Zhang
: flow create 0 ingress pattern any / end actions queue index 3 / end All packets received in port 0 will be steered to queue 3. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_generic_flow.c | 6 ++ drivers/net/ice/ice_generic_flow.h | 3 +++ drivers/net/ice/ice_switch_filter.c | 6

[PATCH v2 1/2] net/ice/base: support ANY software type on switch filter

2022-01-17 Thread Yuying Zhang
Add support of ANY software type on switch filter for steering all kinds of common packets to specific queue or drop all kinds of common packets. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_flex_pipe.c | 72 +++- drivers/net/ice/base/ice_flex_pipe.h | 5

[PATCH v1 2/2] net/ice: support drop any and steer all to queue

2022-01-16 Thread Yuying Zhang
: flow create 0 ingress pattern any / end actions queue index 3 / end All packets received in port 0 will be steered to queue 3. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_generic_flow.c | 6 ++ drivers/net/ice/ice_generic_flow.h | 3 +++ drivers/net/ice/ice_switch_filter.c | 6

[PATCH v1 1/2] net/ice/base: support ANY software type on switch filter

2022-01-16 Thread Yuying Zhang
Add support of ANY software type on switch filter for steering all kinds of common packets to specific queue or drop all kinds of common packets. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_flex_pipe.c | 72 +++- drivers/net/ice/base/ice_flex_pipe.h | 5

[PATCH v1] maintainers: update for testpmd

2022-01-07 Thread Yuying Zhang
Add Yuying Zhang as a co-maintainer. Signed-off-by: Yuying Zhang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 18d9edaf88..852595fe91 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1694,6 +1694,7 @@ F: app/test/sample_packet_forward.h

[dpdk-dev] [PATCH v2] net/ice: fix order of flow filter parser list

2021-11-02 Thread Yuying Zhang
; FDIR > Hash filter. Fixes: e4a0a7599d97 ("net/ice: fix flow priority support in non-pipeline mode") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- v2: * Fix the spelling mistake in commit log. --- drivers/net/ice/ice_generic_flow.c | 33 +- 1 file cha

[dpdk-dev] [PATCH v1] net/ice: fix order of flow filter parser list

2021-11-01 Thread Yuying Zhang
; FDIR > Hash filter. Fixes: e4a0a7599d97 ("net/ice: fix flow priority support in non-pipeline mode") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_generic_flow.c | 33 +- 1 file changed, 28 insertions(+), 5 deletions(-) diff --gi

[dpdk-dev] [PATCH v1] maintainers: update for driver testing tool

2021-10-18 Thread Yuying Zhang
For test-pmd: - removing Xiaoyun Li - adding Yuying Zhang Signed-off-by: Yuying Zhang --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ed8becce85..f13bf425b0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1635,7 +1635,7

[dpdk-dev] [PATCH v4] net/ice: fix flow priority support in non-pipeline mode

2021-09-18 Thread Yuying Zhang
t/ice: support flow priority for DCF switch filter") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- v4: * Refine the description of commit log. v3: * Fix priority issue of FDIR in pipeline mode. Refine the priority validation. v2: * Replace magic number with marco and add comments to e

[dpdk-dev] [PATCH v3] net/ice: refine flow priority support in PF

2021-09-07 Thread Yuying Zhang
filters don't support priority 1. Value 0 denotes higher priority. Signed-off-by: Yuying Zhang --- v3: * Fix priority issue of FDIR in pipeline mode. Refine the priority validation. v2: * Replace magic number with marco and add comments to explain the calculation. --- drivers/net/ice/ice_acl_fil

[dpdk-dev] [PATCH v2] net/ice: refine flow priority support in PF

2021-09-05 Thread Yuying Zhang
filters don't support priority 1. Value 0 denotes higher priority. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_acl_filter.c| 5 - drivers/net/ice/ice_fdir_filter.c | 5 - drivers/net/ice/ice_generic_flow.c | 4 ++-- drivers/net/ice/ice_hash.c | 5 - driver

[dpdk-dev] [PATCH RFC 2/2] net/ice: support drop any and steer all to queue

2021-08-30 Thread Yuying Zhang
: flow create 0 ingress pattern any / end actions queue index 3 / end All packets received in port 0 will be steered to queue 3. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_generic_flow.c | 7 +++ drivers/net/ice/ice_generic_flow.h | 3 +++ drivers/net/ice/ice_switch_filter.c | 9

[dpdk-dev] [PATCH RFC 1/2] net/ice/base: support drop any and steer all to queue

2021-08-30 Thread Yuying Zhang
This patch supports drop any and steer all to queue in switch filter. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_flex_pipe.c | 73 +++- drivers/net/ice/base/ice_flex_pipe.h | 5 +- drivers/net/ice/base/ice_flex_type.h | 1 + drivers/net/ice/base

[dpdk-dev] [PATCH v1] net/ice: refine flow priority support in PF

2021-08-29 Thread Yuying Zhang
filters don't support priority 1. Value 0 denotes higher priority. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_acl_filter.c| 5 - drivers/net/ice/ice_fdir_filter.c | 5 - drivers/net/ice/ice_generic_flow.c | 4 ++-- drivers/net/ice/ice_hash.c | 5 - drivers/ne

[dpdk-dev] [PATCH RFC 2/2] net/ice: add support of VXLAN in switch filter

2021-08-24 Thread Yuying Zhang
| | pattern_eth_ipv4_udp_vxlan_eth_ipv6 | dst mac, vni, inner dst/src ip | | pattern_eth_ipv6_udp_vxlan_eth_ipv4 | dst mac, vni, inner dst/src ip | | pattern_eth_ipv6_udp_vxlan_eth_ipv6 | dst mac, vni, inner dst/src ip | +-++ Signed-off-by: Yuying Zhang

[dpdk-dev] [PATCH RFC 1/2] net/ice/base: add VXLAN support for switch filter

2021-08-24 Thread Yuying Zhang
Add ipv4/ipv6 vxlan any support in switch filter. Add inner ipv6 and outer ipv6 support of vxlan protocol in switch filter. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_protocol_type.h | 6 + drivers/net/ice/base/ice_switch.c| 212 ++- drivers/net/ice

[dpdk-dev] [PATCH RFC 2/2] net/ice: add support of VXLAN in switch filter

2021-08-23 Thread Yuying Zhang
| dst mac, inner dst/src ip | | pattern_eth_ipv6_udp_vxlan_eth_ipv4 | dst mac, inner dst/src ip | | pattern_eth_ipv6_udp_vxlan_eth_ipv6 | dst mac, inner dst/src ip | +-+---+ Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_generic_flow.c

[dpdk-dev] [PATCH RFC 1/2] net/ice/base: add VXLAN support for switch filter

2021-08-23 Thread Yuying Zhang
Add ipv4/ipv6 vxlan any support in switch filter. Add inner ipv6 and outer ipv6 support of vxlan protocol in switch filter. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_protocol_type.h | 6 + drivers/net/ice/base/ice_switch.c| 204 ++- drivers/net/ice

[dpdk-dev] [PATCH v1] app/testpmd: fix port MAC address after resetting port

2021-07-13 Thread Yuying Zhang
sta...@dpdk.org Signed-off-by: Yuying Zhang --- app/test-pmd/testpmd.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 1cdd3cdd12..204e0d52cd 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@

[dpdk-dev] [PATCH v1] net/ice/base: clean code of finding GTPU dummy pkt

2021-04-26 Thread Yuying Zhang
Four gtpu tunnel types are used twice to find gtpu dummy packets (ipv4_gtpu_ipv4/ipv6, ipv6_gtpu_ipv4/ipv6). Clean redundant code. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_switch.c | 28 1 file changed, 28 deletions(-) diff --git a/drivers/net/ice

[dpdk-dev] [PATCH v1] net/ice/base: fix inner L4 offset for gptu dummy packet

2021-04-25 Thread Yuying Zhang
Fix inner L4 offset of ipv6_gtpu_ipv6_tcp/udp dummy packet. Fixes: bd4d9a89dbc1 ("net/ice/base: add GTP filtering via advanced switch filter") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_switch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[dpdk-dev] [PATCH v4 2/2] net/ice: refactor input set fields for switch filter

2021-04-25 Thread Yuying Zhang
Input set has been divided into inner and outer part to distinguish different fields. However, the parse method of switch filter doesn't match this update. Refactor switch filter to distingush inner and outer input set in the same way as other filters. Signed-off-by: Yuying Zhang -

[dpdk-dev] [PATCH v4 1/2] net/ice: clean redundant macro definition of filters

2021-04-25 Thread Yuying Zhang
The input set has been divided into two parts to distinguish inner and outer field. ICE_INSET_TUN_* is the same as non tunnel macro definition. Clean redundant ICE_INSET_TUN_* codes. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_fdir_filter.c | 22 ++--- drivers/net/ice

[dpdk-dev] [PATCH v3 2/2] net/ice: refactor input set fields for switch filter

2021-04-25 Thread Yuying Zhang
Input set has been divided into inner and outer part to distinguish different fields. However, the parse method of switch filter doesn't match this update. Refactor switch filter to distingush inner and outer input set in the same way as other filters. Signed-off-by: Yuying Zhang --- dr

[dpdk-dev] [PATCH v3 1/2] net/ice: clean redundant macro definition of filters

2021-04-25 Thread Yuying Zhang
The input set has been divided into two parts to distinguish inner and outer field. ICE_INSET_TUN_* is the same as non tunnel macro definition. Clean redundant ICE_INSET_TUN_* codes. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_fdir_filter.c | 22 ++--- drivers/net/ice

[dpdk-dev] [PATCH v2 2/2] net/ice: clean redundant macro definition of filters

2021-04-23 Thread Yuying Zhang
The input set has been divided into two parts to distinguish inner and outer field. ICE_INSET_TUN_* is the same as non tunnel macro definition. Clean redundant ICE_INSET_TUN_* codes. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_fdir_filter.c | 22 +-- drivers/net/ice

[dpdk-dev] [PATCH v2 1/2] net/ice: refactor input set fields for switch filter

2021-04-23 Thread Yuying Zhang
Input set has been divided into inner and outer part to distinguish different fields. However, the parse method of switch filter doesn't match this update. Refactor switch filter to distingush inner and outer input set in the same way as other filters. Signed-off-by: Yuying Zhang --- dr

[dpdk-dev] [PATCH v1] net/ice: refactor input set fields for switch filter

2021-04-22 Thread Yuying Zhang
y are redundant. Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_fdir_filter.c | 22 +- drivers/net/ice/ice_generic_flow.h | 61 +-- drivers/net/ice/ice_switch_filter.c | 782 3 files changed, 355 insertions(+), 510 deletions(-) diff --git a/drivers/ne

[dpdk-dev] [PATCH v4] net/ice: support flow priority for DCF switch filter

2021-04-15 Thread Yuying Zhang
filter and priority of rule 2 is higher. Packet hits rule 2 when two conditions of rules are satisfied. Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/ice/ice_acl_filter.c | 1 + drivers/net/ice/ice_fdir_filter.c | 1 + drivers/net/ice

[dpdk-dev] [PATCH v3] net/ice: support flow priority for DCF switch filter

2021-04-15 Thread Yuying Zhang
me in DCF switch filter. And priority of rule 2 is higher. Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/ice/ice_acl_filter.c | 1 + drivers/net/ice/ice_fdir_filter.c | 1 + drivers/net/ice/ice_generic_flow.c

[dpdk-dev] [PATCH v6 2/2] net/ice: support GTPU TEID pattern for switch filter

2021-04-15 Thread Yuying Zhang
| teid, qfi, dst/src ip, dst/src port | +---+-+ Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/ice/ice_switch_filter.c| 288 - 2 files changed, 284

[dpdk-dev] [PATCH v6 1/2] net/ice/base: support GTPU for DCF switch filter

2021-04-15 Thread Yuying Zhang
Enable GTPU filtering for DCF switch filter. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_protocol_type.h | 20 ++ drivers/net/ice/base/ice_switch.c| 263 --- drivers/net/ice/base/ice_switch.h| 5 + 3 files changed, 260 insertions(+), 28

[dpdk-dev] [PATCH v5 2/2] net/ice/base: support GTPU for DCF switch filter

2021-04-15 Thread Yuying Zhang
Enable GTPU filtering for DCF switch filter. Signed-off-by: Yuying Zhang --- drivers/net/ice/base/ice_protocol_type.h | 20 ++ drivers/net/ice/base/ice_switch.c| 263 --- drivers/net/ice/base/ice_switch.h| 5 + 3 files changed, 260 insertions(+), 28

[dpdk-dev] [PATCH v5 1/2] net/ice: support GTPU TEID pattern for switch filter

2021-04-15 Thread Yuying Zhang
| teid, qfi, dst/src ip, dst/src port | +---+-+ Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/ice/ice_switch_filter.c| 288 - 2 files changed, 284

[dpdk-dev] [PATCH v4] net/ice: support GTPU TEID pattern for switch filter

2021-04-15 Thread Yuying Zhang
| teid, qfi, dst/src ip, dst/src port | +---+-+ Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/ice/base/ice_protocol_type.h | 20 ++ drivers/net/ice/base/ice_switch.c| 263

[dpdk-dev] [PATCH v2] net/ice: support flow priority for DCF switch filter

2021-04-12 Thread Yuying Zhang
me in DCF switch filter. And priority of rule 2 is higher. Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 3 +++ drivers/net/ice/ice_acl_filter.c | 1 + drivers/net/ice/ice_fdir_filter.c | 1 + drivers/net/ice/ice_generic_flow.c

[dpdk-dev] [PATCH v3] net/ice: support GTPU TEID pattern for switch filter

2021-04-06 Thread Yuying Zhang
| teid, qfi, dst/src ip, dst/src port | +---+-+ Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 4 + drivers/net/ice/base/ice_protocol_type.h | 28 ++- drivers/net/ice/base/ice_switch.c| 275

[dpdk-dev] [PATCH v2] net/ice: support GTPU TEID pattern for switch filter

2021-03-30 Thread Yuying Zhang
| teid, qfi, dst/src ip, dst/src port | +---+-+ Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_05.rst | 4 + drivers/net/ice/base/ice_protocol_type.h | 28 ++- drivers/net/ice/base/ice_switch.c| 184

[dpdk-dev] [PATCH v1] net/ice: fix QinQ switch rule input set mask

2021-02-03 Thread Yuying Zhang
QinQ switch rule doesn't support ethertype field match. QinQ ethertype pattern should not be created. Change the input set mask to fix the issue. Fixes: bb3386f348dd ("net/ice: enable QinQ filter for switch") Signed-off-by: Yuying Zhang --- drivers/net/ice/ice_switch_filter.c

[dpdk-dev] [PATCH v2] doc: update release notes for iavf

2021-01-19 Thread Yuying Zhang
Add iavf PMD new feature in release notes. Fixes: 61abc5f611a0 ("net/iavf: support TCP/UDP flow item without input set") Signed-off-by: Yuying Zhang --- doc/guides/rel_notes/release_21_02.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/release_21_02.

  1   2   >