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 8BA34A034D; Tue, 11 Jan 2022 09:45:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 12D2C411ED; Tue, 11 Jan 2022 09:45:31 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id C69BE411AE; Tue, 11 Jan 2022 09:45:28 +0100 (CET) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4JY44w23dwzccDx; Tue, 11 Jan 2022 16:44:48 +0800 (CST) Received: from dggpemm100014.china.huawei.com (7.185.36.55) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 11 Jan 2022 16:45:26 +0800 Received: from dggpemm500008.china.huawei.com (7.185.36.136) by dggpemm100014.china.huawei.com (7.185.36.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 11 Jan 2022 16:45:26 +0800 Received: from dggpemm500008.china.huawei.com ([7.185.36.136]) by dggpemm500008.china.huawei.com ([7.185.36.136]) with mapi id 15.01.2308.020; Tue, 11 Jan 2022 16:45:26 +0800 From: wangyunjian To: Dmitry Kozlyuk , "dev@dpdk.org" , "users@dpdk.org" , Matan Azrad , "Slava Ovsiienko" CC: Huangshaozhang , dingxiaoxiong Subject: RE: [dpdk-dev] [dpdk-users] A question about Mellanox ConnectX-5 and ConnectX-4 Lx nic can't send packets? Thread-Topic: [dpdk-dev] [dpdk-users] A question about Mellanox ConnectX-5 and ConnectX-4 Lx nic can't send packets? Thread-Index: AdgGouxggzMKFueuQj26eloGqHtleQAGEX4wAAK1tVA= Date: Tue, 11 Jan 2022 08:45:26 +0000 Message-ID: <0c8f05bbdbac448ba642cdf206980bce@huawei.com> References: <6232d9136c60431a9ea72b83b9a4760a@huawei.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.242.157] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Dmitry Kozlyuk [mailto:dkozlyuk@nvidia.com] > Sent: Tuesday, January 11, 2022 3:37 PM > To: wangyunjian ; dev@dpdk.org; users@dpdk.org; > Matan Azrad ; Slava Ovsiienko > Cc: Huangshaozhang ; dingxiaoxiong > > Subject: RE: [dpdk-dev] [dpdk-users] A question about Mellanox ConnectX-5= and > ConnectX-4 Lx nic can't send packets? >=20 > Hello, >=20 > Thanks for attaching all the details. > Can you please reproduce it with --log-level=3Dpmd.common.mlx5:debug and > send the logs? >=20 > > For example, if the environment is configured with 10GB hugepages but > > each hugepage is physically discontinuous, this problem can be > > reproduced. >=20 > What the hugepage size? > In general, net/mlx5 does not rely on physical addresses. > (You probably mean that a range of hugepages is discontiguous, because > **each** hugepage is contiguous by definition.) The hugepagesz is 1G. The hugepages allocated like this: | dpdk 1G || other 1G || dpdk 1G || other 1G || dpdk 1G || other 1G || dpdk= 1G || other 1G || dpdk 1G || other 1G || dpdk 1G || other 1G || dpdk 1G ||= other 1G || dpdk 1G || other 1G || dpdk 1G || other 1G || dpdk 1G || other= 1G | > > This problem is introduced by this patch: > > > https://git.dpdk.org/dpdk/commit/?id=3Dfec28ca0e3a93143829f3b41a28a8da93 > 3f28499. >=20 > Did you find it with bisection?