Commit 011531f7 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by David S. Miller
Browse files

docs: networking: device drivers: convert microsoft/netvsc.txt to ReST



- add SPDX header;
- adjust titles and chapters, adding proper markups;
- mark code blocks and literals as such;
- adjust identation, whitespaces and blank lines where needed;
- add to networking/index.rst.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c81f1957
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ Contents:
   freescale/gianfar
   intel/ipw2100
   intel/ipw2200
   microsoft/netvsc

.. only::  subproject and html

+34 −23
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

======================
Hyper-V network driver
======================

@@ -32,11 +35,17 @@ Features
  hashing. Using L3 hashing is recommended in this case.

  For example, for UDP over IPv4 on eth0:
  To include UDP port numbers in hashing:

  To include UDP port numbers in hashing::

	ethtool -N eth0 rx-flow-hash udp4 sdfn
  To exclude UDP port numbers in hashing:

  To exclude UDP port numbers in hashing::

	ethtool -N eth0 rx-flow-hash udp4 sd
  To show UDP hash level:

  To show UDP hash level::

	ethtool -n eth0 rx-flow-hash udp4

Generic Receive Offload, aka GRO
@@ -50,7 +59,8 @@ Features
  The driver supports LRO/RSC in the vSwitch feature. It reduces the per packet
  processing overhead by coalescing multiple TCP segments when possible. The
  feature is enabled by default on VMs running on Windows Server 2019 and
  later. It may be changed by ethtool command:
  later. It may be changed by ethtool command::

	ethtool -K eth0 lro on
	ethtool -K eth0 lro off

@@ -99,7 +109,8 @@ Features
  overwritten by setting of synthetic NIC.

  XDP program cannot run with LRO (RSC) enabled, so you need to disable LRO
  before running XDP:
  before running XDP::

	ethtool -K eth0 lro off

  XDP_REDIRECT action is not yet supported.
+1 −1
Original line number Diff line number Diff line
@@ -7867,7 +7867,7 @@ S: Supported
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
F:	Documentation/ABI/stable/sysfs-bus-vmbus
F:	Documentation/ABI/testing/debugfs-hyperv
F:	Documentation/networking/device_drivers/microsoft/netvsc.txt
F:	Documentation/networking/device_drivers/microsoft/netvsc.rst
F:	arch/x86/hyperv
F:	arch/x86/include/asm/hyperv-tlfs.h
F:	arch/x86/include/asm/mshyperv.h