Home
last modified time | relevance | path

Searched refs:lldp_params (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c767 struct ecore_lldp_config_params lldp_params; in qlnx_lldp_configure() local
778 bzero(&lldp_params, sizeof(struct ecore_lldp_config_params)); in qlnx_lldp_configure()
781 lldp_params.agent = ECORE_LLDP_NEAREST_BRIDGE; in qlnx_lldp_configure()
782 lldp_params.tx_interval = 30; //Default value used as suggested by MFW in qlnx_lldp_configure()
783 lldp_params.tx_hold = 4; //Default value used as suggested by MFW in qlnx_lldp_configure()
784 lldp_params.tx_credit = 5; //Default value used as suggested by MFW 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()
789 lldp_params.chassis_id_tlv[0] |= (QLNX_LLDP_TYPE_CHASSIS_ID << 1); in qlnx_lldp_configure()
[all …]
H A Decore_dcbx.c1565 struct lldp_config_params_s lldp_params; in ecore_lldp_get_params() local
1587 ecore_memcpy_from(p_hwfn, p_ptt, &lldp_params, addr, in ecore_lldp_get_params()
1588 sizeof(lldp_params)); in ecore_lldp_get_params()
1590 p_params->tx_interval = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()
1592 p_params->tx_hold = GET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_HOLD); 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()
1600 OSAL_MEMCPY(p_params->chassis_id_tlv, lldp_params.local_chassis_id, in ecore_lldp_get_params()
1606 OSAL_MEMCPY(p_params->port_id_tlv, lldp_params.local_port_id, in ecore_lldp_get_params()
[all …]
H A Dmcp_private.h392 lldp_params_s lldp_params[LLDP_MAX_LLDP_AGENTS]; member
/freebsd/sys/dev/bxe/
H A Decore_hsi.h2325 struct lldp_params { struct