| /NextBSD/contrib/ofed/management/opensm/osmtest/ |
| HD | osmtest.c | 1622 *p_lmc = ib_port_info_get_lmc(&p_rec->port_info); in osmtest_get_local_port_lmc() 1768 cl_ntoh64(p_rec->port_info.m_key), in osmtest_write_port_info() 1769 cl_ntoh64(p_rec->port_info.subnet_prefix), in osmtest_write_port_info() 1770 cl_ntoh16(p_rec->port_info.base_lid), in osmtest_write_port_info() 1771 cl_ntoh16(p_rec->port_info.master_sm_base_lid), in osmtest_write_port_info() 1772 cl_ntoh32(p_rec->port_info.capability_mask), in osmtest_write_port_info() 1773 cl_ntoh16(p_rec->port_info.diag_code), in osmtest_write_port_info() 1774 cl_ntoh16(p_rec->port_info.m_key_lease_period), in osmtest_write_port_info() 1775 p_rec->port_info.local_port_num, in osmtest_write_port_info() 1776 p_rec->port_info.link_width_enabled, in osmtest_write_port_info() [all …]
|
| /NextBSD/contrib/ofed/management/opensm/libvendor/ |
| HD | osm_vendor_mlx_hca_anafa.c | 89 osm_ts_get_port_info_ioctl port_info; in __osm_ca_info_init() local 112 port_info.port = 1; in __osm_ca_info_init() 114 ioctl(p_tpot_info->device_fd, TS_IB_IOCGPORTINFO, &port_info); in __osm_ca_info_init() 135 p_ca_info->attr.p_port_attr[0].lid = port_info.port_info.lid; in __osm_ca_info_init() 137 port_info.port_info.port_state; in __osm_ca_info_init() 138 p_ca_info->attr.p_port_attr[0].sm_lid = port_info.port_info.sm_lid; in __osm_ca_info_init()
|
| HD | osm_vendor_mlx_anafa.c | 592 osm_ts_set_port_info_ioctl port_info; in osm_vendor_set_sm() local 596 port_info.port = 0; /* anafa has only 1 port */ in osm_vendor_set_sm() 597 port_info.port_info.valid_fields = IB_PORT_IS_SM; in osm_vendor_set_sm() 598 port_info.port_info.is_sm = is_sm_val; in osm_vendor_set_sm() 601 ioctl_ret = ioctl(p_mgr->device_fd, TS_IB_IOCSPORTINFO, &port_info); in osm_vendor_set_sm()
|
| HD | osm_vendor_mlx_ts.c | 382 ts_mad.dlid = port_data.port_info.lid; in __osm_transport_gen_dummy_mad() 492 set_port_data.port_info.valid_fields = IB_PORT_IS_SM; in osm_vendor_set_sm() 493 set_port_data.port_info.is_sm = is_sm_val; in osm_vendor_set_sm()
|
| HD | osm_vendor_ibumad_sa.c | 478 ib_portinfo_record_t port_info; in osmv_query_sa() local 569 sa_mad_data.p_attr = &port_info; in osmv_query_sa() 570 port_info.lid = *(ib_net16_t *) (p_query_req->p_query_input); in osmv_query_sa()
|
| HD | osm_vendor_mlx_sa.c | 593 ib_portinfo_record_t port_info; in osmv_query_sa() local 690 sa_mad_data.p_attr = &port_info; in osmv_query_sa() 691 port_info.lid = *(ib_net16_t *) (p_query_req->p_query_input); in osmv_query_sa()
|
| /NextBSD/contrib/ofed/management/opensm/include/opensm/ |
| HD | osm_port.h | 105 ib_port_info_t port_info; member 434 ib_port_info_set_port_state(&p_physp->port_info, IB_LINK_DOWN); in osm_physp_set_port_info() 437 &p_physp->port_info); in osm_physp_set_port_info() 439 p_physp->port_info = *p_pi; in osm_physp_set_port_info() 768 return (p_physp->port_info.subnet_prefix); in osm_physp_get_subnet_prefix() 1007 return (ib_port_info_get_port_state(&p_physp->port_info)); in osm_physp_get_port_state() 1037 return (p_physp->port_info.base_lid); in osm_physp_get_base_lid() 1066 return (ib_port_info_get_lmc(&p_physp->port_info)); in osm_physp_get_lmc()
|
| /NextBSD/contrib/ofed/management/opensm/opensm/ |
| HD | osm_dump.c | 396 p_default_physp->port_info.base_lid == in dump_topology_node() 397 p_default_physp->port_info. in dump_topology_node() 408 cl_ntoh16(p_default_physp->port_info.base_lid), cPort); in dump_topology_node() 425 p_default_physp->port_info.base_lid == in dump_topology_node() 426 p_default_physp->port_info. in dump_topology_node() 437 cl_ntoh16(p_default_physp->port_info.base_lid), in dump_topology_node() 440 port_state = ib_port_info_get_port_state(&p_physp->port_info); in dump_topology_node() 442 ib_port_info_get_link_speed_active(&p_physp->port_info); in dump_topology_node() 445 p_physp->port_info.link_width_active == 1 ? "1x" : in dump_topology_node() 446 p_physp->port_info.link_width_active == 2 ? "4x" : in dump_topology_node() [all …]
|
| HD | osm_sa_portinfo_record.c | 104 p_rec_item->rec.port_info = p_physp->port_info; in __osm_pir_rcv_new_pir() 180 p_comp_pi = &p_rcvd_rec->port_info; in __osm_sa_pir_check_physp() 181 p_pi = &p_physp->port_info; in __osm_sa_pir_check_physp() 187 &p_physp->port_info, OSM_LOG_DEBUG); in __osm_sa_pir_check_physp() 517 p_pi = &p_rcvd_rec->port_info; in osm_pir_rcv_process() 585 item->rec.port_info.m_key = 0; in osm_pir_rcv_process()
|
| HD | osm_qos.c | 81 vl_mask = (1 << (ib_port_info_get_op_vls(&p->port_info) - 1)) - 1; in vlarb_update_table_block() 111 ib_port_info_t *p_pi = &p->port_info; in vlarb_update() 166 vl_mask = (1 << (ib_port_info_get_op_vls(&p->port_info) - 1)) - 1; in sl2vl_update_table() 202 if (ib_port_info_get_vl_cap(&p->port_info) == 1) { in sl2vl_update() 206 (p_physp->port_info. in sl2vl_update() 212 if (!(p->port_info.capability_mask & IB_PORT_CAP_HAS_SL_MAP)) in sl2vl_update()
|
| HD | osm_port.c | 319 mtu = ib_port_info_get_mtu_cap(&p_physp->port_info); in osm_physp_calc_link_mtu() 322 ib_port_info_get_mtu_cap(&p_remote_physp->port_info); in osm_physp_calc_link_mtu() 346 mtu = ib_port_info_get_neighbor_mtu(&p_physp->port_info); in osm_physp_calc_link_mtu() 374 op_vls = ib_port_info_get_vl_cap(&p_physp->port_info); in osm_physp_calc_link_op_vls() 377 ib_port_info_get_vl_cap(&p_remote_physp->port_info); in osm_physp_calc_link_op_vls() 401 op_vls = ib_port_info_get_op_vls(&p_physp->port_info); in osm_physp_calc_link_op_vls()
|
| HD | osm_sa_guidinfo_record.c | 174 if (p_physp->port_info.guid_cap == 0) in __osm_sa_gir_create_gir() 177 num_blocks = p_physp->port_info.guid_cap / 8; in __osm_sa_gir_create_gir() 178 if (p_physp->port_info.guid_cap % 8) in __osm_sa_gir_create_gir()
|
| HD | osm_port_info_rcv.c | 99 cl_ntoh16(p->port_info.base_lid)); in pi_rcv_check_and_fix_lid() 100 pi->base_lid = p->port_info.base_lid; in pi_rcv_check_and_fix_lid() 339 p_physp->port_info = *p_pi; in __osm_pi_rcv_process_switch_port()
|
| /NextBSD/sys/dev/cxgb/ |
| HD | 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) in t3_init_rx_mode() 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 *);
|
| HD | 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; in cxgb_controller_attach() 835 struct port_info *pi = &sc->port[i]; in setup_sge_qsets() 963 struct port_info *p; in cxgb_port_probe() [all …]
|
| /NextBSD/sys/mips/rmi/dev/nlge/ |
| HD | if_nlge.c | 197 struct xlr_gmac_port *port_info); 484 struct xlr_gmac_port *port_info; in nlge_probe() local 489 port_info = device_get_ivars(dev); in nlge_probe() 490 index = (port_info->type < XLR_RGMII || port_info->type > XLR_XAUI) ? in nlge_probe() 491 5 : port_info->type; in nlge_probe() 495 nlge_sc_init(sc, dev, port_info); in nlge_probe() 954 struct xlr_gmac_port *port_info; in nlna_setup_intr() local 979 port_info = device_get_ivars( in nlna_setup_intr() 981 pset = &na_sc[port_info->mdint_id]->mdio_set; in nlna_setup_intr() 1745 struct xlr_gmac_port *port_info; in nlge_hw_init() local [all …]
|
| /NextBSD/sys/dev/cxgbe/ |
| HD | adapter.h | 224 struct port_info *pi; 269 struct port_info { struct 762 struct port_info *port[MAX_NPORTS]; 985 static inline struct port_info * 1000 is_10G_port(const struct port_info *pi) in is_10G_port() 1007 is_40G_port(const struct port_info *pi) in is_40G_port() 1046 int create_netmap_ifnet(struct port_info *); 1047 int destroy_netmap_ifnet(struct port_info *); 1075 int tnl_cong(struct port_info *, int);
|
| HD | t4_main.c | 106 sizeof(struct port_info) 158 sizeof(struct port_info) 417 static void build_medialist(struct port_info *, struct ifmedia *); 432 static void cxgbe_refresh_stats(struct adapter *, struct port_info *); 440 static void cxgbe_sysctls(struct port_info *); 799 struct port_info *pi; in t4_attach() 958 struct port_info *pi = sc->port[i]; in t4_attach() 1069 struct port_info *pi; in t4_detach() 1171 struct port_info *pi = device_get_softc(dev); in cxgbe_probe() 1253 struct port_info *pi = device_get_softc(dev); in cxgbe_attach() [all …]
|
| /NextBSD/contrib/ofed/management/infiniband-diags/src/ |
| HD | smpquery.c | 71 static op_fn_t node_desc, node_info, port_info, switch_info, pkey_table, variable 77 { "portinfo", port_info, 1 }, 142 port_info(ib_portid_t *dest, char **argv, int argc) in port_info() function
|
| /NextBSD/sys/dev/cxgbe/tom/ |
| HD | t4_tom_l2t.h | 36 struct l2t_entry *t4_l2t_get(struct port_info *, struct ifnet *,
|
| /NextBSD/include/mach/ |
| HD | mach_port.h | 345 (task, name, flavor, port_info, port_infoCnt) in mach_port_set_attributes() argument 349 mach_port_info_t port_info; 351 { return mach_port_set_attributes(task, name, flavor, port_info, port_infoCnt); } 357 mach_port_info_t port_info, 895 integer_t port_info[17]; member
|
| /NextBSD/sys/sys/mach/ |
| HD | mach_port_server.h | 476 (task, name, flavor, port_info, port_infoCnt) in mach_port_set_attributes() argument 480 mach_port_info_t port_info; 482 { return mach_port_set_attributes(task, name, flavor, port_info, port_infoCnt); } 488 mach_port_info_t port_info, 1265 (task, name, flavor, port_info, port_infoCnt) in mach_port_set_attributes() argument 1269 mach_port_info_t port_info; 1271 { return mach_port_set_attributes(task, name, flavor, port_info, port_infoCnt); } 1277 mach_port_info_t port_info, 1968 integer_t port_info[17]; member
|
| /NextBSD/sys/dev/cxgb/ulp/tom/ |
| HD | cxgb_l2t.h | 84 struct l2t_entry *t3_l2t_get(struct port_info *, struct ifnet *,
|
| /NextBSD/sys/cam/ctl/ |
| HD | ctl_frontend.h | 224 port_info_func_t port_info; /* passed to CTL */ member
|
| /NextBSD/sys/dev/ifmlx4/ |
| HD | port.c | 534 struct mlx4_port_info *port_info; in mlx4_common_set_port() local 558 port_info = &priv->port[port]; in mlx4_common_set_port() 577 cpu_to_be32(port_info->base_qpn); in mlx4_common_set_port() 583 port_info->base_qpn); in mlx4_common_set_port() 588 port_info->base_qpn); in mlx4_common_set_port()
|