summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_dpdk.h')
-rw-r--r--src/main_dpdk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main_dpdk.h b/src/main_dpdk.h
index 640c73e4..6402d106 100644
--- a/src/main_dpdk.h
+++ b/src/main_dpdk.h
@@ -167,6 +167,7 @@ class CPhyEthIF {
int get_rx_stat_capabilities();
const std::vector<std::pair<uint8_t, uint8_t>> & get_core_list();
+ TRexPortAttr * get_port_attr() { return m_port_attr; }
private:
uint8_t m_port_id;
@@ -179,6 +180,7 @@ class CPhyEthIF {
CPPSMeasure m_pps_rx;
CPhyEthIFStats m_stats;
CPhyEthIgnoreStats m_ignore_stats;
+ TRexPortAttr *m_port_attr;
float m_last_tx_rate;
float m_last_rx_rate;
float m_last_tx_pps;