Searched refs:port_info (Results 1 – 5 of 5) sorted by relevance
157 const struct ib_port_info *port_info = &mad->smp.smp_data.port_info; in ib_sma_set_port_info() local163 memcpy ( &ibdev->gid.u.half[0], port_info->gid_prefix, in ib_sma_set_port_info()165 ibdev->lid = ntohs ( port_info->lid ); in ib_sma_set_port_info()166 ibdev->sm_lid = ntohs ( port_info->mastersm_lid ); in ib_sma_set_port_info()167 if ( ( link_width_enabled = port_info->link_width_enabled ) ) in ib_sma_set_port_info()170 ( port_info->link_speed_active__link_speed_enabled & 0xf ) ) ) in ib_sma_set_port_info()172 ibdev->sm_sl = ( port_info->neighbour_mtu__mastersm_sl & 0xf ); in ib_sma_set_port_info()199 struct ib_port_info *port_info = &mad->smp.smp_data.port_info; in ib_sma_port_info() local212 memset ( port_info, 0, sizeof ( *port_info ) ); in ib_sma_port_info()213 memcpy ( port_info->gid_prefix, &ibdev->gid.u.half[0], in ib_sma_port_info()[all …]
134 struct ib_port_info *port_info = &mad.smp.smp_data.port_info; in ib_smc_update() local144 memcpy ( &ibdev->gid.u.half[0], port_info->gid_prefix, in ib_smc_update()146 ibdev->lid = ntohs ( port_info->lid ); in ib_smc_update()147 ibdev->sm_lid = ntohs ( port_info->mastersm_lid ); in ib_smc_update()148 ibdev->link_width_enabled = port_info->link_width_enabled; in ib_smc_update()149 ibdev->link_width_supported = port_info->link_width_supported; in ib_smc_update()150 ibdev->link_width_active = port_info->link_width_active; in ib_smc_update()152 ( port_info->link_speed_supported__port_state >> 4 ); in ib_smc_update()154 ( port_info->link_speed_supported__port_state & 0xf ); in ib_smc_update()156 ( port_info->link_speed_active__link_speed_enabled >> 4 ); in ib_smc_update()[all …]
181 struct ib_port_info port_info; member
275 struct ib_port_info *port_info = &mad->smp.smp_data.port_info; in linda_set_port_info() local281 port_state = ( port_info->link_speed_supported__port_state & 0xf ); in linda_set_port_info()
5825 integer_t port_info[10]; in PRE() member