diff options
author | Amir Vadai <amirva@mellanox.com> | 2016-06-13 12:06:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-14 22:37:26 -0700 |
commit | e8eb36cd8ca93f52f738c6087073202c44ac7746 (patch) | |
tree | bb78feff52f56124ea9075d8b0d47513b1fbba83 /drivers/net | |
parent | ce9355acd5f45f8d53520e110053aa9d3fec59d1 (diff) |
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: Amir Vadai <amirva@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions