net/bnx2x: set random MAC address if none assigned
authorCharles (Chas) Williams <ciwillia@brocade.com>
Tue, 21 Jun 2016 12:18:46 +0000 (08:18 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 4 Jul 2016 13:19:55 +0000 (15:19 +0200)
commitfe63783466a8d80cc39ea2f1cd6c5bce693c785a
tree9f85a1eb8dc512e715277d1d018ad7a79f8f31a8
parentd8a1ccdc554635485b5db5358e13141f1e3b06d9
net/bnx2x: set random MAC address if none assigned

If the PF hasn't assigned an address, assign one randomly.  While here,
convert to use DPDK's ether address utility routines.

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Charles (Chas) Williams <ciwillia@brocade.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_vfpf.c
drivers/net/bnx2x/bnx2x_vfpf.h