summaryrefslogtreecommitdiffstats
path: root/src/debug.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-03-06 12:37:10 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-03-07 13:51:27 +0200
commitcebf5a44b5f28a03b245e43013cc27671a980206 (patch)
tree59f80d43993b5bbc4d1d522f35bd945799895214 /src/debug.h
parentc5f368b517964f52b30c0c5279aeb0778bf9faeb (diff)
Got rid of get_vm_one_queue(). Separated its uses to many small attributes.
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h
index d178e3af..5af4eba1 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -23,6 +23,7 @@ class CTrexDebug {
uint64_t m_test_drop;
CPhyEthIF *m_ports;
uint32_t m_max_ports;
+ uint32_t m_rx_q_num;
int rcv_send(int port,int queue_id);
int rcv_send_all(int queue_id);
@@ -36,7 +37,7 @@ class CTrexDebug {
int verify_hw_rules(bool recv_all);
public:
- CTrexDebug(CPhyEthIF *m_ports_arg, int max_ports);
+ CTrexDebug(CPhyEthIF *m_ports_arg, int max_ports, uint32_t rx_q_num);
int test_send(uint pkt_type);
};