diff options
author | Vlad Yasevich <vyasevich@gmail.com> | 2017-05-11 11:09:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-15 14:18:11 -0400 |
commit | 70957eaecc2e43308e403c80293bec3d59632412 (patch) | |
tree | 5b7757daa9682653e4907ecfc939beacdd8c85c5 /drivers/input/mousedev.c | |
parent | 66c25f6e31766a9ec19c2bdc7f5f69f9c59bafd7 (diff) | |
download | linux-stable-70957eaecc2e43308e403c80293bec3d59632412.tar.gz linux-stable-70957eaecc2e43308e403c80293bec3d59632412.tar.bz2 linux-stable-70957eaecc2e43308e403c80293bec3d59632412.zip |
macvlan: Fix performance issues with vlan tagged packets
Macvlan always turns on offload features that have sofware
fallback (NETIF_GSO_SOFTWARE). This allows much higher guest-guest
communications over macvtap.
However, macvtap does not turn on these features for vlan tagged traffic.
As a result, depending on the HW that mactap is configured on, the
performance of guest-guest communication over a vlan is very
inconsistent. If the HW supports TSO/UFO over vlans, then the
performance will be fine. If not, the the performance will suffer
greatly since the VM may continue using TSO/UFO, and will force the host
segment the traffic and possibly overlow the macvtap queue.
This patch adds the always on offloads to vlan_features. This
makes sure that any vlan tagged traffic between 2 guest will not
be segmented needlessly.
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/input/mousedev.c')
0 files changed, 0 insertions, 0 deletions