Searched refs:pf_num (Results 1 – 4 of 4) sorted by relevance
106 static struct mlx4_promisc_qp *get_promisc_qp(struct mlx4_dev *dev, u8 pf_num, in get_promisc_qp() argument110 struct mlx4_steer *s_steer = &mlx4_priv(dev)->steer[pf_num]; in get_promisc_qp()
1177 u8 pf_num; /* absolute PF number */ member1180 #define BP_PATH(bp) (CHIP_IS_E1x(bp) ? 0 : (bp->pf_num & 1))1183 #define BP_ABS_FUNC(bp) (bp->pf_num)
1191 return bp->cnic_base_cl_id + (bp->pf_num >> 1); in bnx2x_stats_id()1312 (bp->pf_num >> 1) * BNX2X_MAX_CNIC_ETH_CL_ID_IDX; in bnx2x_cnic_eth_cl_id()
3822 val1 |= (1 << bp->pf_num); in bnx2x_set_pf_load()3859 val1 &= ~(1 << bp->pf_num); in bnx2x_clear_pf_load()9243 bp->pfid = (bp->pf_num >> 1); /* 0..3 */ in bnx2x_get_common_hwinfo()9245 bp->pfid = (bp->pf_num & 0x6); /* 0, 2, 4, 6 */ in bnx2x_get_common_hwinfo()9248 bp->pfid = bp->pf_num; /* 0..7 */ in bnx2x_get_common_hwinfo()10923 bp->pf_num = PCI_FUNC(pdev->devfn); in bnx2x_init_dev()10927 bp->pf_num = (u8)((pci_cfg_dword & ME_REG_ABS_PF_NUM) >> in bnx2x_init_dev()10930 BNX2X_DEV_INFO("me reg PF num: %d\n", bp->pf_num); in bnx2x_init_dev()