def METHOD_NAME(self, config: TcRecipeConfiguration):
    """
    Cleanup:
    tc filter del dev ens5f0np0 ingress
    devlink dev eswitch set pci/$pci mode legacy
    echo 0 > /sys/bus/pci/devices/$pci/sriov_numvfs
    """
    host: Namespace = self.matched.host1
    host.run(f"tc filter del dev {host.eth0.name} ingress") # Probably not needed, it seems to be done by lnst device class
    host.run(f"echo 0 > /sys/class/net/{host.eth0.name}/device/sriov_numvfs")
    time.sleep(2)
    host.run(f"devlink dev eswitch set pci/{host.eth0.bus_info} mode legacy")
    time.sleep(3)