|
@@ -233,15 +233,15 @@ static int ixgbe_set_rx_csum(struct net_device *netdev, u32 data)
|
|
|
|
|
|
static u32 ixgbe_get_tx_csum(struct net_device *netdev)
|
|
|
{
|
|
|
- return (netdev->features & NETIF_F_HW_CSUM) != 0;
|
|
|
+ return (netdev->features & NETIF_F_IP_CSUM) != 0;
|
|
|
}
|
|
|
|
|
|
static int ixgbe_set_tx_csum(struct net_device *netdev, u32 data)
|
|
|
{
|
|
|
if (data)
|
|
|
- netdev->features |= NETIF_F_HW_CSUM;
|
|
|
+ netdev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM);
|
|
|
else
|
|
|
- netdev->features &= ~NETIF_F_HW_CSUM;
|
|
|
+ netdev->features &= ~NETIF_F_IP_CSUM;
|
|
|
|
|
|
return 0;
|
|
|
}
|