summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif.c
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@sysclose.org>2019-11-22 15:09:02 -0300
committerBen Pfaff <blp@ovn.org>2019-11-22 14:03:36 -0800
commitaa453e319961a0c59e1dacce707408a188915018 (patch)
tree84c2f635f98f3b04feb82ef344adcd0be8454f74 /ofproto/ofproto-dpif.c
parent0442bfb11d6ccbf11754ef1d6de603b970465302 (diff)
downloadopenvswitch-aa453e319961a0c59e1dacce707408a188915018.tar.gz
ofproto-dpif: Expose datapath ND Extensions capability to ovsdb
Document and expose datapath ND Extensions capability to ovsdb. Fixes: d0d571493 ("ofproto-dpif: Allow IPv6 ND Extensions only if supported") Signed-off-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto/ofproto-dpif.c')
-rw-r--r--ofproto/ofproto-dpif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 5360e7209..2cd786a16 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -5532,6 +5532,7 @@ get_datapath_cap(const char *datapath_type, struct smap *cap)
smap_add(cap, "ct_state_nat", odp.ct_state_nat ? "true" : "false");
smap_add(cap, "ct_orig_tuple", odp.ct_orig_tuple ? "true" : "false");
smap_add(cap, "ct_orig_tuple6", odp.ct_orig_tuple6 ? "true" : "false");
+ smap_add(cap, "nd_ext", odp.nd_ext ? "true" : "false");
/* DPIF_SUPPORT_FIELDS */
smap_add(cap, "masked_set_action", s.masked_set_action ? "true" : "false");