summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib_cm.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@voltaire.com>2011-01-10 17:41:55 -0800
committerRoland Dreier <rolandd@cisco.com>2011-01-10 17:41:55 -0800
commit8ae31e5b1fc73751d800d551fb30340caa53c7dd (patch)
treed615fd6f91f150427bf143936fb686f38609cf06 /drivers/infiniband/ulp/ipoib/ipoib_cm.c
parent19e364f6801e38972673278adedaab1abf6f854c (diff)
downloadblackbird-op-linux-8ae31e5b1fc73751d800d551fb30340caa53c7dd.tar.gz
blackbird-op-linux-8ae31e5b1fc73751d800d551fb30340caa53c7dd.zip
IPoIB: Add GRO support
Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_cm.c')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index bb1004114dec..c1c49f2d35b5 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -1480,6 +1480,7 @@ static ssize_t set_mode(struct device *d, struct device_attribute *attr,
if (test_bit(IPOIB_FLAG_CSUM, &priv->flags)) {
dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG;
+ priv->dev->features |= NETIF_F_GRO;
if (priv->hca_caps & IB_DEVICE_UD_TSO)
dev->features |= NETIF_F_TSO;
}
OpenPOWER on IntegriCloud