mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Even though this block is not compiled currently, properly assign
CSUM_TSO to if_hwassist rather than if_capabilities to avoid future errors. Reviewed by: jeff
This commit is contained in:
parent
10f603b058
commit
ad46f43a26
1 changed files with 4 additions and 2 deletions
|
|
@ -924,8 +924,10 @@ ipoib_set_dev_features(struct ipoib_dev_priv *priv, struct ib_device *hca)
|
|||
}
|
||||
|
||||
#if 0
|
||||
if (priv->dev->features & NETIF_F_SG && priv->hca_caps & IB_DEVICE_UD_TSO)
|
||||
priv->dev->if_capabilities |= IFCAP_TSO4 | CSUM_TSO;
|
||||
if (priv->dev->features & NETIF_F_SG && priv->hca_caps & IB_DEVICE_UD_TSO) {
|
||||
priv->dev->if_capabilities |= IFCAP_TSO4;
|
||||
priv->dev->if_hwassist |= CSUM_TSO;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
priv->dev->if_capabilities |=
|
||||
|
|
|
|||
Loading…
Reference in a new issue