diff options
author | Boqun Feng <[email protected]> | 2020-09-16 11:48:13 +0800 |
---|---|---|
committer | Wei Liu <[email protected]> | 2020-09-28 08:55:13 +0000 |
commit | 11d8620e0867cb21313aa66ff6ce0172e28f68ff (patch) | |
tree | ade19dd759c15c042e1eea5c72cdeea9710c71b0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 106dee08408118c5b50387817e74419436e8b651 (diff) |
hv_netvsc: Use HV_HYP_PAGE_SIZE for Hyper-V communication
When communicating with Hyper-V, HV_HYP_PAGE_SIZE should be used since
that's the page size used by Hyper-V and Hyper-V expects all
page-related data using the unit of HY_HYP_PAGE_SIZE, for example, the
"pfn" in hv_page_buffer is actually the HV_HYP_PAGE (i.e. the Hyper-V
page) number.
In order to support guest whose page size is not 4k, we need to make
hv_netvsc always use HV_HYP_PAGE_SIZE for Hyper-V communication.
Signed-off-by: Boqun Feng <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions