From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4106F2B8C; Mon, 24 Sep 2018 10:58:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 01:58:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="266151068" Received: from unknown (HELO localhost.localdomain.localdomain) ([10.224.122.193]) by fmsmga006.fm.intel.com with ESMTP; 24 Sep 2018 01:55:19 -0700 From: Nikhil Rao To: jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Nikhil Rao , stable@dpdk.org Date: Mon, 24 Sep 2018 14:23:47 +0530 Message-Id: <1537779227-188487-1-git-send-email-nikhil.rao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1537777918-186702-1-git-send-email-nikhil.rao@intel.com> References: <1537777918-186702-1-git-send-email-nikhil.rao@intel.com> Subject: [dpdk-stable] [PATCH v3] test/event: fix RSS config in eth Rx adapter test X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 08:58:06 -0000 Remove RSS config as it is not required. The hardcoded RSS configuration 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 --- v2: - use ETH_MQ_RX_NONE to disable RSS (Jerin Jacob) v3: - fix typo in commit message (checkpatch warning) 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