Date: Mon, 10 Jul 2017 21:07:25 -0400 From: Ryan Stone <rysto32@gmail.com> To: "Somayajulu, David" <David.Somayajulu@cavium.com> Cc: "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Question on SRIOV vf -> pf mapping Message-ID: <CAFMmRNyhGWiSNAoYf%2BnsHtT4xE=0M4AohCfXR8sGadYP7==qyw@mail.gmail.com> In-Reply-To: <BY2PR07MB147438FAF9C07643D8716694EEAE0@BY2PR07MB1474.namprd07.prod.outlook.com> References: <BY2PR07MB147438FAF9C07643D8716694EEAE0@BY2PR07MB1474.namprd07.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This isn't possible in general. When PCI Passthrough is in use, the VF driver will run in the context of the VM's kernel and there is no device_t corresponding to the PF at all. If you're looking to pass information from the PF down to the VF, then you need to establish some kind of device-mediated side-channel to pass the information from host to guest.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNyhGWiSNAoYf%2BnsHtT4xE=0M4AohCfXR8sGadYP7==qyw>