CC: Jon Mason <jdmason@xxxxxxxx> Signed-off-by: Vladislav Yasevich <vyasevic@xxxxxxxxxx> --- drivers/net/ethernet/neterion/s2io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c index f5e4b82..d823bb7 100644 --- a/drivers/net/ethernet/neterion/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c @@ -4140,7 +4140,7 @@ static netdev_tx_t s2io_xmit(struct sk_buff *skb, struct net_device *dev) } frg_len = skb_headlen(skb); - if (offload_type == SKB_GSO_UDP) { + if (offload_type == SKB_GSO_UDP || offload_type == SKB_GSO_UDP6) { int ufo_size; ufo_size = s2io_udp_mss(skb); @@ -7917,9 +7917,9 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre) dev->features |= dev->hw_features | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; if (sp->device_type & XFRAME_II_DEVICE) { - dev->hw_features |= NETIF_F_UFO; + dev->hw_features |= NETIF_F_ALL_UFO; if (ufo) - dev->features |= NETIF_F_UFO; + dev->features |= NETIF_F_ALL_UFO; } if (sp->high_dma_flag == true) dev->features |= NETIF_F_HIGHDMA; -- 1.9.3 _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization