net/dpaa: support fmlib
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 4 Sep 2020 08:39:23 +0000 (14:09 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commit2ffc1057f072442ecba3873fb59d76dfb2011e9e
treea887d411d9497a290ce232974789f14b631cdaa1
parentc4c6c4c1f0ea8d8aac9d63a134d9f7a037aed493
net/dpaa: support fmlib

DPAA platorm MAC interface is known as FMAN i.e. Frame Manager.
There are two ways to control it.
1. Statically configure the queues and classification rules before the
start of the application using FMC tool.
2. Dynamically configure it within application by making API calls of
fmlib.

The fmlib or Frame Manager library provides an API on top of the
Frame Manager driver ioctl calls, that provides a user space application
with a simple way to configure driver parameters and PCD
(parse - classify - distribute) rules.

This patch integrates the base fmlib so that various queue config, RSS
and classification related features can be supported on DPAA platform.

Signed-off-by: Sachin Saxena <sachin.saxena@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/nics/dpaa.rst
doc/guides/platform/dpaa.rst
drivers/net/dpaa/fmlib/dpaa_integration.h [new file with mode: 0644]
drivers/net/dpaa/fmlib/fm_ext.h [new file with mode: 0644]
drivers/net/dpaa/fmlib/fm_lib.c [new file with mode: 0644]
drivers/net/dpaa/fmlib/fm_pcd_ext.h [new file with mode: 0644]
drivers/net/dpaa/fmlib/fm_port_ext.h [new file with mode: 0644]
drivers/net/dpaa/fmlib/ncsw_ext.h [new file with mode: 0644]
drivers/net/dpaa/fmlib/net_ext.h [new file with mode: 0644]
drivers/net/dpaa/meson.build