bonding: use netpoll_poll_dev() helper
authorEric Dumazet <[email protected]>
Fri, 21 Sep 2018 22:27:39 +0000 (15:27 -0700)
committerDavid S. Miller <[email protected]>
Mon, 24 Sep 2018 04:55:24 +0000 (21:55 -0700)
commit93f62ad5e83a13e0c224dfca5ef40f90c09aad51
treed875da6a6989846ee0288c68c9cc1ed9fd0f2dbc
parentac3d9dd034e565df2c034ab2ca71f0a9f69153c1
bonding: use netpoll_poll_dev() helper

We want to allow NAPI drivers to no longer provide
ndo_poll_controller() method, as it has been proven problematic.

team driver must not look at its presence, but instead call
netpoll_poll_dev() which factorize the needed actions.

Signed-off-by: Eric Dumazet <[email protected]>
Cc: Jay Vosburgh <[email protected]>
Cc: Veaceslav Falico <[email protected]>
Cc: Andy Gospodarek <[email protected]>
Acked-by: Jay Vosburgh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/bonding/bond_main.c