> -----Original Message-----
> From: Wei Liu <[email protected]>
> Sent: Wednesday, April 7, 2021 9:17 AM
> To: Dexuan Cui <[email protected]>
> Cc: [email protected]; [email protected]; KY Srinivasan
> <[email protected]>; Haiyang Zhang <[email protected]>; Stephen
> Hemminger <[email protected]>; [email protected]; Wei Liu
> <[email protected]>; [email protected]; linux-
> [email protected]; [email protected]
> Subject: Re: [PATCH net-next] net: mana: Add a driver for Microsoft Azure
> Network Adapter (MANA)
>
> On Tue, Apr 06, 2021 at 04:23:21PM -0700, Dexuan Cui wrote:
> [...]
> > +config MICROSOFT_MANA
> > + tristate "Microsoft Azure Network Adapter (MANA) support"
> > + default m
> > + depends on PCI_MSI
> > + select PCI_HYPERV
>
> OOI which part of the code requires PCI_HYPERV?
>
> Asking because I can't immediately find code that looks to be Hyper-V
> specific (searching for vmbus etc). This device looks like any other PCI
> devices
> to me.
It depends on the VF nic's PCI config space which is presented by the
pci_hyperv driver.
Thanks,
- Haiyang