• Julian Wiedmann's avatar
    s390/qeth: defer RX modesetting · d0c74825
    Julian Wiedmann authored
    .ndo_set_rx_mode gets called in process context, but while holding the
    addr_list spinlock. Which means we currently can't sleep while
    re-programming the HW, and need to poll for IO completion. That's bad,
    in particular since receiving the cmd response can fail silently and
    we're then polling until the timeout hits.
    
    As a first step towards eliminating the IO completion polling, run the
    RX modeset from a work element and only take the addr_list lock while
    updating the RX mode address cache.
    Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d0c74825
qeth_l2_main.c 58.7 KB