aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/bridge_domain_entry.cpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2017-11-01 03:29:13 -0700
committerNeale Ranns <neale.ranns@cisco.com>2017-11-01 03:29:13 -0700
commitf29e85f9fa888e5544b19db78a752c03337ca14d (patch)
tree0b5ecbe9d79a76fd441479862cb585d3a64e3fbe /src/vpp-api/vom/bridge_domain_entry.cpp
parent53ae29e0608868be4f6a9cced21c39e72e294d0b (diff)
VOM fixes for 9090 - ships in the night commits
Change-Id: I4b03a4f86a7e0e47874715398ca9f8ff0f5386ee Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/bridge_domain_entry.cpp')
-rw-r--r--src/vpp-api/vom/bridge_domain_entry.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vpp-api/vom/bridge_domain_entry.cpp b/src/vpp-api/vom/bridge_domain_entry.cpp
index 4041e315352..7a1245b0f4d 100644
--- a/src/vpp-api/vom/bridge_domain_entry.cpp
+++ b/src/vpp-api/vom/bridge_domain_entry.cpp
@@ -39,8 +39,8 @@ bridge_domain_entry::bridge_domain_entry(const mac_address_t& mac,
, m_tx_itf(tx_itf.singular())
{
/*
- * the route goes in the default table
- */
+ * the entry goes in the default bridge-domain
+ */
bridge_domain bd(bridge_domain::DEFAULT_TABLE);
m_bd = bd.singular();
@@ -92,8 +92,8 @@ void
bridge_domain_entry::update(const bridge_domain_entry& r)
{
/*
- * create the table if it is not yet created
- */
+ * create the table if it is not yet created
+ */
if (rc_t::OK != m_hw.rc()) {
HW::enqueue(new create_cmd(m_hw, m_mac, m_bd->id(), m_tx_itf->handle()));
}
@@ -151,10 +151,10 @@ bridge_domain_entry::event_handler::handle_populate(const client_db::key_t& key)
<< mac.to_string() << itf->to_string();
/*
- * Write each of the discovered interfaces into the OM,
- * but disable the HW Command q whilst we do, so that no
- * commands are sent to VPP
- */
+ * Write each of the discovered interfaces into the OM,
+ * but disable the HW Command q whilst we do, so that no
+ * commands are sent to VPP
+ */
OM::commit(key, bd_e);
}
}