OSDN Git Service

Merge branch 'octeontx2-af-cleanup-and-extend-parser-config'
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:12:03 +0000 (13:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:12:03 +0000 (13:12 -0700)
commitc2f8cedae8c2a56e6e86bfdac40821ec1a0a760d
tree7af1fb08261474ba517043838b4611cc204379f9
parentd61491a51f7e9e72df50d53f5d40825980bcb8b5
parent4cb2cce07d2df88400e91dda034cca861ed3d87b
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 <davem@davemloft.net>