net/i40e: fix flag for MAC address write
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 15 Jan 2018 08:32:18 +0000 (11:32 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commitb4f42173a54a9304486cca74ba72d620680e13b1
treea2b4257502ea03e63f9e3ca44d2810957704d1a2
parent380818b3182b1d7dad5440f8e821852a84162ff0
net/i40e: fix flag for MAC address write

Current flag is in wrong byte order for i40e_aq_mac_address_write,
and just uses the well defined macro instead.

Fixes: e18e01e92c29 ("i40e: support default MAC address setting")
Cc: stable@dpdk.org
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c