Home
last modified time | relevance | path

Searched refs:pci_vf (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/net/ethernet/intel/ice/devlink/
H A Dport.c417 struct devlink_port_pci_vf_attrs *pci_vf; in ice_devlink_port_set_vf_fn_mac() local
423 pci_vf = &attrs->pci_vf; in ice_devlink_port_set_vf_fn_mac()
424 vf_id = pci_vf->vf; in ice_devlink_port_set_vf_fn_mac()
461 attrs.pci_vf.pf = pf->hw.pf_id; in ice_devlink_create_vf_port()
462 attrs.pci_vf.vf = vf->vf_id; in ice_devlink_create_vf_port()
/linux-6.15/net/devlink/
H A Dport.c254 attrs->pci_vf.controller) || in devlink_nl_port_attrs_put()
255 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_PF_NUMBER, attrs->pci_vf.pf) || in devlink_nl_port_attrs_put()
256 nla_put_u16(msg, DEVLINK_ATTR_PORT_PCI_VF_NUMBER, attrs->pci_vf.vf)) in devlink_nl_port_attrs_put()
258 if (nla_put_u8(msg, DEVLINK_ATTR_PORT_EXTERNAL, attrs->pci_vf.external)) in devlink_nl_port_attrs_put()
1422 attrs->pci_vf.controller = controller; in devlink_port_attrs_pci_vf_set()
1423 attrs->pci_vf.pf = pf; in devlink_port_attrs_pci_vf_set()
1424 attrs->pci_vf.vf = vf; in devlink_port_attrs_pci_vf_set()
1425 attrs->pci_vf.external = external; in devlink_port_attrs_pci_vf_set()
1556 if (attrs->pci_vf.external) { in __devlink_port_phys_port_name_get()
1557 n = snprintf(name, len, "c%u", attrs->pci_vf.controller); in __devlink_port_phys_port_name_get()
[all …]
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Drep.c250 attrs.pci_vf.pf = rvu_get_pf(rep->pcifunc); in rvu_rep_devlink_port_register()
251 attrs.pci_vf.vf = rep->pcifunc & RVU_PFVF_FUNC_MASK; in rvu_rep_devlink_port_register()
/linux-6.15/drivers/net/netdevsim/
H A Ddev.c1378 attrs.pci_vf.pf = 0; in __nsim_dev_port_add()
1379 attrs.pci_vf.vf = port_index; in __nsim_dev_port_add()
/linux-6.15/include/net/
H A Ddevlink.h97 struct devlink_port_pci_vf_attrs pci_vf; member
/linux-6.15/Documentation/netlink/specs/
H A Ddevlink.yaml43 name: pci_vf