mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
sunvnet: does not support GSO for sctp
The NETIF_F_GSO_SOFTWARE implies support for GSO on SCTP, but the sunvnet driver does not support GSO for sctp. Here we remove the NETIF_F_GSO_SOFTWARE feature flag and only report NETIF_F_ALL_TSO instead. Signed-off-by: Cathy Zhou <Cathy.Zhou@Oracle.COM> Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4ea41f829a
commit
cf55612a94
@ -312,7 +312,7 @@ static struct vnet *vnet_new(const u64 *local_mac,
|
|||||||
dev->ethtool_ops = &vnet_ethtool_ops;
|
dev->ethtool_ops = &vnet_ethtool_ops;
|
||||||
dev->watchdog_timeo = VNET_TX_TIMEOUT;
|
dev->watchdog_timeo = VNET_TX_TIMEOUT;
|
||||||
|
|
||||||
dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE |
|
dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_ALL_TSO |
|
||||||
NETIF_F_HW_CSUM | NETIF_F_SG;
|
NETIF_F_HW_CSUM | NETIF_F_SG;
|
||||||
dev->features = dev->hw_features;
|
dev->features = dev->hw_features;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user