DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: shengxiao qian <tedsxqian@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] wrong core receive the package
Date: Wed, 21 Mar 2018 07:48:33 -0700	[thread overview]
Message-ID: <20180321074833.6a3d2656@xeon-e3> (raw)
In-Reply-To: <CAPd3biDbxRohHLENKijwSthiEWCspFoGRV8ypLHkmSyPR+ABaw@mail.gmail.com>

On Wed, 21 Mar 2018 11:13:19 +0800
shengxiao qian <tedsxqian@gmail.com> wrote:

> Hi there;
>     Our machine has 2 cpus(Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz)with
> 40 cores.
> If the core num is less than or equal to 16. the application with dpdk
> works fine.But if the core num more than 16.there is something wrong with
> it.
>     In our test scenario(more then 16 cores), server a is a tcp client and
> server b is a tcp server. Server a sends a syn packet to server B with
> core1, and server B returns a syn ack message to server a.Although the hash
> value of these two packets is the same, syn ack packets are distributed to
> server a other core(not the send core),Can anyone give some help?
> 

RSS hash is not symmetrical. The SYN and SYN-ACK packets have swapped
address and port (src/dest); therefore the hash will be different.

There are some weaker RSS hash keys that are symmetrical.

  reply	other threads:[~2018-03-21 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-21  3:13 shengxiao qian
2018-03-21 14:48 ` Stephen Hemminger [this message]
2018-03-22  6:40   ` shengxiao qian

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=20180321074833.6a3d2656@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=tedsxqian@gmail.com \
    --cc=users@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).