Lines Matching defs:pci_sriov
319 struct pci_sriov { struct
320 int pos; /* Capability position */
321 int nres; /* Number of resources */
322 u32 cap; /* SR-IOV Capabilities */
323 u16 ctrl; /* SR-IOV Control */
324 u16 total_VFs; /* Total VFs associated with the PF */
325 u16 initial_VFs; /* Initial VFs associated with the PF */
326 u16 num_VFs; /* Number of VFs available */
327 u16 offset; /* First VF Routing ID offset */
328 u16 stride; /* Following VF stride */
329 u16 vf_device; /* VF device ID */
330 u32 pgsz; /* Page size for BAR alignment */
331 u8 link; /* Function Dependency Link */
332 u8 max_VF_buses; /* Max buses consumed by VFs */
333 u16 driver_max_VFs; /* Max num VFs driver supports */
334 struct pci_dev *dev; /* Lowest numbered PF */
335 struct pci_dev *self; /* This PF */
336 u32 class; /* VF device */
337 u8 hdr_type; /* VF header type */
338 u16 subsystem_vendor; /* VF subsystem vendor */
339 u16 subsystem_device; /* VF subsystem device */
340 resource_size_t barsz[PCI_SRIOV_NUM_BARS]; /* VF BAR size */
341 bool drivers_autoprobe; /* Auto probing of VFs by driver */