diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-12 15:31:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-12 13:12:51 -0700 |
commit | 04db741d0df02fdb9ea4ddca32615153407dcf7f (patch) | |
tree | 55d400ea3dc70ee738f56ef9330700e576989cfb /drivers | |
parent | 778b1ac737494cec156f17c80da44664c1f77cf6 (diff) |
s390/qeth: switch on SG by default for IQD devices
Scatter-gather transmit brings a nice performance boost. Considering the
rather large MTU sizes at play, it's also totally the Right Thing To Do.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 6b24face21d5..b60055e9cb1a 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -5706,6 +5706,8 @@ static struct net_device *qeth_alloc_netdev(struct qeth_card *card) dev->priv_flags &= ~IFF_TX_SKB_SHARING; dev->hw_features |= NETIF_F_SG; dev->vlan_features |= NETIF_F_SG; + if (IS_IQD(card)) + dev->features |= NETIF_F_SG; } return dev; |