[dpdk-dev,v10,0/5] Hyper-V/Azure netvsc PMD and bus support
mbox series

Message ID 20180608165920.12228-1-stephen@networkplumber.org
Headers show
Series
  • Hyper-V/Azure netvsc PMD and bus support
Related show

Message

Stephen Hemminger June 8, 2018, 4:59 p.m. UTC
Yet another version of the Hyper-V native bus (VMBus)
and network device (netvsc) drivers. This virtual device
is used in Microsoft Hyper-V in Windows 10, Windows Server 2016
and Azure. Most of this code was extracted from FreeBSD and some of
this is from earlier code donated by Brocade.

Only Linux is supported at present, but the code is split
to allow future FreeBSD and Windows support.

This version works with upstream kernel (4.16) but in that
mode only a single queue is supported. With additional
patches that are pending for 5.0 kernel, multi-queue
support works as well.

Device binding is best done via driverctl; this required some
additional fixes to kernel and driverctl to work correctly.
Linux kernel vmbus support needed to support sysfs driver_override
and driverctl needed to handle non-PCI bus from udev.
 https://gitlab.com/driverctl/driverctl/merge_requests/3
 http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-April/118889.html

v10
  - resolve RSS setup 
  - add documentation about restart issue
  - update documentation to refer to 4.17
  - use same RSS key as MLX

v9
  - fix places where still targeted at previous release
  - add map entry for rte_uuid
  - fix meson build dependencies

v8
  - targeted for 18.08, move release notes
  - use Ted's libuuid (not FreeBSD) because that is 3 clause BSD license
    versus 2 clause in FreeBSD
  - minor checkpatch whitespace fixes

v7
  - add EAL UUID functions from BSD to remove dependency on libuuid
    this means device can be enabled by default and eliminates
    build issues
  - add support for latest NetVSP protocol (from hayaingz)
  - add probe finish for compatability with 18.05
  - rebase to 18.05-rc3

Comments

Thomas Monjalon June 12, 2018, 3:21 p.m. UTC | #1
Hi Stephen,

I would like to try merging these patches soon.
Below are some comments from my first check:
	- please fix most of the checkpatches warnings
	- please merge meson support in the related patch
	- please fix the doxygen of uuid (warnings from "make doc-api-html")


08/06/2018 18:59, Stephen Hemminger:
> Yet another version of the Hyper-V native bus (VMBus)
> and network device (netvsc) drivers. This virtual device
> is used in Microsoft Hyper-V in Windows 10, Windows Server 2016
> and Azure. Most of this code was extracted from FreeBSD and some of
> this is from earlier code donated by Brocade.
> 
> Only Linux is supported at present, but the code is split
> to allow future FreeBSD and Windows support.
> 
> This version works with upstream kernel (4.16) but in that
> mode only a single queue is supported. With additional
> patches that are pending for 5.0 kernel, multi-queue
> support works as well.
Stephen Hemminger June 12, 2018, 3:43 p.m. UTC | #2
On Tue, 12 Jun 2018 17:21:28 +0200
Thomas Monjalon <thomas@monjalon.net> wrote:

> Hi Stephen,
> 
> I would like to try merging these patches soon.
> Below are some comments from my first check:
> 	- please fix most of the checkpatches warnings
> 	- please merge meson support in the related patch
> 	- please fix the doxygen of uuid (warnings from "make doc-api-html")
> 
> 
> 08/06/2018 18:59, Stephen Hemminger:
> > Yet another version of the Hyper-V native bus (VMBus)
> > and network device (netvsc) drivers. This virtual device
> > is used in Microsoft Hyper-V in Windows 10, Windows Server 2016
> > and Azure. Most of this code was extracted from FreeBSD and some of
> > this is from earlier code donated by Brocade.
> > 
> > Only Linux is supported at present, but the code is split
> > to allow future FreeBSD and Windows support.
> > 
> > This version works with upstream kernel (4.16) but in that
> > mode only a single queue is supported. With additional
> > patches that are pending for 5.0 kernel, multi-queue
> > support works as well.  
> 
> 
> 

Ok, will do. The checkpatch warnings left were mostly about SPDX and Camel Case (PRIx64)