]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'hv_netvsc-Ethtool-handler-to-change-UDP-hash-levels'
authorDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:08:12 +0000 (14:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:08:12 +0000 (14:08 -0700)
commit78248be46c09b0507118691ab156fd8f0ba69c7a
treeedaaeedb401570d404c71ec1117a6e4bb85f5160
parentc9759c699f707dda2221874fce66792bf8f0eff9
parent475d9154ee438a1230d0525385dba16a697f553e
Merge branch 'hv_netvsc-Ethtool-handler-to-change-UDP-hash-levels'

Haiyang Zhang says:

====================
hv_netvsc: Ethtool handler to change UDP hash levels

The patch set adds the functions to switch UDP hash level between
L3 and L4 by ethtool command. UDP over IPv4 and v6 can be set
differently. The default hash level is L4. We currently only
allow switching TX hash level from within the guests.

The ethtool callback function is triggered by command line, and
update the per device variables of the hash level.

On Azure, fragmented UDP packets is not yet supported with L4
hashing, and may have high packet loss rate. Using L3 hashing is
recommended in this case. This ethtool option allows a user to
make this selection.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>