Home
last modified time | relevance | path

Searched refs:pci_pf (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/net/devlink/
H A Dport.c221 attrs->pci_pf.controller) || in devlink_nl_port_attrs_put()
222 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_pf.pf)) in devlink_nl_port_attrs_put()
224 if (nla_put_u8(msg, DEVLINK_ATTR_PORT_EXTERNAL, attrs->pci_pf.external)) in devlink_nl_port_attrs_put()
1333 attrs->pci_pf.controller = controller; in devlink_port_attrs_pci_pf_set()
1334 attrs->pci_pf.pf = pf; in devlink_port_attrs_pci_pf_set()
1335 attrs->pci_pf.external = external; in devlink_port_attrs_pci_pf_set()
1440 if (attrs->pci_pf.external) { in __devlink_port_phys_port_name_get()
1441 n = snprintf(name, len, "c%u", attrs->pci_pf.controller); in __devlink_port_phys_port_name_get()
1447 n = snprintf(name, len, "pf%u", attrs->pci_pf.pf); in __devlink_port_phys_port_name_get()
/kernel/linux/linux-5.10/net/core/
H A Ddevlink.c678 attrs->pci_pf.controller) || in devlink_nl_port_attrs_put()
679 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_pf.pf)) in devlink_nl_port_attrs_put()
681 if (nla_put_u8(msg, DEVLINK_ATTR_PORT_EXTERNAL, attrs->pci_pf.external)) in devlink_nl_port_attrs_put()
8342 attrs->pci_pf.controller = controller; in devlink_port_attrs_pci_pf_set()
8343 attrs->pci_pf.pf = pf; in devlink_port_attrs_pci_pf_set()
8344 attrs->pci_pf.external = external; in devlink_port_attrs_pci_pf_set()
8403 if (attrs->pci_pf.external) { in __devlink_port_phys_port_name_get()
8404 n = snprintf(name, len, "c%u", attrs->pci_pf.controller); in __devlink_port_phys_port_name_get()
8410 n = snprintf(name, len, "pf%u", attrs->pci_pf.pf); in __devlink_port_phys_port_name_get()
/kernel/linux/linux-5.10/include/net/
H A Ddevlink.h103 * @pci_pf: PCI PF port attributes
114 struct devlink_port_pci_pf_attrs pci_pf; member
/kernel/linux/linux-6.6/include/net/
H A Ddevlink.h83 * @pci_pf: PCI PF port attributes
95 struct devlink_port_pci_pf_attrs pci_pf; member

Completed in 23 milliseconds