ethdev: fix MAC address replay
authorSteve Shin <jonshin@cisco.com>
Fri, 27 Jan 2017 17:57:29 +0000 (09:57 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 30 Jan 2017 09:15:57 +0000 (10:15 +0100)
commit9bdfc1e5963a6a25b06347f3a8eebf9e36273de0
tree5292d921176c79a78ab158c9e90d95ac379eff1a
parent7c931952248f9f84cf7ede7911a3354eeeacfb0c
ethdev: fix MAC address replay

This patch fixes a bug in replaying MAC address to the hardware
in rte_eth_dev_config_restore() routine. Added default MAC replay as well.

Fixes: 4bdefaade6d1 ("ethdev: VMDQ enhancements")

Signed-off-by: Steve Shin <jonshin@cisco.com>
Reviewed-by: Igor Ryzhov <iryzhov@nfware.com>
lib/librte_ether/rte_ethdev.c