]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b4788f352976c51c4e3dfadf09f9b229e089eb6
tree7af1fb08261474ba517043838b4611cc204379f9
parentf5b8a3bbe25b66b17fd3b3ae9235021e8166a2c5
parent7e99259ec676b47232c6373be75c9398636e5d01
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>