Skip to contentSkip to conversation

hv: don't enable Scatter/Gather

PATCH New Stephen Hemminger 1 participant 2 messages Jan 6, 2011 4 messages not in the archive

Subsystems (4)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20101210180954.58441856@nehalam

A message that is not in the archive (sent off-list or not yet received): 8AFC7968D54FB448A30D8F38F259C5622C0BD044@TK5EX14MBXC116.redmond.corp.microsoft.com

A message that is not in the archive (sent off-list or not yet received): 1FB5E1D5CA062146B38059374562DF7292CCE678@TK5EX14MBXC121.redmond.corp.microsoft.com

A message that is not in the archive (sent off-list or not yet received): 1FB5E1D5CA062146B38059374562DF729555F841@TK5EX14MBXC121.redmond.corp.microsoft.com

#4 lore raw

PATCH 1/1 hv: don't enable Scatter/Gather

The HyperV network driver can do scatter/gather but does not do checksum offload. Since the network stack requires checksum offload to do direct transmit (sendfile), netdev_register produces a message when driver is loaded.

drivers/staging/hv/netvsc_drv.c +0 -2
@@ -390,8 +390,6 @@ static int netvsc_probe(struct device *d
 	net->netdev_ops = &device_ops;
 
 	/* TODO: Add GSO and Checksum offload */
-	net->features = NETIF_F_SG;
-
 	SET_ETHTOOL_OPS(net, &ethtool_ops);
 	SET_NETDEV_DEV(net, device);
#5 lore raw

PATCH 1/1 hv: don't enable Scatter/Gather

In reply to a message not in the archive

The HyperV network driver can do scatter/gather but does not do checksum offload. Since the network stack requires checksum offload to do direct transmit (sendfile), netdev_register produces a message when driver is loaded.

drivers/staging/hv/netvsc_drv.c +0 -2
@@ -390,8 +390,6 @@ static int netvsc_probe(struct device *d
 	net->netdev_ops = &device_ops;
 
 	/* TODO: Add GSO and Checksum offload */
-	net->features = NETIF_F_SG;
-
 	SET_ETHTOOL_OPS(net, &ethtool_ops);
 	SET_NETDEV_DEV(net, device);