From: Jeremy Spewock <jspewock@iol.unh.edu>
To: dev@dpdk.org
Cc: qi.z.zhang@intel.co, rasland@nvidia.com
Subject: Testing scatter support for PMDs using testpmd
Date: Wed, 24 Jan 2024 12:16:36 -0500 [thread overview]
Message-ID: <CAAA20URis_sk8Ubj4-9jRtG_FvAGyHFEP4jvO=Tiy=iwsgyahA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]
Hello maintainers,
In porting over the first ethdev suite to the new DTS framework, there was
an inconsistency that we found and we were wondering if anyone would be
able to shed some light on this. In general the inconsistency pertains to
Intel and Mellanox NICs, where one will throw an error and not start
testpmd while the other will work as expected.
In the original DTS suite for testing scattered packets, testpmd is started
with the flags --max-packet-len=9000 and --mbuf-size=2048. This starts and
works fine on Intel NICs, but when you use the same flags on a Mellanox
NIC, it will produce the error seen below. There is a flag that exists for
testpmd called --enable-scatter and when this flag is provided, the
Mellanox NIC seems to accept the flags and start without error.
Our assumption is that this should be consistent between NICs, is there a
reason that one NIC would allow for starting testpmd without explicitly
enabling scatter and the other wouldn't? Should this flag always be
present, and is it an error that testpmd can start without it in the first
place?
Here is the error provided when attempting to run on a Mellanox NIC:
mlx5_net: port 0 Rx queue 0: Scatter offload is not configured and no
enough mbuf space(2048) to contain the maximum RX packet length(9000) with
head-room(128)
mlx5_net: port 0 unable to allocate rx queue index 0
Fail to configure port 0 rx queues
Start ports failed
Thank you for any insight,
Jeremy
[-- Attachment #2: Type: text/html, Size: 2497 bytes --]
next reply other threads:[~2024-01-24 17:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-24 17:16 Jeremy Spewock [this message]
2024-01-26 15:04 ` Boyer, Andrew
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='CAAA20URis_sk8Ubj4-9jRtG_FvAGyHFEP4jvO=Tiy=iwsgyahA@mail.gmail.com' \
--to=jspewock@iol.unh.edu \
--cc=dev@dpdk.org \
--cc=qi.z.zhang@intel.co \
--cc=rasland@nvidia.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).