Lines Matching defs:lldp_params

3097                          b10_lldp_params_get_t          * lldp_params)
3108 mm_mem_zero(lldp_params, sizeof(b10_lldp_params_get_t));
3123 lldp_params->config_lldp_params.overwrite_settings =
3137 lldp_params->ver_num = LLDP_PARAMS_VER_NUM;
3138 lldp_params->config_lldp_params.msg_tx_hold = mcp_lldp_params.msg_tx_hold;
3139 lldp_params->config_lldp_params.msg_fast_tx = mcp_lldp_params.msg_fast_tx_interval;
3140 lldp_params->config_lldp_params.tx_credit_max = mcp_lldp_params.tx_crd_max;
3141 lldp_params->config_lldp_params.msg_tx_interval = mcp_lldp_params.msg_tx_interval;
3142 lldp_params->config_lldp_params.tx_fast = mcp_lldp_params.tx_fast;
3146 ASSERT_STATIC(ARRSIZE(lldp_params->remote_chassis_id) >= ARRSIZE(mcp_lldp_params.peer_chassis_id));
3147 ASSERT_STATIC(sizeof(lldp_params->remote_chassis_id[0]) == sizeof(mcp_lldp_params.peer_chassis_id[0]));
3150 lldp_params->remote_chassis_id[i] = mcp_lldp_params.peer_chassis_id[i];
3153 ASSERT_STATIC(sizeof(lldp_params->remote_port_id[0]) == sizeof(mcp_lldp_params.peer_port_id[0]));
3154 ASSERT_STATIC(ARRSIZE(lldp_params->remote_port_id) > ARRSIZE(mcp_lldp_params.peer_port_id));
3157 lldp_params->remote_port_id[i] = mcp_lldp_params.peer_port_id[i];
3160 lldp_params->admin_status = mcp_lldp_params.admin_status;
3187 ASSERT_STATIC(ARRSIZE(lldp_params->local_chassis_id) >= ARRSIZE(mcp_dcbx_stat.local_chassis_id));
3188 ASSERT_STATIC(sizeof(lldp_params->local_chassis_id[0]) >= sizeof(mcp_dcbx_stat.local_chassis_id[0]));
3191 lldp_params->local_chassis_id[i] = mcp_dcbx_stat.local_chassis_id[i];
3194 ASSERT_STATIC(ARRSIZE(lldp_params->local_port_id) >= ARRSIZE(mcp_dcbx_stat.local_port_id));
3195 ASSERT_STATIC(sizeof(lldp_params->local_port_id[0]) >= sizeof(mcp_dcbx_stat.local_port_id[0]));
3198 lldp_params->local_port_id[i] = mcp_dcbx_stat.local_port_id[i];
4456 lldp_params_t lldp_params = {0};
4471 buff = (u32_t *)&lldp_params;
4477 lldp_params.msg_tx_hold = (u8_t)pdev->params.lldp_config_params.msg_tx_hold;
4478 lldp_params.msg_fast_tx_interval = (u8_t)pdev->params.lldp_config_params.msg_fast_tx;
4479 lldp_params.tx_crd_max = (u8_t)pdev->params.lldp_config_params.tx_credit_max;
4480 lldp_params.msg_tx_interval = (u8_t)pdev->params.lldp_config_params.msg_tx_interval;
4481 lldp_params.tx_fast = (u8_t)pdev->params.lldp_config_params.tx_fast;
4484 buff = (u32_t *)&lldp_params;