Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c769 struct ecore_lldp_config_params lldp_params; in qlnx_lldp_configure() local
783 lldp_params.agent = ECORE_LLDP_NEAREST_BRIDGE; in qlnx_lldp_configure()
787 lldp_params.rx_enable = enable ? 1 : 0; in qlnx_lldp_configure()
788 lldp_params.tx_enable = enable ? 1 : 0; in qlnx_lldp_configure()
790 lldp_params.chassis_id_tlv[0] = 0; in qlnx_lldp_configure()
792 lldp_params.chassis_id_tlv[0] |= in qlnx_lldp_configure()
799 lldp_params.chassis_id_tlv[2] = lldp_mac[5]; in qlnx_lldp_configure()
801 lldp_params.port_id_tlv[0] = 0; in qlnx_lldp_configure()
803 lldp_params.port_id_tlv[0] |= in qlnx_lldp_configure()
807 lldp_params.port_id_tlv[0] |= lldp_mac[0] << 24; in qlnx_lldp_configure()
[all …]
H A Decore_dcbx.c1567 struct lldp_config_params_s lldp_params; in ecore_lldp_get_params() local
1589 ecore_memcpy_from(p_hwfn, p_ptt, &lldp_params, addr, in ecore_lldp_get_params()
1590 sizeof(lldp_params)); in ecore_lldp_get_params()
1595 p_params->tx_credit = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()
1597 p_params->rx_enable = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()
1599 p_params->tx_enable = GET_MFW_FIELD(lldp_params.config, in ecore_lldp_get_params()
1622 struct lldp_config_params_s lldp_params; in ecore_lldp_set_params() local
1646 OSAL_MEMSET(&lldp_params, 0, sizeof(lldp_params)); in ecore_lldp_set_params()
1661 sizeof(lldp_params.local_chassis_id)); in ecore_lldp_set_params()
1667 sizeof(lldp_params.local_port_id)); in ecore_lldp_set_params()
[all …]
H A Dmcp_private.h394 lldp_params_s lldp_params[LLDP_MAX_LLDP_AGENTS]; member
/freebsd-13.1/sys/dev/bxe/
H A Decore_hsi.h2327 struct lldp_params { struct