net: act_mirred: allow statistic updates from offloaded actions
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 21 Sep 2016 10:44:05 +0000 (11:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 23:50:03 +0000 (19:50 -0400)
commit9798e6fe4f9b6a2847a40e24b75e68afdc7a01b3
treea0ef332d5f33ef8f6d5dad9aa78cc05cc5134872
parent19d0f54edab6e77b6b73277ac33717be1f858fa8
net: act_mirred: allow statistic updates from offloaded actions

Implement .stats_update() callback.  The implementation
is generic and can be reused by other simple actions if
needed.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c