Re: [dpdk-dev] [PATCH v2] net/ice: use the copy API to do MAC assignment

2020-01-02 Thread Wang, Haiyue
> -Original Message- > From: Yang, Qiming > Sent: Friday, January 3, 2020 10:23 > To: Wang, Haiyue ; dev@dpdk.org; > step...@networkplumber.org; Zhang, Qi Z > ; Ye, Xiaolong > Cc: Wang, Haiyue > Subject: RE: [dpdk-dev] [PATCH v2] net/ice: use the copy API

Re: [dpdk-dev] [PATCH v2] net/ice: use the copy API to do MAC assignment

2020-01-02 Thread Yang, Qiming
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Haiyue Wang > Sent: Friday, January 3, 2020 10:02 AM > To: dev@dpdk.org; step...@networkplumber.org; Zhang, Qi Z > ; Ye, Xiaolong > Cc: Wang, Haiyue > Subject: [dpdk-dev] [PATCH v2] net/ice

[dpdk-dev] [PATCH v2] net/ice: use the copy API to do MAC assignment

2020-01-02 Thread Haiyue Wang
Use the fast copy an Ethernet address API to do MAC assignment, instead of calling rte_memcpy function. Signed-off-by: Haiyue Wang --- v2: Update the commit title and message, use the rte_ether_addr_copy API instead of just changing the length definition to make code style clean. drivers/ne