• WANG Cong's avatar
    bonding: make bonding support netpoll · f6dc31a8
    WANG Cong authored
    Based on Andy's work, but I modified a lot.
    
    Similar to the patch for bridge, this patch does:
    
    1) implement the 2 methods to support netpoll for bonding;
    
    2) modify netpoll during forwarding packets via bonding;
    
    3) disable netpoll support of bonding when a netpoll-unabled device
       is added to bonding;
    
    4) enable netpoll support when all underlying devices support netpoll.
    
    Cc: Andy Gospodarek <gospo@redhat.com>
    Cc: Jeff Moyer <jmoyer@redhat.com>
    Cc: Matt Mackall <mpm@selenic.com>
    Cc: Neil Horman <nhorman@tuxdriver.com>
    Cc: Jay Vosburgh <fubar@us.ibm.com>
    Cc: David Miller <davem@davemloft.net>
    Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f6dc31a8
bond_main.c 135 KB