Home
last modified time | relevance | path

Searched refs:path_req (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.c903 struct iscsi_path path_req; in qedi_ep_connect() local
990 buf = (char *)&path_req; in qedi_ep_connect()
991 len = sizeof(path_req); in qedi_ep_connect()
992 memset(&path_req, 0, len); in qedi_ep_connect()
995 path_req.handle = (u64)qedi_ep->iscsi_cid; in qedi_ep_connect()
996 path_req.pmtu = qedi->ll2_mtu; in qedi_ep_connect()
999 memcpy(&path_req.dst.v4_addr, &qedi_ep->dst_addr, in qedi_ep_connect()
1001 path_req.ip_addr_len = 4; in qedi_ep_connect()
1003 memcpy(&path_req.dst.v6_addr, &qedi_ep->dst_addr, in qedi_ep_connect()
1005 path_req.ip_addr_len = 16; in qedi_ep_connect()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c321 struct iscsi_path path_req; in cnic_send_nlmsg() local
333 len = sizeof(path_req); in cnic_send_nlmsg()
334 buf = (char *) &path_req; in cnic_send_nlmsg()
335 memset(&path_req, 0, len); in cnic_send_nlmsg()
338 path_req.handle = (u64) csk->l5_cid; in cnic_send_nlmsg()
340 memcpy(&path_req.dst.v6_addr, &csk->dst_ip[0], in cnic_send_nlmsg()
342 path_req.ip_addr_len = 16; in cnic_send_nlmsg()
344 memcpy(&path_req.dst.v4_addr, &csk->dst_ip[0], in cnic_send_nlmsg()
346 path_req.ip_addr_len = 4; in cnic_send_nlmsg()
348 path_req.vlan_id = csk->vlan_id; in cnic_send_nlmsg()
[all …]