Re: [ovs-dev] [PATCH v2 1/5] netdev-offload-tc: Fix the mask for tunnel metadata length.

2022-08-05 Thread Marcelo Leitner
On Fri, Jul 29, 2022 at 04:53:15PM +0200, Ilya Maximets wrote: > @@ -606,8 +606,9 @@ flower_tun_opt_to_match(struct match *match, struct > tc_flower *flower) > len -= sizeof(struct geneve_opt) + opt->length * 4; > } > > -match->wc.masks.tunnel.metadata.present.len = > -

Re: [ovs-dev] [PATCH v2 1/5] netdev-offload-tc: Fix the mask for tunnel metadata length.

2022-07-31 Thread Roi Dayan via dev
On 2022-07-29 5:53 PM, Ilya Maximets wrote: 'wc.masks.tunnel.metadata.present.len' must be a mask for the same field in the flow key, but in the tc_flower structure it's the real length of metadata masks. That is correctly handled for the individual opt->length, setting all the masks to 0x1f

[ovs-dev] [PATCH v2 1/5] netdev-offload-tc: Fix the mask for tunnel metadata length.

2022-07-29 Thread Ilya Maximets
'wc.masks.tunnel.metadata.present.len' must be a mask for the same field in the flow key, but in the tc_flower structure it's the real length of metadata masks. That is correctly handled for the individual opt->length, setting all the masks to 0x1f like it's done in the tun_metadata_to_geneve_mask