All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhouyangchao <zhouyates@gmail.com>
To: dev@dpdk.org;
Cc: qi.z.zhang@intel.com
Subject: [PATCH] net/fm10k: remove RSS restriction with num of queues
Date: Wen, 29 Nov 2017 14:12:07 +0800	[thread overview]
Message-ID: <c96062c4-6c7e-496f-8b5e-293d97788a9d@zyc-PC.local> (raw)

FM10K HW does not have such restrictions.

Signed-off-by: Yangchao Zhou <zhouyates@gmail.com>
---
 drivers/net/fm10k/fm10k_ethdev.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index 2d05a46..403f6c5 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b/drivers/net/fm10k/fm10k_ethdev.c
@@ -533,9 +533,8 @@ fm10k_dev_rss_configure(struct rte_eth_dev *dev)
 		0x6A, 0x42, 0xB7, 0x3B, 0xBE, 0xAC, 0x01, 0xFA,
 	};
 
-	if (dev->data->nb_rx_queues == 1 ||
-	    dev_conf->rxmode.mq_mode != ETH_MQ_RX_RSS ||
-	    dev_conf->rx_adv_conf.rss_conf.rss_hf == 0) {
+	if (dev_conf->rxmode.mq_mode != ETH_MQ_RX_RSS ||
+		dev_conf->rx_adv_conf.rss_conf.rss_hf == 0) {
 		FM10K_WRITE_REG(hw, FM10K_MRQC(0), 0);
 		return;
 	}
-- 
2.9.0.windows.1

             reply	other threads:[~2017-11-29  6:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29  6:12 zhouyangchao [this message]
     [not found] <d51a98a0-33f0-44e8-a0e0-a90008f856ad@zyc-PC.local>
2017-11-29  6:54 ` [PATCH] net/fm10k: remove RSS restriction with num of queues Zhang, Qi Z
2017-12-04  6:38 zhouyangchao
2017-12-20  6:40 ` Zhang, Helin
     [not found] <889ce4b6-5f2e-4830-a750-4c75ee0c7749@zyc-PC.local>
2017-12-05  1:51 ` Zhang, Qi Z

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c96062c4-6c7e-496f-8b5e-293d97788a9d@zyc-PC.local \
    --to=zhouyates@gmail.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.