[dpdk-dev] [PATCH] bus/vmbus: map to the correct ring buffer addresses for the secondary process
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 31 19:15:14 CEST 2021
On Mon, 30 Aug 2021 22:56:44 -0700
longli at linuxonhyperv.com wrote:
> From: Long Li <longli at microsoft.com>
>
> The driver code had wrong assumption that all the addresses to ring buffers
> in the secondary process are the same as those in the primary process. This
> is not always correct as the channels could be mapped to different
> addresses in the secondary process.
>
> Fix this by keeping track of all the mapped addresses from the primary
> process in the shared uio_res, and have second process map to the same
> addresses.
>
> Reported-by: Jonathan Erb <jonathan.erb at banduracyber.com>
> Cc: stable at dpdk.org
> Signed-off-by: Long Li <longli at microsoft.com>
I prefer that messages not get split across lines, but this looks fine.
Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support")
Acked-by: Stephen Hemminger <sthemmin at microsoft.com>
More information about the dev
mailing list