DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Xing, Beilei" <beilei.xing@intel.com>
To: "Richardson, Bruce" <bruce.richardson@intel.com>,
	Yasuhiro Ohara <yasu@nttv6.jp>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: ETH_RSS_IP only does not seem to balance traffic
Date: Fri, 14 Jan 2022 01:44:45 +0000	[thread overview]
Message-ID: <DM6PR11MB3098E698BC0A31AE3ABA9099F7549@DM6PR11MB3098.namprd11.prod.outlook.com> (raw)
In-Reply-To: <YeA/0SQjcKJpCBu9@bricha3-MOBL.ger.corp.intel.com>



> -----Original Message-----
> From: Richardson, Bruce <bruce.richardson@intel.com>
> Sent: Thursday, January 13, 2022 11:06 PM
> To: Yasuhiro Ohara <yasu@nttv6.jp>
> Cc: dev@dpdk.org; Xing, Beilei <beilei.xing@intel.com>
> Subject: Re: ETH_RSS_IP only does not seem to balance traffic
> 
> On Thu, Jan 13, 2022 at 12:52:04AM +0900, Yasuhiro Ohara wrote:
> >
> > Hi,
> >
> > My system developper friend recently ran into a problem where l3fwd
> > does not appear to receive balanced traffic on Intel XL710, but it is
> > resolved when the attached patch is applied.
> >
> > -            .rss_hf = ETH_RSS_IP,
> > +            .rss_hf = ETH_RSS_IP | ETH_RSS_TCP | ETH_RSS_UDP,
> >
> > IIRC I ran into a similar problem 3 or 4 years back, but didn't report
> > then because I believed I was doing something silly.
> > But since my friend is an experienced engineer, I feel like it may be
> > better (for the community) to ask this in the list.
> >
> > We are using dpdk-stable-18.11.6 and igb_uio.
> >
> > What are we doing wrong?
> >
> > If it is not a FAQ, I can test it again with more recent stable, and
> > will report the details.
> >
> For XL710 NICs, I believe that ETH_RSS_IP load balances only IP frames that do
> not have TCP or UDP headers also. Adding i40e driver maintainer on CC to
> comment further.

Yes, Bruce is right. For XL710, ETH_RSS_IP doesn't cover TCP and UDP packets.

> 
> /Bruce

  parent reply	other threads:[~2022-01-14  1:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 15:52 Yasuhiro Ohara
2022-01-13 15:05 ` Bruce Richardson
2022-01-14  1:41   ` Yasuhiro Ohara
2022-01-14  1:44   ` Xing, Beilei [this message]
2022-01-14  1:55     ` Yasuhiro Ohara

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=DM6PR11MB3098E698BC0A31AE3ABA9099F7549@DM6PR11MB3098.namprd11.prod.outlook.com \
    --to=beilei.xing@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=yasu@nttv6.jp \
    /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).