Can somebody (Mellanox guys?) help me out?
> Hello Moti,
>
> I have some questions on the patch.
> Just want to know how to use it.
>
> Q1. Is it correct understanding that the patch will be reflected in
> 19.11 if it is approved?
>
> Q2.Which action should I specify when I want to insert VLAN tag
> to non-VLAN frame?
>
> OF_PUSH_VLAN and OF_SET_VLAN_VID and OF_SET_VLAN_PCP ?
>
> Q3. Is it possible to detag VLAN when it receives VLAN tagged
> frame from outside of the host?
>
> Q4. Is it possible to entag VLAN to non-VLAN frame when
> it sends packet to outside of host?
>
> Q5.Are there any restriction to conbime other ACTIONS like QUEUE?
>
> Q6. Is it possible to apply rte_flow actions for specified tx queue
> of physical NIC?
> (e.g. VM connect with PHY:0 using tx queue index:1, I want
> to entag VLAN 101 to the traffic from VM to PHY:0 is it possible?)
>
> Thanks in advance!
>
> BR,
> Hideyuki Yamashita
> NTT TechnoCross
>
> > VLAN actions support is implemented in librte_ethdev, and in
> > test-pmd application, based on [1] Generic flow API.
> > These actions conform to the VLAN actions defined in
> > [2] the OpenFlow Switch Specification.
> >
> > rte_flow defines the following VLAN actions:
> > 1. OF_POP_VLAN
> > Pop the outer-most VLAN header from the packet.
> > 2. OF_PUSH_VLAN
> > Push a new VLAN header onto the packet.
> > 3. OF_SET_VLAN_VID
> > Sets the ID of the outermost VLAN tag.
> > 4. OF_SET_VLAN_PCP
> > Sets the 3-bit priority field of the outermost VLAN tag.
> >
> > This series of patches adds support for those VLAN actions
> > to the mlx5 PMD using the Direct Verbs interface.
> >
> > Moti Haimovsky (7):
> > net/mlx5: support for an action search in a list
> > net/mlx5: add VLAN push/pop DR commands to glue
> > net/mlx5: support pop flow action on VLAN header
> > net/mlx5: support push flow action on VLAN header
> > net/mlx5: support modify VLAN priority on VLAN hdr
> > net/mlx5: supp modify VLAN ID on new VLAN header
> > net/mlx5: supp modify VLAN ID on existing VLAN hdr
> >
> > drivers/net/mlx5/Makefile | 5 +
> > drivers/net/mlx5/meson.build | 2 +
> > drivers/net/mlx5/mlx5.c | 9 +
> > drivers/net/mlx5/mlx5.h | 3 +
> > drivers/net/mlx5/mlx5_flow.c | 23 ++
> > drivers/net/mlx5/mlx5_flow.h | 27 ++-
> > drivers/net/mlx5/mlx5_flow_dv.c | 521
> > ++++++++++++++++++++++++++++++++++++++++
> > drivers/net/mlx5/mlx5_glue.c | 29 +++
> > drivers/net/mlx5/mlx5_glue.h | 6 +
> > drivers/net/mlx5/mlx5_prm.h | 1 +
> > 10 files changed, 623 insertions(+), 3 deletions(-)
> >
> > --
> > 1.8.3.1
>