DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yerden Zhumabekov <e_zhumabekov@sts.kz>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] librte_distributor relies on RSS?
Date: Wed, 9 Jul 2014 11:50:23 +0600	[thread overview]
Message-ID: <53BCD81F.7040808@sts.kz> (raw)

Hi,

As far as I understand the code of rte_distributor,
rte_distributor_process() assign packets to workers using
m->pkt.hash.rss field of the mbuf. It means that Receive Side Scaling
should be initialized for the NIC. Otherwise, all packets would be
erroneously distributed to the same single worker.

Am I correct? maybe the RSS requirement should be added to the
description of the library then?

I apparently have some trouble enabling RSS for vmxnet3 pmd driver, so
the question is whether it is right or wrong to calculate and fill the
m->pkt.hash.rss field using my own hash function?

-- 
Sincerely,

Yerden Zhumabekov
STS, ACI
Astana, KZ

                 reply	other threads:[~2014-07-09  5:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53BCD81F.7040808@sts.kz \
    --to=e_zhumabekov@sts.kz \
    --cc=dev@dpdk.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).