Commits
Murali Karicheri committed 2c387be045d
net: netcp: add packet accelerator core driver This patch adds packet accelerator core driver functions. Packet Accelerator(PA) is a netcp hw accelerator for functions such as IP/UDP/TCP checksum in the egress and ingress path. It also has various Look Up Tables (LUT) that allows to add packet match and forward rules for various applications. PA driver is written as a netcp module. So all of the core netcp module functions such as open()/attach()/close etc are factored into a core module to help implement the PA driver. There are two versions of PA hardware. PA for K2HK SoC and PA2 for K2L/E SoCs. So two separate PA modules are required to support these two hardwares which have different architectures and register sets. The core module is common across these two. This core module also implement common functions required for the driver which are available through pa_core_ops. The hardware capabilities are registered by the hw modules (PA and PA2) during init time as callbacks through hw structs which are used by the core driver to pass control to the hw module. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Jack Manbeck <j-manbeck2@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>