From: Thomas Monjalon Date: Mon, 2 Jul 2018 21:27:47 +0000 (+0200) Subject: test: remove unused configuration for bonding X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3a3ec09c69bc71873dc187034fe19ba30c70c944;p=dpdk.git test: remove unused configuration for bonding The global variables rx_mode and fdir_conf are not used in this test file. Signed-off-by: Thomas Monjalon Acked-by: Ferruh Yigit --- diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c index 0ffd65090f..d74c0ab4e9 100644 --- a/test/test/test_link_bonding.c +++ b/test/test/test_link_bonding.c @@ -135,25 +135,6 @@ static uint16_t dst_port_1 = 2024; static uint16_t vlan_id = 0x100; -struct rte_eth_rxmode rx_mode = { - .max_rx_pkt_len = ETHER_MAX_LEN, /**< Default maximum frame length. */ - .split_hdr_size = 0, - .header_split = 0, /**< Header Split disabled. */ - .hw_ip_checksum = 0, /**< IP checksum offload disabled. */ - .hw_vlan_filter = 1, /**< VLAN filtering enabled. */ - .hw_vlan_strip = 1, /**< VLAN strip enabled. */ - .hw_vlan_extend = 0, /**< Extended VLAN disabled. */ - .jumbo_frame = 0, /**< Jumbo Frame Support disabled. */ - .hw_strip_crc = 1, /**< CRC stripping by hardware enabled. */ -}; - -struct rte_fdir_conf fdir_conf = { - .mode = RTE_FDIR_MODE_NONE, - .pballoc = RTE_FDIR_PBALLOC_64K, - .status = RTE_FDIR_REPORT_STATUS, - .drop_queue = 127, -}; - static struct rte_eth_conf default_pmd_conf = { .rxmode = { .mq_mode = ETH_MQ_RX_NONE,