commit | 5e1ad95b630e652d3467d1fd1f0b5e5ea2c441e2 | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Wed Oct 30 16:09:01 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 30 18:07:50 2019 -0700 |
tree | d58db786d3cf69472784345310715ff49b9f23c8 | |
parent | c8ecebd04cbb6badb46d42fe54282e7883ed63cc [diff] |
net: sched: extract bstats update code into function Extract common code that increments cpu_bstats counter into standalone act API function. Change hardware offloaded actions that use percpu counter allocation to use the new function instead of incrementing cpu_bstats directly. This commit doesn't change functionality. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>