nvme/tcp: disable the digest by default.
This patch disables the header digest and data digest by default, which will improve the performance. In the another patch, we will make it configurable. Change-Id: Icdf8cda28217ec35a6b87bb932cdb1e4f8492471 Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/435209 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
03370d0544
commit
7a39a68c4f
@ -1596,9 +1596,8 @@ nvme_tcp_qpair_icreq_send(struct nvme_tcp_qpair *tqpair)
|
||||
ic_req->maxr2t = NVME_TCP_MAX_R2T_DEFAULT - 1;
|
||||
ic_req->hpda = NVME_TCP_HPDA_DEFAULT;
|
||||
|
||||
/* Currently, always enable it here for debuging */
|
||||
ic_req->dgst.bits.hdgst_enable = 1;
|
||||
ic_req->dgst.bits.ddgst_enable = 1;
|
||||
ic_req->dgst.bits.hdgst_enable = 0;
|
||||
ic_req->dgst.bits.ddgst_enable = 0;
|
||||
|
||||
nvme_tcp_qpair_write_pdu(tqpair, pdu, nvme_tcp_send_icreq_complete, tqpair);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user