Lines Matching full:tx_desc
103 struct iser_tx_desc *tx_desc) in iser_create_send_desc() argument
108 tx_desc->dma_addr, ISER_HEADERS_LEN, DMA_TO_DEVICE); in iser_create_send_desc()
110 memset(&tx_desc->iser_header, 0, sizeof(struct iser_hdr)); in iser_create_send_desc()
111 tx_desc->iser_header.flags = ISER_VER; in iser_create_send_desc()
113 tx_desc->num_sge = 1; in iser_create_send_desc()
115 if (tx_desc->tx_sg[0].lkey != device->mr->lkey) { in iser_create_send_desc()
116 tx_desc->tx_sg[0].lkey = device->mr->lkey; in iser_create_send_desc()
117 ISER_DBG("sdesc %p lkey mismatch, fixing", tx_desc); in iser_create_send_desc()
362 struct iser_tx_desc *tx_desc = &iser_pdu->desc; in iser_send_command() local
369 tx_desc->type = ISCSI_TX_SCSI_COMMAND; in iser_send_command()
370 iser_create_send_desc(iser_conn, tx_desc); in iser_send_command()
397 err = iser_post_send(&iser_conn->ib_conn, tx_desc, in iser_send_command()
529 iser_snd_completion(struct iser_tx_desc *tx_desc, in iser_snd_completion() argument
532 struct icl_iser_pdu *iser_pdu = container_of(tx_desc, struct icl_iser_pdu, desc); in iser_snd_completion()
535 if (tx_desc && tx_desc->type == ISCSI_TX_CONTROL) in iser_snd_completion()