net: sched: add extack support for offload via tc_cls_common_offload
authorQuentin Monnet <quentin.monnet@netronome.com>
Sat, 20 Jan 2018 01:44:47 +0000 (17:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:28:32 +0000 (16:28 -0500)
commit8f0b425a712b82732127ff7880f92504f20fcc11
tree04cb71b3ced41ac9b303313d6f8844403b45d067
parent631f65ff222211711715aad9a640fb5f954c81f5
net: sched: add extack support for offload via tc_cls_common_offload

Add extack support for hardware offload of classifiers. In order
to achieve this, a pointer to a struct netlink_ext_ack is added to the
struct tc_cls_common_offload that is passed to the callback for setting
up the classifier. Function tc_cls_common_offload_init() is updated to
support initialization of this new attribute.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/cls_bpf.c
net/sched/cls_flower.c
net/sched/cls_matchall.c
net/sched/cls_u32.c