On 10/6/2018 1:49 AM, Ferruh Yigit wrote: > From: Juhamatti Kuusisaari <juhamatti.kuusisa...@coriant.com> > > 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 <juhamatti.kuusisa...@coriant.com> > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com> > --- > 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