]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: add cls_u32 offload hooks for netdevs
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 17 Feb 2016 05:17:09 +0000 (21:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 14:47:36 +0000 (09:47 -0500)
commit6a0a2d61c9f6ef638c7f2ea8aab422c431a835cd
treeaa39ec0662d43efb9739f83877bcf92588f3bcfb
parente8dc1cb507fde2fd2d6c49efef062724b76937ee
net: sched: add cls_u32 offload hooks for netdevs

This patch allows netdev drivers to consume cls_u32 offloads via
the ndo_setup_tc ndo op.

This works aligns with how network drivers have been doing qdisc
offloads for mqprio.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/pkt_cls.h
net/sched/cls_u32.c