From: "wuchangsheng (C)" <wuchangsheng2@huawei.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: LRO can't coalesce packets
Date: Sat, 25 Jun 2022 03:57:18 +0000 [thread overview]
Message-ID: <b77e68c4ba1a46319e94f842eafdd924@huawei.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
Hello folks, I have a problem about using LRO. LRO offload is enabled, but the package cannot be coalesced.
I use dpdk 21.11, nic is hinic 1822.
enable LRO in rte_eth_dev_configure
conf->rxmode.offloads = DEV_RX_OFFLOAD_TCP_LRO | DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_IPV4_CKSUM;
read pkts from rte_eth_rx_burst
pkts->ol_flags is 0x10180 have RTE_MBUF_F_RX_LRO, but pkts->pkt_len and kts->data_len is 1514. 1514 is single pkt max length, so it seems that there is no coalesced packets.
Client send pkt len is 8192.
What's wrong with me?
[-- Attachment #2: Type: text/html, Size: 4493 bytes --]
reply other threads:[~2022-06-25 3:57 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=b77e68c4ba1a46319e94f842eafdd924@huawei.com \
--to=wuchangsheng2@huawei.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).