• Neil Horman's avatar
    netpoll: Revert napi_poll fix for bonding driver · f13d493d
    Neil Horman authored
    In an erlier patch I modified napi_poll so that devices with IFF_MASTER polled
    the per_cpu list instead of the device list for napi.  I did this because the
    bonding driver has no napi instances to poll, it instead expects to check the
    slave devices napi instances, which napi_poll was unaware of.  Looking at this
    more closely however, I now see this isn't strictly needed.  As the bond driver
    poll_controller calls the slaves poll_controller via netpoll_poll_dev, which
    recursively calls poll_napi on each slave, allowing those napi instances to get
    serviced.  The earlier patch isn't at all harmfull, its just not needed, so lets
    revert it to make the code cleaner.  Sorry for the noise,
    Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>
    Reviewed-by: default avatarWANG Cong <amwang@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f13d493d
netpoll.c 21.7 KB