s390/qeth: split out RX poll code
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 25 Mar 2020 09:34:58 +0000 (10:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2020 19:07:15 +0000 (12:07 -0700)
commit781b9a1820a1533135811bf281fefe0fc6920006
tree0e99669e634aa4c6b96ca3f3b65a3ecdd13b692f
parented13615dd32690ca2a9d1f730a596f950eafd905
s390/qeth: split out RX poll code

The main NAPI poll routine should eventually handle more types of work,
beyond just the RX ring.
Split off the RX poll logic into a separate function, and simplify the
nested while-loop.

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