@@ -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;
CC: Jon Mason <jdmason@kudzu.us> Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> --- drivers/net/ethernet/neterion/s2io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)