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. Changes since v1: - Added inline comment to the second patch - Expanded the commit message to better explain the mask setting in the second patch. Hui Zhou (2): nfp: flower: add hardware offload check for post ct entry nfp: flower: fix hardware offload for the transfer layer port .../ethernet/netronome/nfp/flower/conntrack.c | 46 +++++++++++++++++-- 1 file changed, 43 insertions(+), 3 deletions(-) -- 2.34.1