]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit10cbc6843446165ee250e1ee80dc19ee325f1e6d
tree9a281054241598e1a44a6dfd3826e7d1e2657f98
parent9fea47d93bcc98946a6eca0f019ced337564a344
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