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-08 14:21:33 +0200
commit8808908007c3d9058aced34919935a9bafc0b072 (patch)
treeea2aa93c3ebe9fea158e293882ec94ad8477c213 /src/debug.h
parentf2818b3466937a91e5f5ff696a047dab59d85baa (diff)
Got rid of get_vm_one_queue(). Separated its uses to many small attributes. - second try
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);
};