diff options
author | Eugene Crosser <Eugene.Crosser@ru.ibm.com> | 2016-06-16 16:18:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-17 07:16:12 +0200 |
commit | 2601e4ed3f643da2cd4e55f174355e02c0636a04 (patch) | |
tree | 69658a486464da83ed5cc97330a89c83b9506566 /drivers/s390/net/qeth_l3_main.c | |
parent | qeth: enable scatter/gather in layer 2 mode (diff) | |
download | linux-2601e4ed3f643da2cd4e55f174355e02c0636a04.tar.xz linux-2601e4ed3f643da2cd4e55f174355e02c0636a04.zip |
qeth: enable scatter/gather by default
Set scatter/gather ON by default on OSA, for both layer 2 and
layer 3 modes. We always use fragmentation over QDIO anyway,
so let the upper layers of the stack take advantage of that.
Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Lakhvich Dmitriy <ldmitriy@ru.ibm.com>
Reviewed-by: Thomas Richter <tmricht@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 76ddd18906ea..0afdb144e979 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -3191,7 +3191,8 @@ static int qeth_l3_setup_netdev(struct qeth_card *card) card->dev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_TSO; - card->dev->features = NETIF_F_RXCSUM; + card->dev->features = NETIF_F_RXCSUM | + NETIF_F_SG; } } } else if (card->info.type == QETH_CARD_TYPE_IQD) { |