It is useful to also log when tnl_port_build_header() failed.
Signed-off-by: Yunjian Wang <[email protected]>
---
ofproto/ofproto-dpif-xlate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 9d336bc6a..a9c12a207 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -3681,6 +3681,7 @@ native_tunnel_output(struct xlate_ctx *ctx, const struct
xport *xport,
netdev_init_tnl_build_header_params(&tnl_params, flow, &s_ip6, dmac, smac);
err = tnl_port_build_header(xport->ofport, &tnl_push_data, &tnl_params);
if (err) {
+ xlate_report(ctx, OFT_WARN, "native tunnel build header failed");
return err;
}
tnl_push_data.tnl_port = tunnel_odp_port;
--
2.23.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev