diff options
author | Himadri Pandya <himadrispandya@gmail.com> | 2019-07-25 07:03:14 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2019-11-22 02:10:45 +0100 |
commit | b14d749ac5abdf311321172ae11e6ad1be4293e9 (patch) | |
tree | ee67f86779dd3214e128fa340adfd0c917cb9d51 /init | |
parent | tools: hv: add vmbus testing tool (diff) | |
download | linux-b14d749ac5abdf311321172ae11e6ad1be4293e9.tar.xz linux-b14d749ac5abdf311321172ae11e6ad1be4293e9.zip |
Drivers: hv: Specify receive buffer size using Hyper-V page size
The recv_buffer is used to retrieve data from the VMbus ring buffer.
VMbus ring buffers are sized based on the guest page size which
Hyper-V assumes to be 4KB. But it may be different on some
architectures. So use the Hyper-V page size to allocate the
recv_buffer and set the maximum size to receive.
Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions