Re: [ovs-dev] [PATCH v2 3/5] netdev-offload-tc: Use masks instead of keys while parsing tunnel attributes.

2022-07-31 Thread Roi Dayan via dev
On 2022-07-29 5:53 PM, Ilya Maximets wrote: If the key is zero, it doesn't mean we don't need to match on it. Masks should be checked instead. For the metadata length that's a bit tricky, because the length in the mask section of the 'flower' structure represents the actual length of the mask

[ovs-dev] [PATCH v2 3/5] netdev-offload-tc: Use masks instead of keys while parsing tunnel attributes.

2022-07-29 Thread Ilya Maximets
If the key is zero, it doesn't mean we don't need to match on it. Masks should be checked instead. For the metadata length that's a bit tricky, because the length in the mask section of the 'flower' structure represents the actual length of the mask and not the mask of the length field in the key.