Re: [PATCH net-next] net: sched: flower: only return error from hw offload if skip_sw

2019-02-13 Thread David Miller
From: Vlad Buslov Date: Tue, 12 Feb 2019 23:39:06 +0200 > 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 t

[PATCH net-next] net: sched: flower: only return error from hw offload if skip_sw

2019-02-12 Thread Vlad Buslov
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_