Skip to content
Commit 8e4c2eee authored by Christian Schoenebeck's avatar Christian Schoenebeck Committed by Dominique Martinet
Browse files

net/9p: distinguish zero-copy requests

Add boolean `zc` member to struct p9_fcall to distinguish zero-copy
messages (not using the linear `sdata` buffer for message payload) from
regular messages (which do copy message payload to `sdata` before being
further processed).

This new member is appended to end of structure to avoid inserting huge
padding in generated layout.

Link: https://lkml.kernel.org/r/8f2a5c12a446c3b544da64e0b1550e1fb2d6f972.1669144861.git.linux_oss@crudebyte.com


Signed-off-by: default avatarChristian Schoenebeck <linux_oss@crudebyte.com>
Tested-by: default avatarStefano Stabellini <sstabellini@kernel.org>
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
parent f15e006b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment