fm10k/base: use memcpy for MAC address copy
authorXiao Wang <xiao.w.wang@intel.com>
Fri, 19 Feb 2016 11:06:58 +0000 (19:06 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:51:44 +0000 (18:51 +0100)
commit49670b6eae94aa2d786c694402f06f9a0c729111
treef2ba8694ab1a7c351cdf14af94a9d16de3533404
parentdb034194f79892d8bf6240df413691ba8e4a295a
fm10k/base: use memcpy for MAC address copy

Use memcpy instead of copying MAC address byte-by-byte.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Tested-by: Heng Ding <hengx.ding@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/fm10k/base/fm10k_pf.c