]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: cls_flower: Hardware offloaded filters statistics support
authorAmir Vadai <amirva@mellanox.com>
Fri, 13 May 2016 12:55:37 +0000 (12:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:43:50 +0000 (13:43 -0400)
commite4be9e4bc84630f18c046d77d31c976e746b5b21
tree9a281054241598e1a44a6dfd3826e7d1e2657f98
parent60eea93862992152fab41c0bf6308e95662b3087
net/sched: cls_flower: Hardware offloaded filters statistics support

Introduce a new command in ndo_setup_tc() for hardware offloaded
filters, to call the NIC driver, and make it update the statistics.
This will be done before dumping the filter and its statistics.

Signed-off-by: Amir Vadai <amirva@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/cls_flower.c