commit | e8eb36cd8ca93f52f738c6087073202c44ac7746 | [log] [tgz] |
---|---|---|
author | Amir Vadai <amirva@mellanox.com> | Mon Jun 13 12:06:39 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 14 22:37:26 2016 -0700 |
tree | bb78feff52f56124ea9075d8b0d47513b1fbba83 | |
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>