Home
last modified time | relevance | path

Searched refs:pci_pf (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/core/
Ddevlink.c1079 attrs->pci_pf.controller) || in devlink_nl_port_attrs_put()
1080 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_pf.pf)) in devlink_nl_port_attrs_put()
1082 if (nla_put_u8(msg, DEVLINK_ATTR_PORT_EXTERNAL, attrs->pci_pf.external)) in devlink_nl_port_attrs_put()
10154 attrs->pci_pf.controller = controller; in devlink_port_attrs_pci_pf_set()
10155 attrs->pci_pf.pf = pf; in devlink_port_attrs_pci_pf_set()
10156 attrs->pci_pf.external = external; in devlink_port_attrs_pci_pf_set()
10355 if (attrs->pci_pf.external) { in __devlink_port_phys_port_name_get()
10356 n = snprintf(name, len, "c%u", attrs->pci_pf.controller); in __devlink_port_phys_port_name_get()
10362 n = snprintf(name, len, "pf%u", attrs->pci_pf.pf); in __devlink_port_phys_port_name_get()
/linux-6.1.9/include/net/
Ddevlink.h95 struct devlink_port_pci_pf_attrs pci_pf; member