OSDN Git Service

sched: cls_flower: expose priority to offloading netdevice
authorJiri Pirko <jiri@mellanox.com>
Fri, 3 Feb 2017 09:29:08 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 21:35:43 +0000 (16:35 -0500)
commit69ca05ce9dec2cc95070df7f1f10ea6c9c12d237
tree50806c1c3281b321de58509f41a3913338599765
parent22a677661f5624539d394f681276171f92d714df
sched: cls_flower: expose priority to offloading netdevice

The driver that offloads flower rules needs to know with which priority
user inserted the rules. So add this information into offload struct.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/cls_flower.c