Skip to content
Commit e8eb36cd authored by Amir Vadai's avatar Amir Vadai Committed by David S. Miller
Browse files

net/sched: flower: Return error when hw can't offload and skip_sw is set



When skip_sw is set and hardware fails to apply filter, return error to
user. This will make error propagation logic similar to the one
currently used in u32 classifier.
Also, changed code to use tc_skip_sw() utility function.

Signed-off-by: default avatarAmir Vadai <amirva@mellanox.com>
Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce9355ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment