[dpdk-dev] [PATCH v2 03/17] net/txgbe: support add and remove VF device MAC address

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 24 12:40:15 CET 2021


On 2/5/2021 3:34 AM, Jiawen Wu wrote:
> Generate a random MAC address if none was assigned by PF during
> the initialization of VF device. And support to add and remove
> MAC address.
> 
> Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>

<...>

>   static const struct eth_dev_ops txgbevf_eth_dev_ops = {
> +	.mac_addr_add         = txgbevf_add_mac_addr,
> +	.mac_addr_remove      = txgbevf_remove_mac_addr,
> +	.mac_addr_set         = txgbevf_set_default_mac_addr,
>   };

Should announce "Unicast MAC filter" feature.


More information about the dev mailing list