net: add tc offload feature flag
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 17 Feb 2016 05:17:37 +0000 (21:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 14:47:36 +0000 (09:47 -0500)
commit1c78c64e9c6f43a490427d55cd2d213b7c6795c1
treecc65c4097c54a23c701d9abdff47ce10d5509245
parenta1b7c5fd7fe98f51fbbc393ee1fc4c1cdb2f0119
net: add tc offload feature flag

Its useful to turn off the qdisc offload feature at a per device
level. This gives us a big hammer to enable/disable offloading.
More fine grained control (i.e. per rule) may be supported later.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdev_features.h
net/core/ethtool.c