]> git.itanic.dy.fi Git - linux-stable/commitdiff
Merge branch 'nfp-flower-a-few-small-conntrack-offload-fixes'
authorJakub Kicinski <kuba@kernel.org>
Fri, 26 Jan 2024 01:17:30 +0000 (17:17 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Jan 2024 01:17:31 +0000 (17:17 -0800)
Louis Peens says:

====================
nfp: flower: a few small conntrack offload fixes

This small series addresses two bugs in the nfp conntrack offloading
code.

The first patch is a check to prevent offloading for a case which is
currently not supported by the nfp.

The second patch fixes up parsing of layer4 mangling code so it can be
correctly offloaded. Since the masks are an inverse mask and we are
shifting it so it can be packed together with the destination we
effectively need to 'clear' the lower bits of the mask by setting it to
0xFFFF.
====================

Link: https://lore.kernel.org/r/20240124151909.31603-1-louis.peens@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge