]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/netdevice.h
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)
commita1b7c5fd7fe98f51fbbc393ee1fc4c1cdb2f0119
treeaa39ec0662d43efb9739f83877bcf92588f3bcfb
parent16e5cc647173a97e33b3e3ba81f73eb455561794
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