/freebsd-11-stable/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_hca_anafa.c | 89 osm_ts_get_port_info_ioctl port_info; local 112 port_info.port = 1; 114 ioctl(p_tpot_info->device_fd, TS_IB_IOCGPORTINFO, &port_info); 135 p_ca_info->attr.p_port_attr[0].lid = port_info.port_info.lid; 137 port_info.port_info.port_state; 138 p_ca_info->attr.p_port_attr[0].sm_lid = port_info.port_info.sm_lid;
|
H A D | osm_vendor_mlx_anafa.c | 592 osm_ts_set_port_info_ioctl port_info; local 596 port_info.port = 0; /* anafa has only 1 port */ 597 port_info.port_info.valid_fields = IB_PORT_IS_SM; 598 port_info.port_info.is_sm = is_sm_val; 601 ioctl_ret = ioctl(p_mgr->device_fd, TS_IB_IOCSPORTINFO, &port_info);
|
H A D | osm_vendor_mlx_ts.c | 382 ts_mad.dlid = port_data.port_info.lid; 492 set_port_data.port_info.valid_fields = IB_PORT_IS_SM; 493 set_port_data.port_info.is_sm = is_sm_val;
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom_l2t.h | 36 struct l2t_entry *t4_l2t_get(struct port_info *, struct ifnet *,
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_dump.c | 405 p_default_physp->port_info.base_lid == 406 p_default_physp->port_info. 417 cl_ntoh16(p_default_physp->port_info.base_lid), cPort); 434 p_default_physp->port_info.base_lid == 435 p_default_physp->port_info. 446 cl_ntoh16(p_default_physp->port_info.base_lid), 449 port_state = ib_port_info_get_port_state(&p_physp->port_info); 451 ib_port_info_get_link_speed_active(&p_physp->port_info); 464 if (p_default_physp->port_info.capability_mask & IB_PORT_CAP_HAS_EXT_SPEEDS) { 466 ib_port_info_get_link_speed_ext_active(&p_physp->port_info); [all...] |
H A D | osm_qos.c | 102 m_key = ib_port_info_get_m_key(&physp0->port_info); 104 m_key = ib_port_info_get_m_key(&p->port_info); 162 vl_mask = (1 << (ib_port_info_get_op_vls(&p->port_info) - 1)) - 1; 205 ib_port_info_t *p_pi = &p->port_info; 262 vl_mask = (1 << (ib_port_info_get_op_vls(&p->port_info) - 1)) - 1; 318 if (ib_port_info_get_port_state(&p->port_info) == IB_LINK_DOWN) 328 if (!(p0->port_info.capability_mask & IB_PORT_CAP_HAS_SL_MAP)) 342 if (ib_port_info_get_port_state(&p->port_info) == 345 op_vl = ib_port_info_get_op_vls(&p->port_info); 369 if (ib_port_info_get_port_state(&p->port_info) [all...] |
H A D | osm_sa_portinfo_record.c | 104 p_rec_item->resp.port_rec.port_info = p_physp->port_info; 113 p_pi = &p_physp0->port_info; 115 p_pi = (ib_port_info_t *) &p_physp->port_info; 117 if (ib_port_info_get_link_speed_ext_active(&p_physp->port_info)) { 119 p_pi = &p_rec_item->resp.port_rec.port_info; 198 p_comp_pi = &p_rcvd_rec->port_info; 199 p_pi = &p_physp->port_info; 203 &p_physp->port_info, FILE_ID, OSM_LOG_DEBUG); 422 cap_mask = p_physp0->port_info [all...] |
H A D | osm_port.c | 196 mtu = ib_port_info_get_mtu_cap(&p_physp->port_info); 199 ib_port_info_get_mtu_cap(&p_remote_physp->port_info); 224 mtu = ib_port_info_get_neighbor_mtu(&p_physp->port_info); 250 op_vls = ib_port_info_get_vl_cap(&p_physp->port_info); 253 ib_port_info_get_vl_cap(&p_remote_physp->port_info); 278 op_vls = ib_port_info_get_op_vls(&p_physp->port_info); 682 ib_port_info_set_port_state(&p_physp->port_info, IB_LINK_DOWN); 685 &p_physp->port_info); 687 p_physp->port_info = *p_pi;
|
H A D | osm_sa_guidinfo_record.c | 179 if (p_physp->port_info.guid_cap == 0) 182 num_blocks = p_physp->port_info.guid_cap / 8; 183 if (p_physp->port_info.guid_cap % 8) 396 max_block = (p_port->p_physp->port_info.guid_cap + GUID_TABLE_MAX_ENTRIES - 1) / 417 (block_num + 1) * GUID_TABLE_MAX_ENTRIES < p_port->p_physp->port_info.guid_cap ? i < (block_num + 1) * GUID_TABLE_MAX_ENTRIES : i < p_port->p_physp->port_info.guid_cap; 451 (block_num + 1) * GUID_TABLE_MAX_ENTRIES < p_port->p_physp->port_info.guid_cap ? i < (block_num + 1) * GUID_TABLE_MAX_ENTRIES : i < p_port->p_physp->port_info.guid_cap; 504 max_block = (p_port->p_physp->port_info.guid_cap + GUID_TABLE_MAX_ENTRIES - 1) / 544 (block_num + 1) * GUID_TABLE_MAX_ENTRIES < p_port->p_physp->port_info [all...] |
H A D | osm_guid_mgr.c | 77 ib_port_info_get_m_key(&p_port->p_physp->port_info),
|
H A D | osm_port_info_rcv.c | 77 cl_ntoh16(p->port_info.base_lid)); 78 pi->base_lid = p->port_info.base_lid; 178 ib_port_info_get_m_key(&p_physp->port_info), 228 p_physp->port_info = *p_pi; 244 ib_port_info_get_m_key(&p_physp->port_info), 329 m_key = ib_port_info_get_m_key(&physp0->port_info); 517 m_key = ib_port_info_get_m_key(&p_physp->port_info); 521 m_key = ib_port_info_get_m_key(&physp0->port_info);
|
H A D | osm_link_mgr.c | 116 p_old_pi = &p_physp->port_info; 200 m_key = ib_port_info_get_m_key(&physp0->port_info); 379 cap_mask = physp0->port_info.capability_mask; 394 rem_cap_mask = rphysp0->port_info.capability_mask; 396 rem_cap_mask = p_remote_physp->port_info.capability_mask;
|
H A D | osm_trap_rcv.c | 232 memcpy(payload, &p->port_info, sizeof(ib_port_info_t)); 248 m_key = ib_port_info_get_m_key(&physp0->port_info); 250 m_key = ib_port_info_get_m_key(&p->port_info); 455 p_smp->m_key = ib_port_info_get_m_key(&p_physp->port_info); 551 p_ntci->data_details.ntc_144.new_cap_mask == p_physp->port_info.capability_mask)
|
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_port.h | 107 ib_port_info_t port_info; member in struct:osm_physp 135 * port_info 491 p_physp->port_info.base_lid = base_lid; 812 return p_physp->port_info.subnet_prefix; 1045 return ib_port_info_get_port_state(&p_physp->port_info); 1074 return p_physp->port_info.base_lid; 1103 return ib_port_info_get_lmc(&p_physp->port_info);
|
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_l2t.h | 84 struct l2t_entry *t3_l2t_get(struct port_info *, struct ifnet *,
|
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_adapter.h | 91 struct port_info { struct 284 struct port_info *port; 372 struct port_info port[MAX_NPORTS]; 405 struct port_info *port; 490 t3_init_rx_mode(struct t3_rx_mode *rm, struct port_info *port) 496 static __inline struct port_info * 505 void t3_os_link_intr(struct port_info *); 520 int, struct port_info *); 530 int t3_sge_init_port(struct port_info *); 578 void cxgb_refresh_stats(struct port_info *); [all...] |
H A D | cxgb_main.c | 91 static int cxgb_init_locked(struct port_info *); 92 static int cxgb_uninit_locked(struct port_info *); 93 static int cxgb_uninit_synchronized(struct port_info *); 97 static void cxgb_build_medialist(struct port_info *); 130 static void cxgb_update_mac_settings(struct port_info *p); 132 static int toe_capability(struct port_info *, int); 304 static int set_eeprom(struct port_info *pi, const uint8_t *data, int len, int offset); 624 struct port_info *pi; 835 struct port_info *pi = &sc->port[i]; 963 struct port_info * [all...] |
/freebsd-11-stable/sys/mips/rmi/dev/nlge/ |
H A D | if_nlge.c | 196 struct xlr_gmac_port *port_info); 483 struct xlr_gmac_port *port_info; local 488 port_info = device_get_ivars(dev); 489 index = (port_info->type < XLR_RGMII || port_info->type > XLR_XAUI) ? 490 5 : port_info->type; 494 nlge_sc_init(sc, dev, port_info); 953 struct xlr_gmac_port *port_info; local 978 port_info = device_get_ivars( 980 pset = &na_sc[port_info 1744 struct xlr_gmac_port *port_info; local 1767 nlge_sc_init(struct nlge_softc *sc, device_t dev, struct xlr_gmac_port *port_info) argument 2256 nlge_set_port_attribs(struct nlge_softc *sc, struct xlr_gmac_port *port_info) argument [all...] |
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_sched.c | 76 struct port_info *pi; 237 struct port_info *pi; 378 struct port_info *pi = NULL; 429 struct port_info *pi; 487 struct port_info *pi; 567 struct port_info *pi;
|
H A D | adapter.h | 187 struct port_info *pi; 273 struct port_info { struct 817 struct port_info *port[MAX_NPORTS]; 1056 static inline struct port_info * 1064 t4_os_set_hw_addr(struct port_info *pi, uint8_t hw_addr[]) 1134 void t4_os_portmod_changed(struct port_info *); 1135 void t4_os_link_changed(struct port_info *); 1203 int tnl_cong(struct port_info *, int);
|
H A D | offload.h | 166 struct port_info;
|
H A D | t4_vf.c | 614 struct port_info *pi; 697 struct port_info *pi = sc->port[i]; 833 struct port_info *pi; 937 sizeof(struct port_info) 943 sizeof(struct port_info) 949 sizeof(struct port_info)
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_frontend.h | 228 port_info_func_t port_info; /* passed to CTL */ member in struct:ctl_port
|
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 269 struct listen_port_info *port_info = NULL; local 278 list_for_each_entry(port_info, &listen_port_list, list) 279 if (port_info->port_num == port) 282 port_info = malloc(sizeof(*port_info), M_CXGBE, M_WAITOK); 283 port_info->port_num = port; 284 port_info->refcnt = 0; 286 list_add_tail(&port_info->list, &listen_port_list); 287 INIT_LIST_HEAD(&port_info->lep_list); 290 port_info 300 struct listen_port_info *port_info = NULL; local 340 struct listen_port_info *port_info = NULL; local 2703 struct listen_port_info *port_info = NULL; local [all...] |
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | smpquery.c | 57 static op_fn_t node_desc, node_info, port_info, switch_info, pkey_table, variable 63 {"PortInfo", "PI", port_info, 1, ""}, 149 static char *port_info(ib_portid_t * dest, char **argv, int argc) function
|