net/ice: use ethernet copy API to do MAC assignment
authorHaiyue Wang <haiyue.wang@intel.com>
Mon, 13 Jan 2020 08:22:21 +0000 (16:22 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:02 +0000 (19:46 +0100)
commitc7c5e2621077bce4222868d910293eb7ec19431e
tree9e99d65c3c91065d0cb6c1d05233d27023afdbc7
parent89214fe915b8afb118105a784740b6910e54ade5
net/ice: use ethernet copy API to do MAC assignment

Use the API rte_ether_addr_copy to do MAC assignment, instead of
calling rte_memcpy function directly.

Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine")
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c