From: "RAJESH KUMAR S.R" <rajuuu1992@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] JUMBO FRAMEs on virtio in dpdk 18.11
Date: Wed, 12 Dec 2018 17:28:18 +0530 [thread overview]
Message-ID: <CAC-BHbVT6vKpRtBEdRT53vTKbELTrQ6EfbScqUF+TPNHMbK9Dw@mail.gmail.com> (raw)
Hi,
I need a help/clarification regarding the latest dpdk 18.11 version. I'm
new to dpdk.
I'm running a custom app which uses dpdk 18.02 version.
Recently, I upgraded dpdk to 18.11 version. I see that Jumbo frames are not
passing via virtio interfaces which were earlier passing through virtio
interface.
Do virtio support jumbo frames for dpdk 18.11 version? I don't see the
"DEV_RX_OFFLOAD_JUMBO_FRAME" set for rx_offload in vritio driver which is
present in other dirvers like e1000 driver.
Earlier(with dpdk 18.02) I was enabling the jumbo frames using
"jumbo_frame" attribute as part of "rxmode" in device configuration and
after setting mtu as 9000, I was able to pass larger packets of size ~8100
in virtio.
As the rxmode struct is removed and offloads are used, I set the
DEV_RX_OFFLOAD_JUMBO_FRAME flag as part of rx_offloads but I'm getting this
error for virtio,
"requested Rx offloads 0x800 doesn't match Rx offloads capabilities 0x21d
in rte_eth_dev_configure()"
I see that the max allowed packet size in virtio code is ~9000 B
#define VIRTIO_MAX_RX_PKTLEN 9728U
I just tried disabling the offload check and running after setting the
required higher mtu , but larger packets are not passing through.
reply other threads:[~2018-12-12 11:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAC-BHbVT6vKpRtBEdRT53vTKbELTrQ6EfbScqUF+TPNHMbK9Dw@mail.gmail.com \
--to=rajuuu1992@gmail.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).