igbvf: fix MAC address if none assigned by PF
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 27 Nov 2015 06:07:35 +0000 (14:07 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Nov 2015 18:38:23 +0000 (19:38 +0100)
commit2a3cf07108b468467ea15bbe49e3569eb73b85df
treed772cab27f81e077dec07f905f3c73001bcf0ba9
parentdbe849384ca675fbd859daad78058f73879832dd
igbvf: fix MAC address if none assigned by PF

If use DPDK PF + DPDK VF on igb NICs, we find the MAC address of VF
port is always 0. Because we forget to give it a value if this MAC
address is not assigned by PF. This patch'll assign a random MAC
address to igb VF port as ixgbe does.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
doc/guides/rel_notes/release_2_2.rst
drivers/net/e1000/igb_ethdev.c