summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-xlate.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-12-14 18:16:55 -0800
committerBen Pfaff <blp@ovn.org>2019-02-25 15:38:25 -0800
commitd40533fc820c30a461e7eefe4bcfee3f799d0f11 (patch)
tree7856d83af43c276c090859fe1d1fffe66af13f55 /ofproto/ofproto-dpif-xlate.h
parentf0e3075ff0d13a10f0605d4508d0dc72d605b5cc (diff)
downloadopenvswitch-d40533fc820c30a461e7eefe4bcfee3f799d0f11.tar.gz
odp-util: Improve log messages and error reporting for Netlink parsing.
As a side effect, this also reduces a lot of log messages' severities from ERR to WARN. They just didn't seem like messages that in general reported anything that would prevent functioning. Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.h')
-rw-r--r--ofproto/ofproto-dpif-xlate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ofproto/ofproto-dpif-xlate.h b/ofproto/ofproto-dpif-xlate.h
index 0a5a52887..5a51d7b30 100644
--- a/ofproto/ofproto-dpif-xlate.h
+++ b/ofproto/ofproto-dpif-xlate.h
@@ -199,7 +199,8 @@ void xlate_ofport_remove(struct ofport_dpif *);
struct ofproto_dpif * xlate_lookup_ofproto(const struct dpif_backer *,
const struct flow *,
- ofp_port_t *ofp_in_port);
+ ofp_port_t *ofp_in_port,
+ char **errorp);
int xlate_lookup(const struct dpif_backer *, const struct flow *,
struct ofproto_dpif **, struct dpif_ipfix **,
struct dpif_sflow **, struct netflow **,