|
@@ -1107,7 +1107,8 @@ static void bond_compute_features(struct bonding *bond)
|
|
|
|
|
|
done:
|
|
|
bond_dev->vlan_features = vlan_features;
|
|
|
- bond_dev->hw_enc_features = enc_features | NETIF_F_GSO_ENCAP_ALL;
|
|
|
+ bond_dev->hw_enc_features = enc_features | NETIF_F_GSO_ENCAP_ALL |
|
|
|
+ NETIF_F_GSO_UDP_L4;
|
|
|
bond_dev->gso_max_segs = gso_max_segs;
|
|
|
netif_set_gso_max_size(bond_dev, gso_max_size);
|
|
|
|
|
@@ -4268,7 +4269,7 @@ void bond_setup(struct net_device *bond_dev)
|
|
|
NETIF_F_HW_VLAN_CTAG_RX |
|
|
|
NETIF_F_HW_VLAN_CTAG_FILTER;
|
|
|
|
|
|
- bond_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL;
|
|
|
+ bond_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL | NETIF_F_GSO_UDP_L4;
|
|
|
bond_dev->features |= bond_dev->hw_features;
|
|
|
}
|
|
|
|