net: add busy_poll device feature
authorJiri Pirko <jiri@resnulli.us>
Wed, 2 Apr 2014 21:09:31 +0000 (23:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2014 18:31:34 +0000 (14:31 -0400)
commitd0290214de712150b118a532ded378a29255893b
treee27bdd049f71378689f160fdac7693437e5d3a30
parent8e2f1a63f2217365223026422a2f8ba5967051d6
net: add busy_poll device feature

Currently there is no way how to find out if a device supports busy
polling. So add a feature and make it dependent on ndo_busy_poll
existence.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdev_features.h
net/core/dev.c
net/core/ethtool.c