diff options
| -rw-r--r-- | drivers/s390/net/qeth_core_main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 4a2ac0c8cef9..6811dd529f48 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
| @@ -287,8 +287,15 @@ int qeth_set_large_send(struct qeth_card *card, | |||
| 287 | card->options.large_send = type; | 287 | card->options.large_send = type; |
| 288 | switch (card->options.large_send) { | 288 | switch (card->options.large_send) { |
| 289 | case QETH_LARGE_SEND_EDDP: | 289 | case QETH_LARGE_SEND_EDDP: |
| 290 | card->dev->features |= NETIF_F_TSO | NETIF_F_SG | | 290 | if (card->info.type != QETH_CARD_TYPE_IQD) { |
| 291 | card->dev->features |= NETIF_F_TSO | NETIF_F_SG | | ||
| 291 | NETIF_F_HW_CSUM; | 292 | NETIF_F_HW_CSUM; |
| 293 | } else { | ||
| 294 | card->dev->features &= ~(NETIF_F_TSO | NETIF_F_SG | | ||
| 295 | NETIF_F_HW_CSUM); | ||
| 296 | card->options.large_send = QETH_LARGE_SEND_NO; | ||
| 297 | rc = -EOPNOTSUPP; | ||
| 298 | } | ||
| 292 | break; | 299 | break; |
| 293 | case QETH_LARGE_SEND_TSO: | 300 | case QETH_LARGE_SEND_TSO: |
| 294 | if (qeth_is_supported(card, IPA_OUTBOUND_TSO)) { | 301 | if (qeth_is_supported(card, IPA_OUTBOUND_TSO)) { |
