nvme-tcp: set MSG_SENDPAGE_NOTLAST with MSG_MORE when we have more to send
authorSagi Grimberg <sagi@grimberg.me>
Tue, 5 May 2020 05:20:01 +0000 (22:20 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:36 +0000 (07:12 +0200)
commit5bb052d7aad1f4063631f2aa05452c700139f0f3
tree33c175ecc6f4647bb9d95c419ea239566ed0ff51
parent7425596945d7f8bf79f42b2a9c8463d16e24fc34
nvme-tcp: set MSG_SENDPAGE_NOTLAST with MSG_MORE when we have more to send

We can signal the stack that this is not the last page coming and the
stack can build a larger tso segment, so go ahead and use it.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c