// Detach for physical endpoint unbinds the physical network interface from vfio-pci
// and binds it back to the saved host driver.
Detach for physical endpoint unbinds the physical network interface from vfio-pci
and binds it back to the saved host driver.
// Detach for physical endpoint unbinds the physical network interface from vfio - pci // and binds it back to the saved host driver .
func (endpoint *PhysicalEndpoint) Detach(netNsCreated bool, netNsPath string) error {
	return bindNICToHost(endpoint)
}
func ( endpoint * PhysicalEndpoint ) Detach ( netNsCreated bool , netNsPath string ) error { return bindNICToHost ( endpoint ) }
Detach for physical endpoint unbinds the physical network interface from vfio-pci
and binds it back to the saved host driver.
Detach for physical endpoint unbinds the physical network interface from vfio - pci and binds it back to the saved host driver .
// Bind back the physical network interface to host. // We need to do this even if a new network namespace has not // been created by virtcontainers. // We do not need to enter the network namespace to bind back the // physical interface to host driver.