From: 張敬昊 <frank@csie.io>
To: users@dpdk.org
Subject: [dpdk-users] Segmentation fault in eth_igb_xmit_pkts() with TX offloading disabled
Date: Tue, 11 Feb 2020 22:09:42 +0800 [thread overview]
Message-ID: <CA+vFTf9z6WKZ0pip2GEZQXRKEhWVQHkfgz8Zep=EPjAL7=7AMw@mail.gmail.com> (raw)
Hi list,
I'm trying to send packets with DPDK 17.11. I tested my application with a
XL710 nic and everything worked smoothly. However, when testing with i210,
something weird happened.
For some performance reasons, I have disabled the TX offloading in my
application by setting txqconf.txq_flags to ETH_TXQ_FLAGS_NOOFFLOADS and
setting only PKT_TX_IPV4 to the ol_flags of mbuf. When
calling rte_eth_tx_burst(), I always end up getting a segmentation fault
signal in eth_igb_xmit_pkts(). Interestingly, when I re-enabled the TX
offloading, everything works. Does anyone know what went wrong?
Thanks!
BR,
Frank
reply other threads:[~2020-02-11 14:10 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='CA+vFTf9z6WKZ0pip2GEZQXRKEhWVQHkfgz8Zep=EPjAL7=7AMw@mail.gmail.com' \
--to=frank@csie.io \
--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).