From: David S. Miller Date: Tue, 29 Sep 2020 20:12:03 +0000 (-0700) Subject: Merge branch 'octeontx2-af-cleanup-and-extend-parser-config' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c2f8cedae8c2a56e6e86bfdac40821ec1a0a760d;p=linux.git Merge branch 'octeontx2-af-cleanup-and-extend-parser-config' Stanislaw Kardach says: ==================== octeontx2-af: cleanup and extend parser config Current KPU configuration data is spread over multiple files which makes it hard to read. Clean this up by gathering all configuration data in a single structure and also in a single file (npc_profile.h). This should increase the readability of KPU handling code (since it always references same structure), simplify updates to the CAM key extraction code and allow abstracting out the configuration source. Additionally extend and fix the parser config to support additional DSA types, NAT-T-ESP and IPv6 fields. Patch 1 ensures that CUSTOMx LTYPEs are not aliased with meaningful LTYPEs where possible. Patch 2 gathers all KPU profile related data into a single struct and creates an adapter structure which provides an interface to the KPU profile for the octeontx2-af driver. Patches 3-4 add support for Extended DSA, eDSA and Forward DSA. Patches 5-6 adds IPv6 fields to CAM key extraction and optimize the parser performance for fragmented IPv6 packets. Patch 7 refactors ESP handling in the parser to support NAT-T-ESP. ==================== Signed-off-by: David S. Miller --- c2f8cedae8c2a56e6e86bfdac40821ec1a0a760d