net/enetc: set random MAC in case no MAC for SI
authorGagandeep Singh <g.singh@nxp.com>
Wed, 23 Oct 2019 06:06:00 +0000 (11:36 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:10 +0000 (16:43 +0200)
commit07e29b2e5928a5481d1166b1c00885f8a2524440
treef2f055a7d96c0f3f9b40c836a204340551c4977a
parent896d9372062e2f63033a607cc5893111e057cd98
net/enetc: set random MAC in case no MAC for SI

for SGMII interfaces, there can be 0 value
written on MAC registers.
This patch set the random MAC address for those
interfaces.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
drivers/net/enetc/Makefile
drivers/net/enetc/enetc_ethdev.c