On Tue, 13 Oct 2020 15:01:29 +0530 Herat Ramani wrote:
> The 4-tuple NAT offload via PEDIT always overwrites all the 4-tuple
> fields even if they had not been explicitly enabled. If any fields in
> the 4-tuple are not enabled, then the hardware overwrites the
> disabled fields with zeros, instead of ignoring them.
> 
> So, add a parser that can translate the enabled 4-tuple PEDIT fields
> to one of the NAT mode combinations supported by the hardware and
> hence avoid overwriting disabled fields to 0. Any rule with
> unsupported NAT mode combination is rejected.
> 
> Signed-off-by: Herat Ramani <he...@chelsio.com>

Looks good, applied, but to net. 

Not rejecting unsupported configurations is a bug.

Unless you tell me otherwise I'll also queue this for stable.

Thanks!

Reply via email to