linux_dsm_epyc7002/drivers/net/hyperv
Boqun Feng 11d8620e08 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 <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200916034817.30282-8-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
2020-09-28 08:55:13 +00:00
..
hyperv_net.h hv_netvsc: add support for vlans in AF_PACKET mode 2020-07-22 17:58:15 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
netvsc_bpf.c bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands 2020-07-25 20:37:02 -07:00
netvsc_drv.c hv_netvsc: Use HV_HYP_PAGE_SIZE for Hyper-V communication 2020-09-28 08:55:13 +00:00
netvsc_trace.c
netvsc_trace.h
netvsc.c hv_netvsc: Use HV_HYP_PAGE_SIZE for Hyper-V communication 2020-09-28 08:55:13 +00:00
rndis_filter.c hv_netvsc: Use HV_HYP_PAGE_SIZE for Hyper-V communication 2020-09-28 08:55:13 +00:00