Skip to content

Commit

Permalink
Disable GSO on vhost0 as there are issues with agent restart (due to a
Browse files Browse the repository at this point in the history
vrouter issue which results in skb gso_size being reset to 0 when packets
are trapped to the agent)

Change-Id: I9a638e03ac49ca723a8fa9141050c0e8de37ac14
  • Loading branch information
srajag committed Oct 10, 2014
1 parent 86bfb62 commit 9b2f869
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions linux/vhost_dev.c
Expand Up @@ -225,8 +225,6 @@ vhost_if_add(struct vr_interface *vif)

vp->vp_vifp = vif;
if (vif->vif_type == VIF_TYPE_HOST) {
dev->features |= (NETIF_F_GSO | NETIF_F_TSO | NETIF_F_SG | NETIF_F_IP_CSUM);

if (vif->vif_bridge) {
vp->vp_phys_dev =
(struct net_device *)vif->vif_bridge->vif_os;
Expand Down
1 change: 0 additions & 1 deletion linux/vr_host_interface.c
Expand Up @@ -932,7 +932,6 @@ linux_to_vr(struct vr_interface *vif, struct sk_buff *skb)
if (!pkt)
return 0;

pkt->vp_flags |= VP_FLAG_GSO;
vif->vif_rx(vif, pkt, VLAN_ID_INVALID);

return 0;
Expand Down

0 comments on commit 9b2f869

Please sign in to comment.