diff options
| author | Tianyu Lan <[email protected]> | 2021-10-25 12:21:09 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2021-10-28 11:22:23 +0000 |
| commit | d4dccf353db80e209f262e3973c834e6e48ba9a9 (patch) | |
| tree | 0cf40678937c1251255014bb7815106a99051f66 /drivers/net/hyperv/hyperv_net.h | |
| parent | x86/hyperv: Add new hvcall guest address host visibility support (diff) | |
| download | kernel-d4dccf353db80e209f262e3973c834e6e48ba9a9.tar.gz kernel-d4dccf353db80e209f262e3973c834e6e48ba9a9.zip | |
Drivers: hv: vmbus: Mark vmbus ring buffer visible to host in Isolation VM
Mark vmbus ring buffer visible with set_memory_decrypted() when
establish gpadl handle.
Reviewed-by: Michael Kelley <[email protected]>
Signed-off-by: Tianyu Lan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index bc48855dff10..315278a7cf88 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -1075,14 +1075,15 @@ struct netvsc_device { /* Receive buffer allocated by us but manages by NetVSP */ void *recv_buf; u32 recv_buf_size; /* allocated bytes */ - u32 recv_buf_gpadl_handle; + struct vmbus_gpadl recv_buf_gpadl_handle; u32 recv_section_cnt; u32 recv_section_size; u32 recv_completion_cnt; /* Send buffer allocated by us */ void *send_buf; - u32 send_buf_gpadl_handle; + u32 send_buf_size; + struct vmbus_gpadl send_buf_gpadl_handle; u32 send_section_cnt; u32 send_section_size; unsigned long *send_section_map; |
