From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 712102B8C; Mon, 24 Sep 2018 10:35:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 01:35:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="82783973" Received: from unknown (HELO localhost.localdomain.localdomain) ([10.224.122.193]) by FMSMGA003.fm.intel.com with ESMTP; 24 Sep 2018 01:32:57 -0700 From: Nikhil Rao To: jerin.jacob@intel.com Cc: dev@dpdk.org, Nikhil Rao , stable@dpdk.org Date: Mon, 24 Sep 2018 14:01:58 +0530 Message-Id: <1537777918-186702-1-git-send-email-nikhil.rao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1536140526-7668-1-git-send-email-nikhil.rao@intel.com> References: <1536140526-7668-1-git-send-email-nikhil.rao@intel.com> Subject: [dpdk-dev] [PATCH v2] test/event: fix RSS config in eth Rx adapter test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 08:35:55 -0000 Remove RSS config as it is not required. The hardcoded RSS configuraton also generates an error on NICs that don't support it. Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check") CC: stable@dpdk.org Signed-off-by: Nikhil Rao --- test/test/test_event_eth_rx_adapter.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c index 28f2146..3c19ee0 100644 --- a/test/test/test_event_eth_rx_adapter.c +++ b/test/test/test_event_eth_rx_adapter.c @@ -98,8 +98,7 @@ struct event_eth_rx_adapter_test_params { { static const struct rte_eth_conf port_conf_default = { .rxmode = { - .mq_mode = ETH_MQ_RX_RSS, - .max_rx_pkt_len = ETHER_MAX_LEN + .mq_mode = ETH_MQ_RX_NONE, }, .intr_conf = { .rxq = 1, @@ -114,16 +113,8 @@ struct event_eth_rx_adapter_test_params { { static const struct rte_eth_conf port_conf_default = { .rxmode = { - .mq_mode = ETH_MQ_RX_RSS, - .max_rx_pkt_len = ETHER_MAX_LEN + .mq_mode = ETH_MQ_RX_NONE, }, - .rx_adv_conf = { - .rss_conf = { - .rss_hf = ETH_RSS_IP | - ETH_RSS_TCP | - ETH_RSS_UDP, - } - } }; return port_init_common(port, &port_conf_default, mp); -- 1.8.3.1