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 <[email protected]>
<...>
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.

