Home
last modified time | relevance | path

Searched refs:NVME_TCP_DIGEST_LENGTH (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/
Dnvme-tcp.h14 #define NVME_TCP_DIGEST_LENGTH 4 macro
/Linux-v5.4/drivers/nvme/host/
Dtcp.c146 return queue->hdr_digest ? NVME_TCP_DIGEST_LENGTH : 0; in nvme_tcp_hdgst_len()
151 return queue->data_digest ? NVME_TCP_DIGEST_LENGTH : 0; in nvme_tcp_ddgst_len()
700 queue->ddgst_remaining = NVME_TCP_DIGEST_LENGTH; in nvme_tcp_recv_data()
719 off_t off = NVME_TCP_DIGEST_LENGTH - queue->ddgst_remaining; in nvme_tcp_recv_ddgst()
969 .iov_len = NVME_TCP_DIGEST_LENGTH - req->offset in nvme_tcp_try_send_ddgst()
976 if (req->offset + ret == NVME_TCP_DIGEST_LENGTH) { in nvme_tcp_try_send_ddgst()
/Linux-v5.4/drivers/nvme/target/
Dtcp.c209 return queue->hdr_digest ? NVME_TCP_DIGEST_LENGTH : 0; in nvmet_tcp_hdgst_len()
214 return queue->data_digest ? NVME_TCP_DIGEST_LENGTH : 0; in nvmet_tcp_ddgst_len()
625 .iov_len = NVME_TCP_DIGEST_LENGTH - cmd->offset in nvmet_try_send_ddgst()
1028 queue->left = NVME_TCP_DIGEST_LENGTH; in nvmet_tcp_prep_recv_ddgst()