net/null: set different MAC address for each device
authorMallesh Koujalagi <malleshx.koujalagi@intel.com>
Wed, 7 Mar 2018 03:31:54 +0000 (19:31 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commitc1cd6fb3e75ab26c73104ff1e4aa3cbb1b7a92a6
treebcc9b0f8bc6173b3e3bda362fd5385b5694fab69
parentfcd771ea5b587fe1f8e9c8d01333131e775e6925
net/null: set different MAC address for each device

Previously all null devices were getting MAC address "00:00:00:00:00:00"

After attaching two Null device to OVS, seeing "00.00.00.00.00.00" mac
address for both null devices.

Fix this issue, by setting different mac address.

Signed-off-by: Mallesh Koujalagi <malleshx.koujalagi@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/null/rte_eth_null.c