| /freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
| HD | osm_event_plugin.h | 116 osm_epi_port_id_t port_id; member 138 osm_epi_port_id_t port_id; member 155 osm_epi_port_id_t port_id; member 197 osm_epi_create_port_id(osm_epi_port_id_t * port_id, uint64_t node_guid, in osm_epi_create_port_id() argument 200 port_id->node_guid = node_guid; in osm_epi_create_port_id() 201 port_id->port_num = port_num; in osm_epi_create_port_id() 202 strncpy(port_id->node_name, node_name, OSM_EPI_NODE_NAME_LEN); in osm_epi_create_port_id() 203 port_id->node_name[OSM_EPI_NODE_NAME_LEN - 1] = '\0'; in osm_epi_create_port_id()
|
| /freebsd-11-stable/sys/contrib/alpine-hal/ |
| HD | al_hal_pcie.c | 182 pcie_port->port_id, link_params->max_payload_size); in al_pcie_port_link_config() 187 pcie_port->port_id, link_params->max_speed, in al_pcie_port_link_config() 226 pcie_port->port_id); in al_pcie_port_link_config() 465 pcie_port->port_id); in al_pcie_ib_hcrd_os_ob_reads_config_default() 503 pcie_port->port_id, info_0, ltssm_state); in al_pcie_check_link() 522 pcie_port->port_id, in al_pcie_port_gen2_params_config() 573 pcie_port->port_id, in al_pcie_port_gen3_params_config() 592 al_dbg("PCIe %d: Set EQ (0x%08x) for lane %d, %d\n", pcie_port->port_id, eq_control, i, i + 1); in al_pcie_port_gen3_params_config() 659 pcie_port->port_id); in al_pcie_port_tl_credits_config() 747 pcie_port->port_id, bar_idx, size); in al_pcie_port_pf_params_config() [all …]
|
| HD | al_hal_pcie.h | 276 unsigned int port_id; member 551 unsigned int port_id);
|
| /freebsd-11-stable/sys/dev/ocs_fc/ |
| HD | ocs_fcp.h | 314 port_id:24; 383 port_id:24; 422 port_id:24; 476 uint32_t port_id; member 486 uint32_t port_id; member 499 uint32_t port_id; member 511 uint32_t port_id; member 526 uint32_t port_id; member 570 uint32_t port_id; member 579 uint32_t port_id; member [all …]
|
| HD | ocs_fabric.c | 1852 uint32_t port_id; in ocs_process_gidpt_payload() local 1891 port_id = n->rnode.fc_id; in ocs_process_gidpt_payload() 1892 switch (port_id) { in ocs_process_gidpt_payload() 1898 if (!FC_ADDR_IS_DOMAIN_CTRL(port_id)) { in ocs_process_gidpt_payload() 1907 port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() 1910 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { in ocs_process_gidpt_payload() 1938 uint32_t port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() local 1943 if (port_id != node->rnode.sport->fc_id && !ocs_sport_find(sport->domain, port_id)) { in ocs_process_gidpt_payload() 1944 newnode = ocs_node_find(sport, port_id); in ocs_process_gidpt_payload() 1953 newnode = ocs_node_alloc(sport, port_id, 0, 0); in ocs_process_gidpt_payload()
|
| HD | ocs_node.h | 199 extern ocs_node_t *ocs_node_find(ocs_sport_t *sport, uint32_t port_id); 202 extern ocs_node_t *ocs_node_alloc(ocs_sport_t *sport, uint32_t port_id, uint8_t init, uint8_t targ);
|
| HD | ocs_node.c | 185 ocs_node_find(ocs_sport_t *sport, uint32_t port_id) in ocs_node_find() argument 191 node = spv_get(sport->lookup, port_id); in ocs_node_find() 373 ocs_node_alloc(ocs_sport_t *sport, uint32_t port_id, uint8_t init, uint8_t targ) in ocs_node_alloc() argument 386 ocs_log_debug(ocs, "node allocation when shutting down %06x", port_id); in ocs_node_alloc() 394 ocs_log_err(ocs, "node allocation failed %06x", port_id); in ocs_node_alloc() 416 rc = ocs_hw_node_alloc(&ocs->hw, &node->rnode, port_id, sport); in ocs_node_alloc() 448 spv_set(sport->lookup, port_id, node); in ocs_node_alloc() 712 uint32_t port_id = node->rnode.fc_id; in ocs_node_update_display_name() local 718 ocs_node_fcid_display(port_id, portid_display, sizeof(portid_display)); in ocs_node_update_display_name()
|
| /freebsd-11-stable/contrib/ofed/libibmad/ |
| HD | rpc.c | 113 return ibmp->port_id; in madrpc_portid() 118 return srcport->port_id; in mad_rpc_portid() 129 _do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len, in _do_madrpc() argument 162 if (umad_send(port_id, agentid, sndbuf, length, timeout, 0) < 0) { in _do_madrpc() 171 if (umad_recv(port_id, rcvbuf, &length, timeout) < 0) { in _do_madrpc() 238 if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf, in mad_rpc() 303 if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf, in mad_rpc_rmpp() 379 ibmp->port_id = fd; in madrpc_init() 397 int port_id; in mad_rpc_open_port() local 418 if ((port_id = umad_open_port(dev_name, dev_port)) < 0) { in mad_rpc_open_port() [all …]
|
| HD | register.c | 85 int mad_register_port_client(int port_id, int mgmt, uint8_t rmpp_version) in mad_register_port_client() argument 94 agent = umad_register(port_id, mgmt, vers, rmpp_version, 0); in mad_register_port_client() 162 umad_register_oui(srcport->port_id, mgmt, rmpp_version, in mad_register_server_via() 169 umad_register(srcport->port_id, mgmt, vers, rmpp_version, in mad_register_server_via()
|
| HD | serv.c | 76 if (umad_send(srcport->port_id, srcport->class_agents[rpc->mgtclass & 0xff], in mad_send_via() 166 (srcport->port_id, srcport->class_agents[rpc.mgtclass], umad, in mad_respond_via() 186 if ((agent = umad_recv(srcport->port_id, mad, &length, in mad_receive_via()
|
| HD | mad_internal.h | 40 int port_id; /* file descriptor returned by umad_open() */ member
|
| /freebsd-11-stable/sys/dev/cxgbe/ |
| HD | t4_sched.c | 481 t4_reserve_cl_rl_kbps(struct adapter *sc, int port_id, u_int maxrate, in t4_reserve_cl_rl_kbps() argument 489 MPASS(port_id >= 0 && port_id < sc->params.nports); in t4_reserve_cl_rl_kbps() 491 pi = sc->port[port_id]; in t4_reserve_cl_rl_kbps() 549 t4_release_cl_rl(struct adapter *sc, int port_id, int tc_idx) in t4_release_cl_rl() argument 553 MPASS(port_id >= 0 && port_id < sc->params.nports); in t4_release_cl_rl() 557 tc = &sc->port[port_id]->sched_params->cl_rl[tc_idx]; in t4_release_cl_rl() 596 int i, rc, port_id, mbps, gbps; in sysctl_tc_params() local 606 port_id = arg2 >> 16; in sysctl_tc_params() 607 MPASS(port_id < sc->params.nports); in sysctl_tc_params() 608 MPASS(sc->port[port_id] != NULL); in sysctl_tc_params() [all …]
|
| HD | t4_vf.c | 621 pi->port_id = i; in t4vf_attach() 832 u_int port_id = *(uint32_t *)data; in t4vf_ioctl() local 836 if (port_id >= sc->params.nports) in t4vf_ioctl() 838 pi = sc->port[port_id]; in t4vf_ioctl()
|
| /freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
| HD | ecore_init_fw_funcs.c | 185 u8 port_id, in ecore_get_ext_voq() argument 190 …urn NUM_OF_PHYS_TCS * (ECORE_IS_E5(p_hwfn->p_dev) ? MAX_NUM_PORTS_E5 : MAX_NUM_PORTS_BB) + port_id; in ecore_get_ext_voq() 192 return port_id * (ECORE_IS_E5(p_hwfn->p_dev) ? NUM_OF_PHYS_TCS : max_phys_tcs_per_port) + tc; in ecore_get_ext_voq() 282 u8 tc, ext_voq, port_id, num_tcs_in_port; in ecore_cmdq_lines_rt_init() local 289 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_cmdq_lines_rt_init() 292 if (!port_params[port_id].active) in ecore_cmdq_lines_rt_init() 299 phys_lines = port_params[port_id].num_pbf_cmd_lines; in ecore_cmdq_lines_rt_init() 307 if (((port_params[port_id].active_phys_tcs >> tc) & 0x1) == 1) in ecore_cmdq_lines_rt_init() 313 ext_voq = ecore_get_ext_voq(p_hwfn, port_id, tc, max_phys_tcs_per_port); in ecore_cmdq_lines_rt_init() 314 if (((port_params[port_id].active_phys_tcs >> tc) & 0x1) == 1) in ecore_cmdq_lines_rt_init() [all …]
|
| HD | ecore_iro.h | 38 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO… argument 41 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO… argument
|
| HD | ecore_hw.c | 415 struct ecore_ptt *p_ptt, u8 port_id) in ecore_port_pretend() argument 419 SET_FIELD(control, PXP_PRETEND_CMD_PORT, port_id); in ecore_port_pretend() 564 u8 src_pfid, dst_pfid, port_id; in ecore_dmae_opcode() local 608 port_id = (ECORE_DMAE_FLAGS_IS_SET(p_params, PORT)) ? in ecore_dmae_opcode() 609 p_params->port_id : p_hwfn->port_id; in ecore_dmae_opcode() 610 opcode |= port_id << DMAE_CMD_PORT_ID_SHIFT; in ecore_dmae_opcode()
|
| HD | ecore_hw.h | 227 u8 port_id);
|
| /freebsd-11-stable/contrib/tcpdump/ |
| HD | print-stp.c | 37 uint8_t port_id[2]; member 109 ND_TCHECK(stp_bpdu->port_id); in stp_print_config_bpdu() 112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu() 273 ND_TCHECK(stp_bpdu->port_id); in stp_print_mstp_bpdu() 274 ND_PRINT((ndo, "CIST port-id %04x,", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
|
| /freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
| HD | iblinkinfo.c | 596 ib_portid_t port_id = { 0 }; in main() local 671 resolve_portid_str(ibd_ca, ibd_ca_port, &port_id, dr_path, in main() 677 resolve_portid_str(ibd_ca, ibd_ca_port, &port_id, in main() 684 if (!smp_query_via(ni, &port_id, IB_ATTR_NODE_INFO, 0, in main() 711 ibnd_discover_fabric(ibd_ca, ibd_ca_port, &port_id, &config))) in main()
|
| /freebsd-11-stable/contrib/wpa/src/common/ |
| HD | wpa_ctrl.c | 368 int port_id; in wpa_ctrl_open() local 387 port_id = atoi(&port[1]); in wpa_ctrl_open() 390 port_id = WPA_CTRL_IFACE_PORT; in wpa_ctrl_open() 413 ctrl->dest.sin6_port = htons(port_id); in wpa_ctrl_open() 416 ctrl->dest.sin_port = htons(port_id); in wpa_ctrl_open()
|
| /freebsd-11-stable/sys/dev/cxgb/ |
| HD | cxgb_main.c | 635 pi->port_id = i; in cxgb_controller_attach() 969 snprintf(buf, sizeof(buf), "Port %d %s", p->port_id, desc); in cxgb_port_probe() 1006 device_get_unit(device_get_parent(dev)), p->port_id); in cxgb_port_attach() 1217 t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, int speed, in t3_os_link_changed() argument 1220 struct port_info *pi = &adapter->port[port_id]; in t3_os_link_changed() 1249 void t3_os_phymod_changed(struct adapter *adap, int port_id) in t3_os_phymod_changed() argument 1254 struct port_info *pi = &adap->port[port_id]; in t3_os_phymod_changed() 1711 if (isset(&sc->open_device_map, p->port_id) && in cxgb_init_locked() 1716 t3_port_intr_enable(sc, p->port_id); in cxgb_init_locked() 1735 setbit(&sc->open_device_map, p->port_id); in cxgb_init_locked() [all …]
|
| HD | cxgb_adapter.h | 103 uint32_t port_id; member 506 void t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, 508 void t3_os_phymod_changed(struct adapter *adap, int port_id);
|
| /freebsd-11-stable/usr.sbin/ctld/ |
| HD | kernel.c | 132 uint32_t port_id; member 309 cur_port->port_id = strtoul(attr[i+1], NULL, 0); in cctl_start_pelement() 545 port->port_id, name); in conf_new_from_kernel() 550 port->port_id, name); in conf_new_from_kernel() 552 pp = pport_new(conf, name, port->port_id); in conf_new_from_kernel() 562 (uintmax_t)port->port_id, port->cfiscsi_state); in conf_new_from_kernel() 570 port->cfiscsi_target, port->port_id); in conf_new_from_kernel() 585 port->ctld_portal_group_name, port->port_id); in conf_new_from_kernel() 599 cp->p_ctl_port = port->port_id; in conf_new_from_kernel()
|
| /freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/ |
| HD | bridge_snmp.h | 38 typedef uint8_t port_id[2]; typedef 121 port_id design_port;
|
| /freebsd-11-stable/sys/dev/bnxt/ |
| HD | bnxt_hwrm.c | 452 pf->port_id = le16toh(resp->port_id); in bnxt_hwrm_func_qcaps() 848 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_port_qstats() 1639 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_get_wol_fltrs() 1664 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_alloc_wol_fltr() 1682 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_free_wol_fltr()
|