[dpdk-dev] [PATCH v8] net/pcap: physical interface MAC address support
Ferruh Yigit
ferruh.yigit at intel.com
Mon Oct 8 14:14:55 CEST 2018
On 10/6/2018 1:49 AM, Ferruh Yigit wrote:
> From: Juhamatti Kuusisaari <Juhamatti.Kuusisaari at 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.kuusisaari at coriant.com>
> Signed-off-by: Ferruh Yigit <ferruh.yigit at 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
More information about the dev
mailing list