[0/7] vmbus/netvsc: fix multi-process support

Message ID 20190208034407.7865-1-stephen@networkplumber.org
Headers show
Series
  • vmbus/netvsc: fix multi-process support
Related show

Message

Stephen Hemminger Feb. 8, 2019, 3:44 a.m.
From: Stephen Hemminger <sthemmin@microsoft.com>

These fix the primary/secondary process model support in the
vmbus and netvsc PMD.  They do NOT fix the failsafe PMD.

The last two are not bug fixes but address unnecessary
code found while debugging the mp support.

Stephen Hemminger (7):
  bus/vmbus: fix secondary process setup
  net/netvsc: fix VF support with secondary process
  bus/vmbus: fix check for mmap failure
  bus/vmbus: stop mapping if empty resource found
  bus/vmbus: map ring in secondary
  bus/vmbus: refactor secondary mapping
  net/netvsc: remove unnecessary format of ether address

 drivers/bus/vmbus/linux/vmbus_uio.c  |  54 +++++++++++-
 drivers/bus/vmbus/private.h          |   3 +
 drivers/bus/vmbus/vmbus_channel.c    |  20 ++++-
 drivers/bus/vmbus/vmbus_common_uio.c | 122 +++++++++++++--------------
 drivers/net/netvsc/hn_ethdev.c       |   3 +-
 drivers/net/netvsc/hn_rxtx.c         |   8 +-
 drivers/net/netvsc/hn_var.h          |  30 ++++++-
 drivers/net/netvsc/hn_vf.c           |  85 +++++++++----------
 8 files changed, 206 insertions(+), 119 deletions(-)

Comments

Thomas Monjalon March 29, 2019, 9:51 a.m. | #1
08/02/2019 04:44, Stephen Hemminger:
> These fix the primary/secondary process model support in the
> vmbus and netvsc PMD.  They do NOT fix the failsafe PMD.
> 
> The last two are not bug fixes but address unnecessary
> code found while debugging the mp support.
> 
> Stephen Hemminger (7):
>   bus/vmbus: fix secondary process setup
>   net/netvsc: fix VF support with secondary process
>   bus/vmbus: fix check for mmap failure
>   bus/vmbus: stop mapping if empty resource found
>   bus/vmbus: map ring in secondary
>   bus/vmbus: refactor secondary mapping
>   net/netvsc: remove unnecessary format of ether address

Adding Cc: stable@dpdk.org for fixes.
If you do not want to backport, please check with LTS maintainers.

Applied, thanks