Searched refs:port_immutable (Results 1 – 3 of 3) sorted by relevance
184 kfree(dev->port_immutable); in ib_device_release()290 device->port_immutable = kzalloc(sizeof(*device->port_immutable) in read_port_immutable()293 if (!device->port_immutable) in read_port_immutable()298 &device->port_immutable[port]); in read_port_immutable()390 kfree(device->port_immutable); in ib_register_device()894 for (i = 0; i < device->port_immutable[port].gid_tbl_len; ++i) { in ib_find_gid()926 for (i = 0; i < device->port_immutable[port_num].pkey_tbl_len; ++i) { in ib_find_pkey()
801 ib_dev->port_immutable[rdma_port].gid_tbl_len); in _gid_table_setup_one()
2137 struct ib_port_immutable *port_immutable; member2658 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_IB; in rdma_protocol_ib()2663 return device->port_immutable[port_num].core_cap_flags & in rdma_protocol_roce()2669 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_ROCE_UDP_ENCAP; in rdma_protocol_roce_udp_encap()2674 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_ROCE; in rdma_protocol_roce_eth_encap()2679 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_IWARP; in rdma_protocol_iwarp()2702 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_IB_MAD; in rdma_cap_ib_mad()2726 return (device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_OPA_MAD) in rdma_cap_opa_mad()2752 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_IB_SMI; in rdma_cap_ib_smi()2772 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_IB_CM; in rdma_cap_ib_cm()[all …]