Searched refs:lldp_params (Results 1 – 4 of 4) sorted by relevance
767 struct ecore_lldp_config_params lldp_params; in qlnx_lldp_configure() local781 lldp_params.agent = ECORE_LLDP_NEAREST_BRIDGE; in qlnx_lldp_configure()785 lldp_params.rx_enable = enable ? 1 : 0; in qlnx_lldp_configure()786 lldp_params.tx_enable = enable ? 1 : 0; in qlnx_lldp_configure()788 lldp_params.chassis_id_tlv[0] = 0; in qlnx_lldp_configure()790 lldp_params.chassis_id_tlv[0] |= in qlnx_lldp_configure()797 lldp_params.chassis_id_tlv[2] = lldp_mac[5]; in qlnx_lldp_configure()799 lldp_params.port_id_tlv[0] = 0; in qlnx_lldp_configure()801 lldp_params.port_id_tlv[0] |= in qlnx_lldp_configure()805 lldp_params.port_id_tlv[0] |= lldp_mac[0] << 24; in qlnx_lldp_configure()[all …]
1565 struct lldp_config_params_s lldp_params; in ecore_lldp_get_params() local1587 ecore_memcpy_from(p_hwfn, p_ptt, &lldp_params, addr, in ecore_lldp_get_params()1588 sizeof(lldp_params)); in ecore_lldp_get_params()1593 p_params->tx_credit = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()1595 p_params->rx_enable = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()1597 p_params->tx_enable = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()1620 struct lldp_config_params_s lldp_params; in ecore_lldp_set_params() local1644 OSAL_MEMSET(&lldp_params, 0, sizeof(lldp_params)); in ecore_lldp_set_params()1659 sizeof(lldp_params.local_chassis_id)); in ecore_lldp_set_params()1665 sizeof(lldp_params.local_port_id)); in ecore_lldp_set_params()[all …]
392 lldp_params_s lldp_params[LLDP_MAX_LLDP_AGENTS]; member
2325 struct lldp_params { struct