net: enable random address on Windows
authorPallavi Kadam <pallavi.kadam@intel.com>
Thu, 9 Sep 2021 23:23:20 +0000 (16:23 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 30 Sep 2021 18:51:11 +0000 (20:51 +0200)
commit876d40fe6d71255414e63ff490cc8efdf6850c8a
tree7939fccdde268108ab21680877319a2a1dc44510
parent3c6e581025109926c166bbd2f7ea678f07c3bbce
net: enable random address on Windows

IAVF PMD needs to generate a random MAC address if it is not configured
by host.
'random' is now supported on Windows.

Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
Acked-by: Shivanshu Shukla <shivanshu.shukla@intel.com>
lib/net/rte_ether.c