Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tcp: cubic as default cc algorithm
[vpp.git]
/
extras
/
vom
/
vom
/
l2_xconnect.cpp
diff --git
a/extras/vom/vom/l2_xconnect.cpp
b/extras/vom/vom/l2_xconnect.cpp
index
1bdb651
..
f54da6c
100644
(file)
--- a/
extras/vom/vom/l2_xconnect.cpp
+++ b/
extras/vom/vom/l2_xconnect.cpp
@@
-34,7
+34,7
@@
l2_xconnect::l2_xconnect(const interface& east_itf, const interface& west_itf)
, m_west_itf(west_itf.singular())
, m_xconnect_east(0)
, m_xconnect_west(0)
, m_west_itf(west_itf.singular())
, m_xconnect_east(0)
, m_xconnect_west(0)
- , m_vtr_op(l2_vtr
_op_t::L2_VTR_
DISABLED, rc_t::UNSET)
+ , m_vtr_op(l2_vtr
::option_t::
DISABLED, rc_t::UNSET)
, m_vtr_op_tag(0)
{
}
, m_vtr_op_tag(0)
{
}
@@
-98,7
+98,7
@@
l2_xconnect::replay()
if (m_vtr_op && handle_t::INVALID != m_east_itf->handle()) {
HW::enqueue(
if (m_vtr_op && handle_t::INVALID != m_east_itf->handle()) {
HW::enqueue(
- new
set_vtr_op
_cmd(m_vtr_op, m_east_itf->handle(), m_vtr_op_tag));
+ new
l2_vtr_cmds::set
_cmd(m_vtr_op, m_east_itf->handle(), m_vtr_op_tag));
}
}
}
}
@@
-122,7
+122,7
@@
l2_xconnect::to_string() const
}
void
}
void
-l2_xconnect::set(const l2_vtr
_op
_t& op, uint16_t tag)
+l2_xconnect::set(const l2_vtr
::option
_t& op, uint16_t tag)
{
assert(rc_t::UNSET == m_vtr_op.rc());
m_vtr_op.set(rc_t::NOOP);
{
assert(rc_t::UNSET == m_vtr_op.rc());
m_vtr_op.set(rc_t::NOOP);
@@
-148,7
+148,7
@@
l2_xconnect::update(const l2_xconnect& desired)
*/
if (m_vtr_op.update(desired.m_vtr_op)) {
HW::enqueue(
*/
if (m_vtr_op.update(desired.m_vtr_op)) {
HW::enqueue(
- new
set_vtr_op
_cmd(m_vtr_op, m_east_itf->handle(), m_vtr_op_tag));
+ new
l2_vtr_cmds::set
_cmd(m_vtr_op, m_east_itf->handle(), m_vtr_op_tag));
}
}
}
}