Searched refs:pci_vf (Results 1 – 3 of 3) sorted by relevance
786 attrs->pci_vf.controller) || in devlink_nl_port_attrs_put()787 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_vf.pf) || in devlink_nl_port_attrs_put()788 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_VF_NUMBER, attrs->pci_vf.vf)) in devlink_nl_port_attrs_put()790 if (nla_put_u8(msg, DEVLINK_ATTR_PORT_EXTERNAL, attrs->pci_vf.external)) in devlink_nl_port_attrs_put()9332 attrs->pci_vf.controller = controller; in devlink_port_attrs_pci_vf_set()9333 attrs->pci_vf.pf = pf; in devlink_port_attrs_pci_vf_set()9334 attrs->pci_vf.vf = vf; in devlink_port_attrs_pci_vf_set()9335 attrs->pci_vf.external = external; in devlink_port_attrs_pci_vf_set()9506 if (attrs->pci_vf.external) { in __devlink_port_phys_port_name_get()9507 n = snprintf(name, len, "c%u", attrs->pci_vf.controller); in __devlink_port_phys_port_name_get()[all …]
1297 attrs.pci_vf.pf = 0; in __nsim_dev_port_add()1298 attrs.pci_vf.vf = port_index; in __nsim_dev_port_add()
133 struct devlink_port_pci_vf_attrs pci_vf; member