On Sat, 23 Apr 2022 09:58:49 +0530 Srikanth Kaka <srikant...@oneconvergence.com> wrote:
> updated MAINTAINERS and doc files for FreeBSD support > > Signed-off-by: Srikanth Kaka <srikant...@oneconvergence.com> > Signed-off-by: Vag Singh <vag.si...@oneconvergence.com> > Signed-off-by: Anand Thulasiram <av...@juniper.net> > --- > MAINTAINERS | 2 ++ > doc/guides/nics/netvsc.rst | 11 +++++++++++ > 2 files changed, 13 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 7c4f541..01a494e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -567,6 +567,7 @@ F: app/test/test_vdev.c > VMBUS bus driver > M: Stephen Hemminger <sthem...@microsoft.com> > M: Long Li <lon...@microsoft.com> > +M: Srikanth Kaka <srikant...@oneconvergence.com> > F: drivers/bus/vmbus/ > > > @@ -823,6 +824,7 @@ F: doc/guides/nics/vdev_netvsc.rst > Microsoft Hyper-V netvsc > M: Stephen Hemminger <sthem...@microsoft.com> > M: Long Li <lon...@microsoft.com> > +M: Srikanth Kaka <srikant...@oneconvergence.com> > F: drivers/net/netvsc/ > F: doc/guides/nics/netvsc.rst > F: doc/guides/nics/features/netvsc.ini > diff --git a/doc/guides/nics/netvsc.rst b/doc/guides/nics/netvsc.rst > index 77efe1d..12d1702 100644 > --- a/doc/guides/nics/netvsc.rst > +++ b/doc/guides/nics/netvsc.rst > @@ -91,6 +91,12 @@ operations: > > The dpdk-devbind.py script can not be used since it only handles PCI > devices. > > +On FreeBSD, with hv_uio kernel driver loaded, do the following: > + > + .. code-block:: console > + > + devctl set driver -f hn1 hv_uio > + > > Prerequisites > ------------- > @@ -101,6 +107,11 @@ The following prerequisites apply: > Full support of multiple queues requires the 4.17 kernel. It is possible > to use the netvsc PMD with 4.16 kernel but it is limited to a single > queue. > > +* FreeBSD support for UIO on vmbus is done with hv_uio driver and it is > still > + in `review`_ > + > +.. _`review`: https://reviews.freebsd.org/D32184 Looks like the FreeBSD UIO driver is still not merged upstream. Any update on that? For now, will leave the DPDK patches in patchwork (though they need to be rebased), and mark them as "Awaiting upstream". Alternatively, the BSD driver could be carried in DPDK. Up to Bruce the FreeBSD maintainer to give feedback.