Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/host/
Dtcp.c143 bool hdr_digest; member
203 return queue->hdr_digest ? NVME_TCP_DIGEST_LENGTH : 0; in nvme_tcp_hdgst_len()
647 if (queue->hdr_digest) in nvme_tcp_setup_h2c_data_pdu()
731 if (queue->hdr_digest) { in nvme_tcp_recv_pdu()
1072 if (queue->hdr_digest && !req->offset) in nvme_tcp_try_send_cmd_pdu()
1107 if (queue->hdr_digest && !req->offset) in nvme_tcp_try_send_data_pdu()
1331 if (queue->hdr_digest || queue->data_digest) in nvme_tcp_free_queue()
1376 if (queue->hdr_digest) in nvme_tcp_init_connection()
1425 if ((queue->hdr_digest && !ctrl_hdgst) || in nvme_tcp_init_connection()
1426 (!queue->hdr_digest && ctrl_hdgst)) { in nvme_tcp_init_connection()
[all …]
Dfabrics.h132 bool hdr_digest; member
Dfabrics.c673 opts->hdr_digest = false; in nvmf_parse_options()
884 opts->hdr_digest = true; in nvmf_parse_options()
/linux-6.6.21/drivers/nvme/target/
Dtcp.c154 bool hdr_digest; member
266 return queue->hdr_digest ? NVME_TCP_DIGEST_LENGTH : 0; in nvmet_tcp_hdgst_len()
455 if (cmd->queue->hdr_digest) { in nvmet_setup_c2h_data_pdu()
480 if (cmd->queue->hdr_digest) { in nvmet_setup_r2t_pdu()
500 if (cmd->queue->hdr_digest) { in nvmet_setup_response_pdu()
890 queue->hdr_digest = !!(icreq->digest & NVME_TCP_HDR_DIGEST_ENABLE); in nvmet_tcp_handle_icreq()
892 if (queue->hdr_digest || queue->data_digest) { in nvmet_tcp_handle_icreq()
906 if (queue->hdr_digest) in nvmet_tcp_handle_icreq()
1151 if (queue->hdr_digest && in nvmet_tcp_try_recv_pdu()
1509 if (queue->hdr_digest || queue->data_digest) in nvmet_tcp_release_queue_work()