From: wenxu <we...@ucloud.cn> The hw can't offload USERSPACE action which will lead many err logs as following. "ERR|failed to offload flow: Operation not supported"
So we should avoid offload USERSPACE actions Signed-off-by: wenxu <we...@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 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev