Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c33 u16 pfnum; in mlx5_esw_dl_port_alloc() local
40 pfnum = PCI_FUNC(dev->pdev->devfn); in mlx5_esw_dl_port_alloc()
47 attrs.phys.port_number = pfnum; in mlx5_esw_dl_port_alloc()
54 devlink_port_attrs_pci_pf_set(dl_port, controller_num, pfnum, external); in mlx5_esw_dl_port_alloc()
58 devlink_port_attrs_pci_vf_set(dl_port, controller_num, pfnum, in mlx5_esw_dl_port_alloc()
/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.c1160 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()