summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index a5153792..7ee221b5 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -635,7 +635,15 @@ public:
bool get_rt_prio_mode() {
return (btGetMaskBit32(m_flags1, 10, 10) ? true : false);
}
-
+
+ void set_mlx5_so_mode(bool enable) {
+ btSetMaskBit32(m_flags1, 11, 11, (enable ? 1 : 0) );
+ }
+
+ bool get_mlx5_so_mode() {
+ return (btGetMaskBit32(m_flags1, 11, 11) ? true : false);
+ }
+
public:
void Dump(FILE *fd);