Searched refs:pfnum (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 32 u16 pfnum; in mlx5_esw_dl_port_alloc() local 39 pfnum = PCI_FUNC(dev->pdev->devfn); in mlx5_esw_dl_port_alloc() 46 attrs.phys.port_number = pfnum; in mlx5_esw_dl_port_alloc() 53 devlink_port_attrs_pci_pf_set(dl_port, controller_num, pfnum, external); in mlx5_esw_dl_port_alloc() 57 devlink_port_attrs_pci_vf_set(dl_port, controller_num, pfnum, in mlx5_esw_dl_port_alloc() 145 u16 pfnum; in mlx5_esw_devlink_sf_port_register() local 152 pfnum = PCI_FUNC(dev->pdev->devfn); in mlx5_esw_devlink_sf_port_register() 156 devlink_port_attrs_pci_sf_set(dl_port, controller, pfnum, sfnum, !!controller); in mlx5_esw_devlink_sf_port_register()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.c | 1160 int pfnum, mac, trs, ret; in cn23xx_get_pf_num() local 1179 pfnum = (pkt0_in_ctl >> CN23XX_PKT_INPUT_CTL_PF_NUM_POS) & in cn23xx_get_pf_num() 1185 CN23XX_SLI_PKT_MAC_RINFO64(mac, pfnum)); in cn23xx_get_pf_num() 1190 pfnum); in cn23xx_get_pf_num() 1191 oct->pf_num = pfnum; in cn23xx_get_pf_num()
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | devlink.c | 326 if (new_attr->pfnum != PCI_FUNC(dev->pdev->devfn)) { in mlx5_sf_new_check_attr()
|