Home
last modified time | relevance | path

Searched refs:port_immutable (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/infiniband/core/
Ddevice.c216 kfree(dev->port_immutable); in ib_device_release()
337 device->port_immutable = kcalloc(end_port + 1, in read_port_immutable()
338 sizeof(*device->port_immutable), in read_port_immutable()
340 if (!device->port_immutable) in read_port_immutable()
345 &device->port_immutable[port]); in read_port_immutable()
566 kfree(device->port_immutable); in ib_register_device()
1038 for (i = 0; i < device->port_immutable[port].gid_tbl_len; ++i) { in ib_find_gid()
1070 for (i = 0; i < device->port_immutable[port_num].pkey_tbl_len; ++i) { in ib_find_pkey()
Dcache.c889 ib_dev->port_immutable[rdma_port].gid_tbl_len); in _gid_table_setup_one()
/Linux-v4.19/include/rdma/
Dib_verbs.h2266 struct ib_port_immutable *port_immutable; member
2789 return device->port_immutable[port_num].core_cap_flags & in rdma_is_grh_required()
2795 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_IB; in rdma_protocol_ib()
2800 return device->port_immutable[port_num].core_cap_flags & in rdma_protocol_roce()
2806 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_ROCE_UDP_ENCAP; in rdma_protocol_roce_udp_encap()
2811 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_ROCE; in rdma_protocol_roce_eth_encap()
2816 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_IWARP; in rdma_protocol_iwarp()
2827 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_RAW_PACKET; in rdma_protocol_raw_packet()
2832 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_PROT_USNIC; in rdma_protocol_usnic()
2849 return device->port_immutable[port_num].core_cap_flags & RDMA_CORE_CAP_IB_MAD; in rdma_cap_ib_mad()
[all …]
/Linux-v4.19/fs/cifs/
Dsmbdirect.c1620 struct ib_port_immutable port_immutable; in _smbd_get_connection() local
1728 info->id->device, info->id->port_num, &port_immutable); in _smbd_get_connection()
1729 if (port_immutable.core_cap_flags & RDMA_CORE_PORT_IWARP) { in _smbd_get_connection()