]> 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)
commit7616adbae43c7d390de4b565e6d7d9d7cda59199
treeaa39ec0662d43efb9739f83877bcf92588f3bcfb
parent64374177f8fa2f1a6e6f4806dc31b14fca4213aa
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