bus/dpaa: support shared MAC
authorRadu Bulie <radu-andrei.bulie@nxp.com>
Fri, 4 Sep 2020 08:39:26 +0000 (14:09 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:08 +0000 (18:55 +0200)
commit133332f01d91aef2056cbdc407f3fd3d61b24b83
treed00473a329ee3157178310c99b3dca8e229be68a
parent4defbc8cbb6d5b520f13ee7f2396b0a31516d370
bus/dpaa: support shared MAC

A shared MAC interface is an interface which can be used
by both kernel and userspace based on classification configuration
It is defined in dts with the compatible string
"fsl,dpa-ethernet-shared" which bpool will be seeded by the dpdk
partition and configured as a netdev by the dpaa Linux eth driver.
User space buffers from the bpool will be kmapped by the kernel.

Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com>
Signed-off-by: Jun Yang <jun.yang@nxp.com>
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/base/fman/fman.c
drivers/bus/dpaa/include/fman.h
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa/dpaa_flow.c