diff options
author | Sagi Grimberg <sagi@lightbitslabs.com> | 2018-12-03 17:52:10 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 09:58:55 +0100 |
commit | 65d69e2505bb64f6a8d7f417f6e46e2a351174c6 (patch) | |
tree | 12a8a9edd9ef57ee9f77abf770f5f3c8d658c6f5 /drivers/nvme | |
parent | d05f443554b3c7dc6d46e3ba9c3c4de468875d4f (diff) |
datagram: introduce skb_copy_and_hash_datagram_iter helper
Introduce a helper to copy datagram into an iovec iterator
but also update a predefined hash. This is useful for
consumers of skb_copy_datagram_iter to also support inflight
data digest without having to finish to copy and only then
traverse the iovec and calculate the digest hash.
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions