Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 08:49:42 +0000
From:      "Hongxiong Xian (Wicresoft North America Ltd)" <v-hoxian@microsoft.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   How to hotplug a PCI device (such as VF) on FreeBSD
Message-ID:  <HK0P153MB0130D768D53BF1FBE68C5AA1835E0@HK0P153MB0130.APCP153.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
Hi,

I'm looking for a way to refresh the pci device list.
In Linux, we can remove a particular pci device, and then after preforming =
a "rescan" the device will appear again.
For example, disable/rescind PCI (such as VF) :
echo 1 >  /sys/bus/pci/devices/0001\:00\:02.0/remove
# Get the device back
echo 1 > /sys/bus/pci/rescan

I'm looking for a similar way in FreeBSD. Does the FreeBSD support the hotp=
lug of a PCI device?  Thanks in advance!


Thanks,
Hongxiong




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HK0P153MB0130D768D53BF1FBE68C5AA1835E0>