From 0e80bd4f57b89c01a8b12889a260264a8eae08ad Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Mon, 27 Feb 2017 17:54:14 +0200 Subject: Introduce capability flags in each driver, to reduce the use of get_vm_one_queue_enable Signed-off-by: Ido Barnea --- src/stateless/cp/trex_stateless_port.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/stateless/cp/trex_stateless_port.h') diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h index 5c2c8397..a1f7b76a 100644 --- a/src/stateless/cp/trex_stateless_port.h +++ b/src/stateless/cp/trex_stateless_port.h @@ -358,18 +358,6 @@ public: return m_rx_count_num; } - /** - * return true if port adds CRC to a packet (not occurs for - * VNICs) - * - * @author imarom (24-Feb-16) - * - * @return bool - */ - bool has_crc_added() const { - return m_api_info.has_crc; - } - TrexPortOwner & get_owner() { return m_owner; } -- cgit 1.2.3-korg