DPDK usage discussions
 help / color / mirror / Atom feed
From: Anand Gupta <anand.gupta@keysight.com>
To: "Wiles, Keith" <keith.wiles@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2
Date: Wed, 5 May 2021 12:57:44 +0000	[thread overview]
Message-ID: <MN2PR17MB3199095EB601506EC29CEAF59E599@MN2PR17MB3199.namprd17.prod.outlook.com> (raw)
In-Reply-To: <DM6PR11MB4593F26E555FA8700D54C29CFE599@DM6PR11MB4593.namprd11.prod.outlook.com>

Hi Keith,

Thanks for the reply.

Can you explain if possible what does "DEV_TX_OFFLOAD_MULTI_SEGS" do if it is used in TX-Offload ? What is the use of this in Jumbo frame scenario?

Thanks,
Anand

From: Wiles, Keith <keith.wiles@intel.com>
Sent: Wednesday, May 5, 2021 6:19 PM
To: Anand Gupta <anand.gupta@keysight.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2

We can try to test for Multi-segs in pktgen in the file app/pktgen-port-cfg.c you can search for MULTI_SEGS and add the test.

                        if (info->dev_info.tx_offload_capa & DEV_TX_OFFLOAD_MULTI_SEGS)
                                conf.txmode.offloads |= DEV_TX_OFFLOAD_MULTI_SEGS;

From: Anand Gupta <anand.gupta@keysight.com<mailto:anand.gupta@keysight.com>>
Date: Wednesday, May 5, 2021 at 6:54 AM
To: Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: users@dpdk.org<mailto:users@dpdk.org> <users@dpdk.org<mailto:users@dpdk.org>>
Subject: RE: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2
Hi Keith,

I found the root cause for the problem " requested Tx offloads 0x8000 doesn't match Tx offloads capabilities 0xe" in EC2 instances.
The DPDK ENA driver does not have "DEV_TX_OFFLOAD_MULTI_SEGS" TX offload capability in TX offloads capabilities and in Pktgen when Jumbo frame is enabled, the TX-offload adds " DEV_TX_OFFLOAD_MULTI_SEGS".

Is "DEV_TX_OFFLOAD_MULTI_SEGS" necessary when the Jumbo frame is enable in the Pktgen or can we first check if the Device supports the offload or not and then add " DEV_TX_OFFLOAD_MULTI_SEGS"?

What is the mechanism of "DEV_TX_OFFLOAD_MULTI_SEGS" when enabling Jumbo frames?

Thanks,
Anand
-----Original Message-----
From: Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Sent: Friday, February 12, 2021 7:26 PM
To: Anand Gupta <anand.gupta@keysight.com<mailto:anand.gupta@keysight.com>>
Cc: users@dpdk.org<mailto:users@dpdk.org>
Subject: Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2

CAUTION: This message originates from an external sender.

> On Feb 11, 2021, at 11:03 PM, Anand Gupta <anand.gupta@keysight.com<mailto:anand.gupta@keysight.com>> wrote:
>
> Hello All,
>
> I'm trying to run DPDK-PKTGEN in AWS EC2 instances and able to send packets up to 1.5 KB packets.
> If we use Jumbo frame packets then we are getting error "requested Tx offloads 0x8000 doesn't match Tx offloads capabilities 0xe".
>
> Setup:
> Ubuntu: 16.04
> Driver: ENA 2.0.3K
> DPDK: 18.11.1
> PKTGEN: 3.7.1

Please update to the latest Pktgen 21.02.0 with the latest DPDK version. If you can not upgrade then please look at the latest version as some work for jumbo frames was done a few months ago.
>
> Can anyone help me with this issue ? Is anything I'm missing ?
>
> Thanks,
> Anand

  reply	other threads:[~2021-05-05 12:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12  5:03 Anand Gupta
2021-02-12 13:15 ` Wiles, Keith
2021-02-12 13:55 ` Wiles, Keith
2021-05-05 11:54   ` Anand Gupta
2021-05-05 12:48     ` Wiles, Keith
2021-05-05 12:57       ` Anand Gupta [this message]
2021-05-05 13:02         ` Wiles, Keith

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=MN2PR17MB3199095EB601506EC29CEAF59E599@MN2PR17MB3199.namprd17.prod.outlook.com \
    --to=anand.gupta@keysight.com \
    --cc=keith.wiles@intel.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).