net/mrvl: allow adding MAC address before port init
authorTomasz Duszynski <tdu@semihalf.com>
Thu, 18 Jan 2018 10:57:37 +0000 (11:57 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commit9f7d41e6a703f1f88fe54593e185d6e4ca5aad38
treefdcebb25ec35af25040f177d261511cbf9f1ef16
parent59c796c889c7b1a001b1e3354750baa2ca9bdba9
net/mrvl: allow adding MAC address before port init

Since DPDK restores ether address configuration after device
is started it is safe to add ether address to uninitialized port (ppio).

Fixes: c0511a8f741f ("net/mrvl: check if ppio is initialized")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
drivers/net/mrvl/mrvl_ethdev.c