From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 36DD3A0093 for ; Sat, 25 Jun 2022 05:57:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC83440694; Sat, 25 Jun 2022 05:57:26 +0200 (CEST) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id A108B40223 for ; Sat, 25 Jun 2022 05:57:22 +0200 (CEST) Received: from kwepemi100008.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4LVKtL5cGrzDsM3 for ; Sat, 25 Jun 2022 11:56:42 +0800 (CST) Received: from dggpeml500021.china.huawei.com (7.185.36.21) by kwepemi100008.china.huawei.com (7.221.188.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 25 Jun 2022 11:57:18 +0800 Received: from dggpeml500021.china.huawei.com ([7.185.36.21]) by dggpeml500021.china.huawei.com ([7.185.36.21]) with mapi id 15.01.2375.024; Sat, 25 Jun 2022 11:57:18 +0800 From: "wuchangsheng (C)" To: "users@dpdk.org" Subject: LRO can't coalesce packets Thread-Topic: LRO can't coalesce packets Thread-Index: AdiIRL0hIFYSTbjhRqKC7wvfmNWchQ== Date: Sat, 25 Jun 2022 03:57:18 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.136.112.45] Content-Type: multipart/alternative; boundary="_000_b77e68c4ba1a46319e94f842eafdd924huaweicom_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_b77e68c4ba1a46319e94f842eafdd924huaweicom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 =3D 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 i= s no coalesced packets. Client send pkt len is 8192. What's wrong with me? --_000_b77e68c4ba1a46319e94f842eafdd924huaweicom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello folks, I have a problem about using LRO. LRO offload is en= abled, 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 =3D DE= V_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 ha= ve RTE_MBUF_F_RX_LRO, but pkts->pkt_len and kts->data_len is 1514. 15= 14 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?

--_000_b77e68c4ba1a46319e94f842eafdd924huaweicom_--