net/netvsc: allocate contiguous physical memory for RNDIS
authorLong Li <longli@microsoft.com>
Thu, 22 Oct 2020 00:26:07 +0000 (17:26 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:26 +0000 (23:24 +0100)
commitb8c3c628aff6defbabf677b4eea14c0529486357
tree462e83dc449461350b1658edc56dd6a8a764fb7b
parent1b2c17d60d978d2570baa9e5c478ebca1fce3859
net/netvsc: allocate contiguous physical memory for RNDIS

When sending data, netvsc assumes the tx_rndis buffer is contiguous and
calculates physical addresses based on this assumption.

Use memzone to allocate tx_rndis so it's guaranteed that this buffer is
physically contiguous.

Cc: stable@dpdk.org
Signed-off-by: Long Li <longli@microsoft.com>
drivers/net/netvsc/hn_rxtx.c
drivers/net/netvsc/hn_var.h