summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-03-16 16:35:42 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-03-16 16:38:28 +0200
commit0d3f6dff2af1325c4e5cf8143e4f4567c30c159e (patch)
treec7066e7ebb60df75674fc281f0a060ea2dc28001 /src/bp_sim.h
parent284c6cd80086c00a7312f2ccffa686a679620cd3 (diff)
Fixes for v2.21 --software mode issues
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index d8f620ed..fd4e6627 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -1388,7 +1388,7 @@ static inline bool get_is_rx_filter_enable(){
uint32_t latency_rate=CGlobalInfo::m_options.m_latency_rate;
return ( ( get_is_rx_check_mode() || CGlobalInfo::is_learn_mode() || latency_rate != 0
|| get_is_stateless()) && ((CGlobalInfo::get_queues_mode() != CGlobalInfo::Q_MODE_RSS)
- || (CGlobalInfo::get_queues_mode() != CGlobalInfo::Q_MODE_ONE_QUEUE))
+ && (CGlobalInfo::get_queues_mode() != CGlobalInfo::Q_MODE_ONE_QUEUE))
?true:false );
}
static inline uint16_t get_rx_check_hops() {