DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wu, Jingjing" <jingjing.wu@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>,
	ALeX Wang <ee07b291@gmail.com>,  "dev@dpdk.org" <dev@dpdk.org>
Cc: Keith Amidon <keith@awakenetworks.com>,
	"Zhang, Helin" <helin.zhang@intel.com>
Subject: Re: [dpdk-dev] Does DPDK i40e driver support 'Toeplitz hash'
Date: Fri, 13 Jan 2017 02:27:29 +0000	[thread overview]
Message-ID: <9BB6961774997848B5B42BEC655768F810CC7FA3@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <93668bf1-1e46-17f7-473b-5ab0ca7d9d61@intel.com>



> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Thursday, January 12, 2017 7:59 PM
> To: ALeX Wang <ee07b291@gmail.com>; dev@dpdk.org
> Cc: Keith Amidon <keith@awakenetworks.com>; Wu, Jingjing
> <jingjing.wu@intel.com>; Zhang, Helin <helin.zhang@intel.com>
> Subject: Re: [dpdk-dev] Does DPDK i40e driver support 'Toeplitz hash'
> 
> On 12/12/2016 6:31 AM, ALeX Wang wrote:
> > Hi,
> >
> > We want to use 'Toeplitz hash' for RSS hash on our server equipped
> > with 'Intel X710-DA4' card.
> >
Yes, it is supported.
For the configuration, you can refer to the implementation of command set_hash_global_config in testpmd example.

> > However, seemed that we hit the exact same issue as this:
> >
> >    Why only rx queue "0" can receive network packet by i40e NIC
> >    http://dpdk.org/ml/archives/dev/2015-July/022453.html
> >
> > ...
> > We are using the v16.11 release and would like to confirm if the issue
> > above has been address.  If so, could anyone post here how to configure?
> 

Different requirement may require different configuration.
For example, you'd like to enable RSS on IP packets, you need to set

struct rte_eth_conf to be like
{
	.rxmode = {
		.mq_mode = ETH_MQ_RX_RSS,
	},
	.rx_adv_conf = {
		.rss_conf = {
			.rss_key = NULL,
			.rss_hf = ETH_RSS_IP,
		},
	},
};

This is also to be found in dpdk's examples, such like testpmd and l3fwd.

Thanks
Jingjing

> CC'ing i40e maintainers:
> Jingjing Wu <jingjing.wu@intel.com>; Helin Zhang <helin.zhang@intel.com>
> 
> >
> > Appreciate,
> > Alex Wang,
> >


      reply	other threads:[~2017-01-13  2:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12  6:31 ALeX Wang
2017-01-12 11:58 ` Ferruh Yigit
2017-01-13  2:27   ` Wu, Jingjing [this message]

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=9BB6961774997848B5B42BEC655768F810CC7FA3@SHSMSX103.ccr.corp.intel.com \
    --to=jingjing.wu@intel.com \
    --cc=dev@dpdk.org \
    --cc=ee07b291@gmail.com \
    --cc=ferruh.yigit@intel.com \
    --cc=helin.zhang@intel.com \
    --cc=keith@awakenetworks.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 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).