From: "Wiles, Keith" <keith.wiles@intel.com>
To: David Christensen <drc@linux.vnet.ibm.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] pktgen: enable RSS on versions of DPDK after 18.05
Date: Thu, 6 Jun 2019 22:07:52 +0000 [thread overview]
Message-ID: <E560D51A-D365-49C6-A18A-6851BD841D0A@intel.com> (raw)
In-Reply-To: <1559857522-339-1-git-send-email-drc@linux.vnet.ibm.com>
> On Jun 6, 2019, at 4:45 PM, David Christensen <drc@linux.vnet.ibm.com> wrote:
>
> When backwards compatibility was added for earlier releases of DPDK,
> default enablement of RSS was lost for versions of DPDK after 18.05.
> This change restores the old behavior and enables RSS by default.
>
> Fixes: ae81c62f194c ("backward compat to 18.02 at least")
> Cc: keith.wiles@intel.com
>
> Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
> ---
> app/pktgen-port-cfg.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/app/pktgen-port-cfg.c b/app/pktgen-port-cfg.c
> index fb2873e..b5bded7 100644
> --- a/app/pktgen-port-cfg.c
> +++ b/app/pktgen-port-cfg.c
> @@ -64,6 +64,12 @@ static struct rte_eth_conf default_port_conf = {
> .offloads = DEV_RX_OFFLOAD_CRC_STRIP,
> #endif
> },
> + .rx_adv_conf = {
> + .rss_conf = {
> + .rss_key = NULL,
> + .rss_hf = ETH_RSS_IP,
> + },
> + },
Thanks for the patch.
> .txmode = {
> .mq_mode = ETH_MQ_TX_NONE,
> },
> --
> 1.8.3.1
>
Regards,
Keith
prev parent reply other threads:[~2019-06-06 22:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-06 21:45 David Christensen
2019-06-06 22:07 ` Wiles, Keith [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=E560D51A-D365-49C6-A18A-6851BD841D0A@intel.com \
--to=keith.wiles@intel.com \
--cc=dev@dpdk.org \
--cc=drc@linux.vnet.ibm.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).