bus/vmbus: map ring in secondary process
authorStephen Hemminger <sthemmin@microsoft.com>
Fri, 8 Feb 2019 03:44:05 +0000 (19:44 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 29 Mar 2019 12:44:19 +0000 (13:44 +0100)
commit2a28a502c6078ceb3e5b296b5f9cbb7e27ceedbd
treee29275d62fa82f7ca0eb084afb90817f5ff23c9f
parent41a7f8cbeeaf8cbaf23af6ed57ef49a926a2bd16
bus/vmbus: map ring in secondary process

Need to remember primary channel in secondary process.
Then use it to iterate over subchannels in secondary
process mapping setup.

Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
drivers/bus/vmbus/linux/vmbus_uio.c
drivers/bus/vmbus/private.h
drivers/bus/vmbus/vmbus_channel.c
drivers/bus/vmbus/vmbus_common_uio.c