aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-02-12 23:39:06 +0200
committerDavid S. Miller <davem@davemloft.net>2019-02-13 21:06:43 -0800
commit1f15bb4f399ceccd85522b24af31198f53516f9b (patch)
treeecf4bf7c20a5c1983185f5851294abec066a0d6e /virt
parentqlge: fix some indentation issues (diff)
downloadlinux-dev-1f15bb4f399ceccd85522b24af31198f53516f9b.tar.xz
linux-dev-1f15bb4f399ceccd85522b24af31198f53516f9b.zip
net: sched: flower: only return error from hw offload if skip_sw
Recently introduced tc_setup_flow_action() can fail when parsing tcf_exts on some unsupported action commands. However, this should not affect the case when user did not explicitly request hw offload by setting skip_sw flag. Modify tc_setup_flow_action() callers to only propagate the error if skip_sw flag is set for filter that is being offloaded, and set extack error message in that case. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Fixes: 3a7b68617de7 ("cls_api: add translator to flow_action representation") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions