[ovs-dev] [PATCH] dif-netlink: avoid offload the unsupported USERSPACE action
wenxu
wenxu at ucloud.cn
Mon Mar 11 01:26:03 UTC 2019
Hi,
Are there any idear for this patch?
BR
wenxu
在 2019-03-06 12:35:58,wenxu at ucloud.cn 写道:
> From: wenxu <wenxu at ucloud.cn>
>
> The hw do/t support USERSPACE action, it will lead many err
> logs as following
> "ERR|failed to offload flow: Operation not supported"
>
> Signed-off-by: wenxu <wenxu at ucloud.cn>
> ---
> lib/dpif-netlink.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
> index 00538e5..46fe022 100644
> --- a/lib/dpif-netlink.c
> +++ b/lib/dpif-netlink.c
> @@ -2036,6 +2036,9 @@ parse_flow_put(struct dpif_netlink *dpif, struct dpif_flow_put *put)
> csum_on = tnl_cfg->csum;
> }
> netdev_close(outdev);
> + } else if (nl_attr_type(nla) == OVS_ACTION_ATTR_USERSPACE) {
> + err = EOPNOTSUPP;
> + goto out;
> }
> }
>
> --
> 1.8.3.1
>
More information about the dev
mailing list