Re: question about eth and vlan item in flow pattern

2024-05-12 Thread Jie Hai
On 2024/4/25 5:46, Ivan Malov wrote: Hi, On Wed, 24 Apr 2024, Dariusz Sosnowski wrote: To expand the argument on convenience by providing an example, `has_vlan` allows to construct a following logic: 1) flow create 0 group X ingress pattern eth has_vlan is 1 / end actions jump group Y / e

RE: question about eth and vlan item in flow pattern

2024-04-24 Thread Ivan Malov
u; dek...@nvidia.com; psathe...@marvell.com; NBU-Contact-Adrien Mazarguil (EXTERNAL) ; fengchengwen ; Huisong Li ; Dengdui Huang ; dev@dpdk.org; Ori Kam Subject: Re: question about eth and vlan item in flow pattern Hi, Please see below. On Tue, 23 Apr 2024, Jie Hai wrote: Hi, Ivan Malov, Sorry f

RE: question about eth and vlan item in flow pattern

2024-04-24 Thread Dariusz Sosnowski
nvidia.com; psathe...@marvell.com; NBU-Contact-Adrien Mazarguil > (EXTERNAL) ; fengchengwen > ; Huisong Li ; > Dengdui Huang ; dev@dpdk.org; Ori Kam > > Subject: Re: question about eth and vlan item in flow pattern > > Hi, > > Please see below. > > On Tue, 23 Apr

Re: question about eth and vlan item in flow pattern

2024-04-23 Thread Ivan Malov
Hi, Please see below. On Tue, 23 Apr 2024, Jie Hai wrote: Hi, Ivan Malov, Sorry for the late reply. On 2024/4/10 21:19, Ivan Malov wrote: Hi Jie, Consider the following examples: 1) flow create 0 ingress pattern eth / ipv4 proto is 17 / udp / end \    actions queue index 1 / end 2) flow cre

Re: question about eth and vlan item in flow pattern

2024-04-23 Thread Jie Hai
Hi, Ivan Malov, Sorry for the late reply. On 2024/4/10 21:19, Ivan Malov wrote: Hi Jie, Consider the following examples: 1) flow create 0 ingress pattern eth / ipv4 proto is 17 / udp / end \    actions queue index 1 / end 2) flow create 0 ingress pattern eth / ipv4 / udp / end \    actions que

Re: question about eth and vlan item in flow pattern

2024-04-10 Thread Ivan Malov
Hi Jie, Consider the following examples: 1) flow create 0 ingress pattern eth / ipv4 proto is 17 / udp / end \ actions queue index 1 / end 2) flow create 0 ingress pattern eth / ipv4 / udp / end \ actions queue index 1 / end Generally speaking, these two rules might be equivalent, with "pr

Re: question about eth and vlan item in flow pattern

2024-04-10 Thread Thomas Monjalon
Hello, 10/04/2024 13:37, Jie Hai: > Hi, all, > > I have some questions about the sub-options for ``VLAN`` and ``ETH`` item. If it is not clear in the doxygen documentation, please do not hesitate to submit a patch to make it more explicit. > According to the documentation, ``has_vlan`` is sub-o