]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: use netpoll_poll_dev() helper
authorEric Dumazet <edumazet@google.com>
Fri, 21 Sep 2018 22:27:39 +0000 (15:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Sep 2018 04:55:24 +0000 (21:55 -0700)
commit1d4d7cbee3314a95420a4b815555073bb1a01426
treed875da6a6989846ee0288c68c9cc1ed9fd0f2dbc
parent5d2d5c1337581518ba4bbb47cf916a0b8b2ef836
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 <edumazet@google.com>
Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c