]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: let isolation mode override HW offload restrictions
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 17 Jun 2020 14:54:53 +0000 (16:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 03:27:42 +0000 (20:27 -0700)
commitb0123c9e24c210aa5cf5c6c5ba502924ad2f42c2
tree7fb6a21fe6cf05367c797f7df939438b3f35616f
parent230ca236a7c120493a854845c9db2e1fda3155a4
s390/qeth: let isolation mode override HW offload restrictions

When a device is configured with ISOLATION_MODE_FWD, traffic never goes
through the internal switch. Don't apply the offload restrictions in
this case.

Fixes: 1f74eb0bf4c6 ("s390/qeth: don't use restricted offloads for local traffic")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c