LRO can't coalesce packets

wuchangsheng (C) wuchangsheng2 at huawei.com
Sat Jun 25 05:57:18 CEST 2022


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220625/0bcef111/attachment.htm>


More information about the users mailing list