]> git.ipfire.org Git - thirdparty/linux.git/commit
hv_netvsc: Set tx_table to equal weight after subchannels open
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 27 Oct 2017 19:36:38 +0000 (12:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 03:09:23 +0000 (12:09 +0900)
commita6fb6aa3cfa9047b62653dbcfc9bcde6e2272b41
treedbcefe8f2e8919a00b6a3fc5cbda55d5ed521b11
parent90e229ef61fad240554f5899eb122fbe44990f78
hv_netvsc: Set tx_table to equal weight after subchannels open

In some cases, like internal vSwitch, the host doesn't provide
send indirection table updates. This patch sets the table to be
equal weight after subchannels are all open. Otherwise, all workload
will be on one TX channel.

As tested, this patch has largely increased the throughput over
internal vSwitch.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/rndis_filter.c