]> git.droids-corp.org - dpdk.git/commit
net/dpaa: check status before configuring shared MAC
authorNipun Gupta <nipun.gupta@nxp.com>
Mon, 3 Jan 2022 10:01:25 +0000 (15:31 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 20 Jan 2022 15:24:09 +0000 (16:24 +0100)
commit953b6fedbb9b44dddd2b150745f55f20f8da42d7
treeaf2636e368bdbdfc8aff93aa653597647d0b8d60
parentf023d059769fb7bf8cb4b9111f51d550ece7e07d
net/dpaa: check status before configuring shared MAC

For shared MAC interface, it is a prerequisite to enable the
interface in the kernel, before using it in user-space. This
patch makes sure that device is not getting configured in
case shared MAC interface is not enabled in the kernel.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/base/fman/fman_hw.c
drivers/bus/dpaa/include/fsl_fman.h
drivers/bus/dpaa/version.map
drivers/net/dpaa/dpaa_ethdev.c