net/dpaa2: read hardware provided MAC for DPNI devices
authorShreyansh Jain <shreyansh.jain@nxp.com>
Fri, 12 Oct 2018 10:04:20 +0000 (15:34 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Oct 2018 12:54:26 +0000 (14:54 +0200)
commitc3e0a706fd7595733cf51f33de8eab46bd566734
treeac4f110d4d5f65707a744266580145e3b64e5a70
parent1a814f4b411a661968799efedc6612934353accc
net/dpaa2: read hardware provided MAC for DPNI devices

Firmware would contain pre-configured devices for each DPMAC backing
a DPNI. This patch reads those MAC address when the device is
initialized and sets it. THereafter, it can be changed through API or
commands from testpmd.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c