diff options
author | imarom <imarom@cisco.com> | 2016-12-20 14:58:30 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-12-20 14:58:52 +0200 |
commit | abc0cb8755084ad00e0dc3421f307b0405f54176 (patch) | |
tree | b3d0a060c694b29124496c3b26df6ee414d474de /src/bp_gtest.cpp | |
parent | 211caa7b0018047c0ff5d94ac762b0799e995b7e (diff) |
trex-312 ARP resolution does not work from console at virtual NICs
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src/bp_gtest.cpp')
-rwxr-xr-x | src/bp_gtest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bp_gtest.cpp b/src/bp_gtest.cpp index 11bd6235..a3e52bb9 100755 --- a/src/bp_gtest.cpp +++ b/src/bp_gtest.cpp @@ -833,7 +833,7 @@ public: m_port_id=0; } - virtual int tx(rte_mbuf_t * m){ + virtual int tx(rte_mbuf_t *m) { assert(m_queue==0); //printf(" tx on port %d \n",m_port_id); // utl_DumpBuffer(stdout,rte_pktmbuf_mtod(m, uint8_t*),rte_pktmbuf_pkt_len(m),0); @@ -841,6 +841,10 @@ public: return (0); } + virtual int tx_latency(rte_mbuf_t *m) { + return tx(m); + } + virtual rte_mbuf_t * rx(){ //printf(" rx on port %d \n",m_port_id); rte_mbuf_t * m=0; |