From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v8] net/pcap: physical interface MAC address support Date: Mon, 8 Oct 2018 13:14:55 +0100 Message-ID: References: <20181005202723.47967-1-ferruh.yigit@intel.com> <20181006004959.13097-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Juhamatti Kuusisaari To: Bruce Richardson , John McNamara , Marko Kovacevic Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E6A35568A for ; Mon, 8 Oct 2018 14:14:58 +0200 (CEST) In-Reply-To: <20181006004959.13097-1-ferruh.yigit@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/6/2018 1:49 AM, Ferruh Yigit wrote: > From: Juhamatti Kuusisaari > > At the moment, PCAP interfaces use dummy MAC by default. This change > adds support for selecting PCAP physical interface MAC with phy_mac=1 > devarg. This allows to setup packet flows using the physical interface > MAC. > > Signed-off-by: Juhamatti Kuusisaari > Signed-off-by: Ferruh Yigit > --- > v7: > * Add internal->phy_mac to be able to free data->mac_addrs > * code review comments applied > * doc format updates > * NOTE: FreeBSD functionality not tested Able to test on FreeBSD, works fine. > > v8: > * don't access kvlist internals directly > * store phy_mac in pmd_devargs instead of passing as arg to function