DPDK usage discussions
 help / color / mirror / Atom feed
* LRO can't coalesce packets
@ 2022-06-25  3:57 wuchangsheng (C)
  0 siblings, 0 replies; only message in thread
From: wuchangsheng (C) @ 2022-06-25  3:57 UTC (permalink / raw)
  To: users

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-25  3:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25  3:57 LRO can't coalesce packets wuchangsheng (C)

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).