Lines Matching refs:vnic

1058 #define MAX_CONNECTIONS         2048  /* Max 32K Connections per port / vnic-per-port (rounded  to power2)*/
1067 #define MAX_CONNECTIONS (min(16384,(32768 / (log2_align(pdev->hw_info.mf_info.vnics_per_port))))) /* Max 32K Connections per port / vnic-per-port (rounded to power2)
1415 /* enumerated vnic id > 0 must have valid ovlan if we're in switch-dependet mode */
1511 u8_t vnic = 0;
1524 mf_info->min_bw[vnic] = (GET_FLAGS(val, FUNC_MF_CFG_MIN_BW_MASK) >> FUNC_MF_CFG_MIN_BW_SHIFT);
1525 mf_info->max_bw[vnic] = (GET_FLAGS(val, FUNC_MF_CFG_MAX_BW_MASK) >> FUNC_MF_CFG_MAX_BW_SHIFT);
1526 vnic++;
1863 /* decide on path multi vnics mode - incase we're not in mf mode...and in 4-port-mode good enough to check vnic-0 of the other port, on the same path */
1886 /* If we're multi-vnic, we'll set a default mf_mode of switch-dependent, this could be overriden
1897 /* sanity checks on vnic params */
2115 /* decide on path multi vnics mode - incase we're not in mf mode...and in 4-port-mode good enough to check vnic-0 of the other port, on the same path */
2772 #define LM_CAM_SIZE_EMUL (5) /*5 per vnic also in single function mode (real cam size on emulation is 20 per port) */
3645 /* get vnic parameters */
4001 u8_t vnic = 0;
4003 for (vnic = 0; vnic < MAX_VNIC_NUM; vnic++)
4007 pdev->params.min_bw[vnic] = 0;
4008 pdev->params.max_bw[vnic] = 0;
4012 pdev->params.min_bw[vnic] = pdev->hw_info.mf_info.min_bw[vnic];
4013 pdev->params.max_bw[vnic] = pdev->hw_info.mf_info.max_bw[vnic];
4024 * @param vnic
4032 IN const u8_t vnic)
4038 //global vnic counter
4042 max_bw = pdev->params.max_bw[vnic]*100;
4048 max_bw = (link_speed * pdev->params.max_bw[vnic])/100;