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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ++
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
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/
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
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
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
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
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
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
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
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
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
---
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/
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
;)
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
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
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
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
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
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
:
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
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
:
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
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
:
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
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
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
; 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
; 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
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
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
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
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
:
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
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
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
|
| 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
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
| 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
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
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
@@
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
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
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
-
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
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
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
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
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
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
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
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
| 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
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
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
| 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
| 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
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
| 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
| 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
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
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 - 100 of 110 matches
Mail list logo