Re: [ovs-dev] [PATCH v1 1/1] datapath-windows: Fix NXM_OF_IP_TOS issue

2022-02-23 Thread Alin-Gabriel Serdean
Thank you Frank and Mike!

I applied the patch on master and backported all the way to branch-2.13

Alin.

-Original Message-
From: dev  On Behalf Of Mike Pattrick
Sent: Wednesday, February 23, 2022 8:21 PM
To: Frank Guo 
Cc:  ; Frank Guo

Subject: Re: [ovs-dev] [PATCH v1 1/1] datapath-windows: Fix NXM_OF_IP_TOS
issue

On Fri, Feb 18, 2022 at 2:52 AM Frank Guo  wrote:
>
> From: Frank Guo 
>
> Currenlty Ovs-windows can not change tos using NXM_OF_IP_TOS, this patch
fixes it.
>
> 1, test with the following flow :
> ovs-ofctl.exe add-flow br-int
"table=0,priority=300,in_port=antrea-gw0,icmp
actions=mod_nw_tos:28,load:0x1->NXM_NX_REG0[0..3],resubmit(,SpoofGuard)"
> 2, capture packet trace on destination side :
> 02:23:30.625049 IP (tos 0x1c, ttl 128, id 15237, offset 0, flags [none],
proto ICMP (1), length 60)
> 192.168.250.1 > 192.168.248.1: ICMP echo request, id 1, seq 10, length
40
>
> Reported-at:openvswitch/ovs-issues#244
> Signed-off-by: Frank Guo 
> ---

Acked-by: Mike Pattrick 

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH v1 1/1] datapath-windows: Fix NXM_OF_IP_TOS issue

2022-02-23 Thread Mike Pattrick
On Fri, Feb 18, 2022 at 2:52 AM Frank Guo  wrote:
>
> From: Frank Guo 
>
> Currenlty Ovs-windows can not change tos using NXM_OF_IP_TOS, this patch 
> fixes it.
>
> 1, test with the following flow :
> ovs-ofctl.exe add-flow br-int "table=0,priority=300,in_port=antrea-gw0,icmp 
> actions=mod_nw_tos:28,load:0x1->NXM_NX_REG0[0..3],resubmit(,SpoofGuard)"
> 2, capture packet trace on destination side :
> 02:23:30.625049 IP (tos 0x1c, ttl 128, id 15237, offset 0, flags [none], 
> proto ICMP (1), length 60)
> 192.168.250.1 > 192.168.248.1: ICMP echo request, id 1, seq 10, length 40
>
> Reported-at:openvswitch/ovs-issues#244
> Signed-off-by: Frank Guo 
> ---

Acked-by: Mike Pattrick 

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev