diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2018-01-10 15:00:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 16:07:41 -0500 |
commit | 9cf6c9c7585446f1a532d218ae9be8653f4d7a82 (patch) | |
tree | 39671714b74a8475a0b41621efb09412501669c7 /drivers/pwm | |
parent | 9a37a59f715256cea75cbdbcacd21e9e9dd4b72f (diff) |
mlxsw: spectrum: qdiscs: Create a generic replace function
Create a generic qdisc replace function.
For that goal, add three functions to the qdisc ops struct:
* check_params: Checks if the given parameters are offloadable.
* replace: Offload the given parameters.
* clean_stats: clean the qdisc stats for the offloaded qdisc.
integrate RED offloading into using the new internal replace API.
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions