Creating and deleting the VM with SRIOV don't clear the MAC address on VF

Solution In Progress - Updated -

Issue

After creating the VM with SRIOV interface attached and deleting the VM with SRIOV interface the MAC address and the VLAN tag is not cleared and is still part of the VF(virtual function):

# ip -s link ls | grep fa:16:3e:ef:13:55 -4
    vf 58 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
    vf 59 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
    vf 60 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
    vf 61 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
    vf 62 MAC fa:16:3e:ef:13:55, vlan 20, spoof checking on, link-state auto <----- the MAC address is not cleared

Environment

  • Red Hat OpenStack Platform 8
  • SRIOV

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content