/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | bdn.h | 99 u8 max_bw[E2_FUNC_MAX]; /* 4 PFs in 2 port mode / 2 PFs in 4 port mode */ member
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_mcp.c | 827 lm_status_t lm_mcp_set_mf_bw(struct _lm_device_t *pdev, IN u8_t min_bw, IN u8_t max_bw) in lm_mcp_set_mf_bw() argument 853 if (max_bw > 100) in lm_mcp_set_mf_bw() 865 (max_bw << FUNC_MF_CFG_MAX_BW_SHIFT); in lm_mcp_set_mf_bw()
|
H A D | lm_devinfo.c | 1385 mf_info->max_bw); in lm_check_valid_mf_cfg() 1525 … mf_info->max_bw[vnic] = (GET_FLAGS(val, FUNC_MF_CFG_MAX_BW_MASK) >> FUNC_MF_CFG_MAX_BW_SHIFT); in lm_cmng_get_shmem_info() 1765 ASSERT_STATIC( ARRSIZE(mf_info->min_bw) == ARRSIZE(mf_info->max_bw) ) in lm_shmem_set_default() 1770 mf_info->max_bw[i] = 200; in lm_shmem_set_default() 4009 pdev->params.max_bw[vnic] = 0; in lm_cmng_calc_params() 4014 pdev->params.max_bw[vnic] = pdev->hw_info.mf_info.max_bw[vnic]; in lm_cmng_calc_params() 4035 u16_t max_bw = 0; in lm_get_max_bw() local 4043 max_bw = pdev->params.max_bw[vnic]*100; in lm_get_max_bw() 4049 max_bw = (link_speed * pdev->params.max_bw[vnic])/100; in lm_get_max_bw() 4051 return max_bw; in lm_get_max_bw()
|
H A D | lm_hw_init_reset.c | 2097 u8_t max_bw = (u8_t)pdev->params.bandwidth_max; in lm_chip_start() local 2106 if ( max_bw != 0 ) in lm_chip_start() 2110 lm_status = lm_mcp_set_mf_bw(pdev, min_bw, max_bw); in lm_chip_start()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_mcp.h | 382 u8 max_bw);
|
H A D | ecore_dev.c | 5401 u8 max_bw) in __ecore_configure_pf_max_bandwidth() argument 5405 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __ecore_configure_pf_max_bandwidth() 5407 if (!p_link->line_speed && (max_bw != 100)) in __ecore_configure_pf_max_bandwidth() 5410 p_link->speed = (p_link->line_speed * max_bw) / 100; in __ecore_configure_pf_max_bandwidth() 5417 if (max_bw == 100) in __ecore_configure_pf_max_bandwidth() 5431 int ecore_configure_pf_max_bandwidth(struct ecore_dev *p_dev, u8 max_bw) in ecore_configure_pf_max_bandwidth() argument 5435 if (max_bw < 1 || max_bw > 100) { in ecore_configure_pf_max_bandwidth() 5453 p_link, max_bw); in ecore_configure_pf_max_bandwidth()
|
H A D | ecore.h | 888 int ecore_configure_pf_max_bandwidth(struct ecore_dev *p_dev, u8 max_bw);
|
H A D | ecore_mcp.c | 1172 u8 max_bw, min_bw; in ecore_mcp_handle_link_change() local 1237 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in ecore_mcp_handle_link_change() 1241 __ecore_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw); in ecore_mcp_handle_link_change()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/ |
H A D | bdn.h | 159 u8 max_bw[MCP_GLOB_FUNC_MAX]; 546 u8 max_bw[BDN_SIZE_OF_PF_PER_PORT]; member
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq_cmd.h | 1747 u8 max_bw; /* 0-3, limit = 2^max */ member 1772 u8 max_bw; /* 0-3, limit = 2^max */ member 1877 u8 max_bw[16]; /* bandwidth limit */ member
|
H A D | i40e_prototype.h | 377 u16 seid, u16 credit, u8 max_bw, 450 u32 *max_bw, u32 *min_bw, bool *min_valid, bool *max_valid);
|
H A D | i40e_common.c | 5244 u16 seid, u16 credit, u8 max_bw, in i40e_aq_config_switch_comp_bw_limit() argument 5257 cmd->max_bw = max_bw; in i40e_aq_config_switch_comp_bw_limit() 6354 u32 *max_bw, u32 *min_bw, in i40e_read_bw_from_alt_ram() argument 6369 status = i40e_aq_alternate_read(hw, max_bw_addr, max_bw, in i40e_read_bw_from_alt_ram() 6377 if (*max_bw & I40E_ALT_BW_VALID_MASK) in i40e_read_bw_from_alt_ram()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm.h | 1312 lm_status_t lm_mcp_set_mf_bw(struct _lm_device_t *pdev, IN u8_t min_bw, IN u8_t max_bw);
|
H A D | lm5710.h | 1037 u8_t max_bw[MAX_VNIC_NUM]; member 1449 u8_t max_bw[MAX_VNIC_NUM]; member
|