From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wu, Jingjing" Subject: Re: [PATCH] i40evf: fix mac deletion when stop dev Date: Mon, 30 Nov 2015 05:48:52 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8D43AC2@SHSMSX104.ccr.corp.intel.com> References: <1448855649-24658-1-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Zhang, Helin" , "dev@dpdk.org" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4740F5AA0 for ; Mon, 30 Nov 2015 06:48:56 +0100 (CET) In-Reply-To: Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > + /* Set mac addr */ > > + (void)rte_memcpy(mac_addr.addr_bytes, hw->mac.addr, > > + sizeof(mac_addr.addr_bytes)); > Use ether_addr_copy() instead. >=20 > /Helin Thanks. But the types of mac_addr and hw->mac are different, cannot use eth= er_addr_copy. Thanks Jingjing