Searched refs:path_data (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.c | 1269 static int qedi_set_path(struct Scsi_Host *shost, struct iscsi_path *path_data) in qedi_set_path() argument 1291 if (path_data->handle == QEDI_PATH_HANDLE) { in qedi_set_path() 1292 ret = qedi_data_avail(qedi, path_data->vlan_id); in qedi_set_path() 1296 iscsi_cid = (u32)path_data->handle; in qedi_set_path() 1309 if (!is_valid_ether_addr(&path_data->mac_addr[0])) { in qedi_set_path() 1317 ether_addr_copy(&qedi_ep->dst_mac[0], &path_data->mac_addr[0]); in qedi_set_path() 1319 qedi_ep->vlan_id = path_data->vlan_id; in qedi_set_path() 1320 if (path_data->pmtu < DEF_PATH_MTU) { in qedi_set_path() 1324 path_data->pmtu, qedi_ep->pmtu); in qedi_set_path() 1327 if (path_data->pmtu != qedi->ll2_mtu) { in qedi_set_path() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | ucma.c | 930 resp->path_data[i].flags = IB_PATH_GMP | IB_PATH_PRIMARY | in ucma_query_path() 936 ib_sa_pack_path(&ib, &resp->path_data[i].path_rec); in ucma_query_path() 939 ib_sa_pack_path(rec, &resp->path_data[i].path_rec); in ucma_query_path() 943 if (copy_to_user(response, resp, struct_size(resp, path_data, i))) in ucma_query_path() 1296 struct ib_path_rec_data *path_data, size_t optlen) in ucma_set_ib_path() argument 1302 if (optlen % sizeof(*path_data)) in ucma_set_ib_path() 1305 for (; optlen; optlen -= sizeof(*path_data), path_data++) { in ucma_set_ib_path() 1306 if (path_data->flags == (IB_PATH_GMP | IB_PATH_PRIMARY | in ucma_set_ib_path() 1320 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
|
/openbmc/linux/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 187 struct ib_path_rec_data path_data[]; member
|