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 19451A0547; Thu, 9 Sep 2021 16:45:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E0F840041; Thu, 9 Sep 2021 16:45:16 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 71D8A4003E for ; Thu, 9 Sep 2021 16:45:14 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10101"; a="220484449" X-IronPort-AV: E=Sophos;i="5.85,280,1624345200"; d="scan'208";a="220484449" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2021 07:45:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,280,1624345200"; d="scan'208";a="606866825" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga001.fm.intel.com with ESMTP; 09 Sep 2021 07:45:11 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 9 Sep 2021 07:45:11 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 9 Sep 2021 07:45:11 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 9 Sep 2021 07:45:11 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.177) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 9 Sep 2021 07:45:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=APLGPptDO87Lf9639YNIG1uy+nyOdo/osH/R/eVktiw82/zrys/jMl2KO1U3jKjDLJFcf+cMAjrJunF6hjiVt/ZXzzdbwBXR5tzrRKgtHR72TEw8BGdyPtdN1e9M30LY5KZq5kkpS0Sq26hAmgSivzWgcqC/oW2RkNNn2Uu88HbsDdWWHWYfPDkAXok3t+ZaInk+tPhuwPlYFRrUVTtmyDkaJfPpDIIvuz+ePie25rS6VrGJ3F2Aa6ikyHYMc/ofSg1dNpGlKoiPpfC0hRCDy6MJFMx6s1tXOah8dS9Ivj039S1rFP1ogV7ULnSCUpJ4at2J13Qh0ZZ5rLsHIsbWsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=l4vCWaCMlogGsYRvadC0MYXP4Q+9RKzYKYA2VQZN/Dw=; b=XLfY00oAoCBAAzrhrILuWwfK0YmSx6mjh/pZTuxT5sL2lE0QlEs++3k1dhXYEkre7GDTALoZP1d7Gd+vBs/uzCwSKZV+eNljMB9Nef7h0RoxpiX/4OzWeMtXqKrt3tetCbi5+oKQq/pQJ86O7D77FccrK5GKnF7CMnRW+tzmT+QCeh4u07INMvwHO8w0uN25FziRYXo2fiMfGUIEYRcOqxHYCF6qcZonkrmBTyHE3Zthm8ZLNTX178RTWEeMS+LWth45VLk0xU0BTb0H3puuD9VaWj3BeuwwdyPhAcrBcwMWfq8KKv/B59CVSRRS+fPlbRj9E4dFpkcMWNuMlt/V0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l4vCWaCMlogGsYRvadC0MYXP4Q+9RKzYKYA2VQZN/Dw=; b=gdTvrDgFgDwwZffa2Ah/m5WojOsLYM1Ng1DxvLzzv7a1uXgVdrhTWSNO7Tc93H61wvgaNlNWUecaylgwgpBuBH0IiFJ/DT/wHarQogwtRYpVAFaPU1gNo3MN8x8osXYUyZih0of/+yt/LWLz0NfNdXDbeTvWUPnTTOwkzrSoK78= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4774.namprd11.prod.outlook.com (2603:10b6:510:40::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Thu, 9 Sep 2021 14:45:10 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4478.025; Thu, 9 Sep 2021 14:45:10 +0000 To: Qiming Chen , References: <20210909082323.10658-1-chenqiming_huawei@163.com> <20210909122856.10806-1-chenqiming_huawei@163.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Thu, 9 Sep 2021 15:45:05 +0100 In-Reply-To: <20210909122856.10806-1-chenqiming_huawei@163.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0202.eurprd04.prod.outlook.com (2603:10a6:10:28d::27) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0202.eurprd04.prod.outlook.com (2603:10a6:10:28d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Thu, 9 Sep 2021 14:45:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 13b18cff-1758-47b0-3186-08d973a06c56 X-MS-TrafficTypeDiagnostic: PH0PR11MB4774: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2331; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZEwzmkD3hM0qQxk0wGKss7Juj94XLbATevZPttPRXNagCtWcTh/SOjEsl53RwVKKLXxUP1FvXo/4xqnxlFvQSJS1YuWMcSaJPQmX7cxPxDverDrB/j6mybuJmyu8woThbwbl6eTxDCU88kEX2bzWKsrMn/hcZZd1xaWjlLPzlbn61RdXr+Ipra/bIi/b0A1U34mdni05kyJfLLt90rmMDjcENSNow80Wlhrw3/DHd0KMN2QMlQAOYegCxBFHD+FES9GU9/htM9AFOusQoOYpSYpqrmDxypIOS6ced5JIKfdGcSxdhy3AFqkbeV8L+V5ifHDmG3ebdHMKgL9qOIS7RujJQmpv0IVuSE4Mb5oyraHkH6rz6nCoIrb5Ea/3Rn/HJRv+Ykk5tTjOncDRGvwjwcTm6FcVW1QfRUMGPU1PEZTtMYALGdQiR8mw1x87keCmg+4L1W/JXXY5dsD31qqpVNx83cdjmW7oaHhqXMN1hdvkqcOC0BxHwyrTYTxzO8Ws0W9m92Qg6i33uhufu6h2tL9E2vhv3Hz4rzVeA8u8JPSChR4mxBQrQkcCkgLWfbgJyI+fh61xKylwg8ucoVWK4dbOTq+sgl4njwt38OMYwFT4fjKneCZbMH4d1XQe2cMaWfjDIeZEKn0FW1rd2/XgGBED5iytZSoi4IH2Jo4ldIICiR1vif80UdePcEltxPON164ktRNVP6VI4NdQR7g7uA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(376002)(136003)(39860400002)(346002)(4744005)(86362001)(66476007)(31696002)(8676002)(44832011)(53546011)(956004)(316002)(6486002)(31686004)(66556008)(2616005)(16576012)(26005)(186003)(5660300002)(6666004)(36756003)(8936002)(478600001)(38100700002)(66946007)(2906002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?enFub25CNnhiV05nQTV0M1BJNUF3a2s0eWc0VElxQWZIazA2cFUxZUticytR?= =?utf-8?B?aUY4VFZyRWRTdVp1K3dDd0RVRzBvenczR09UTkplaDJpMW1tZXF3MFRRekw2?= =?utf-8?B?cXByS1J1TkRsMEE2dUZJNmZNSTVra2w4OXYvMHBySjRUMDJhMTRqcVlZU3ov?= =?utf-8?B?OW1mOFVobGxGaXV1aEpGb0Y0VWowL3hXWXAvUjk0dzBrbVpabnJweEdXand5?= =?utf-8?B?YlZPRkszdEJOQ04yeEFnbnNlMWRoMmhvcUg4UFB3bTlqUEo5QTIvZ20yN3J0?= =?utf-8?B?Uk9TU3JXQVFlVmpNVzlIcWQyQmNzd2g0Tm50NXFvbzI5c2s5N09vaHBYWkNN?= =?utf-8?B?OTFvY2l0QTcwOEwwMitqcjg4MFNLTC9uNm91VFUrNERGbTlEZ2tlVWc1WlZV?= =?utf-8?B?WmZ4QkhwVUhwY25Jc1cyelhGNFR6L01DNXRlbUZrMXEra3hkSHBma2pCUlhZ?= =?utf-8?B?NFdoTFRvcGN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=?utf-8?B?SW5ZdmQ5Ni9nNXk0MUdMNkpJM2k4ZHVKRzFpbkQxNWhhQkcvNEhKVHVNblRT?= =?utf-8?B?bS9sYmE0QU8vZVhRUG5Ja2k2ZXQ3ZHNFSWNlU01LU0grWGw4aHNNN2s1UFE3?= =?utf-8?B?dHZQZlE5dWMxT05TTkh6ZzdVb1JuK1pVK1ZuZ0ZTcU1LN0VkUThJSGl3Ly93?= =?utf-8?B?T3JoUkhsMkduU2o4NFdRcUQrK1gxenlXakxSU2c4Y3BZNTlYWGxrbkNoTkww?= =?utf-8?B?TkhJSFQyU0w5S1BXNFA0NTlLRlhlTmgzMG94WkxwYzhvVGVPQ2JtZXR2Z0Iv?= =?utf-8?B?YzFqVEEveFBPcXQyUGFrZEwwTkl0dno1b1Z1S3VEQmFEa3JVaXJ5d000Z0Ni?= =?utf-8?Q?7sh65avd//+uUJ8Q9jAMAgw3gt3rInAE0LPQOMD?= X-MS-Exchange-CrossTenant-Network-Message-Id: 13b18cff-1758-47b0-3186-08d973a06c56 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2021 14:45:10.1983 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s2/YU9/RDZYO6OBAigJvK5lGfZb8XC6r+a4lpcWkAIle+kSaqoSosmW7GMdso5SHpwmCQ162WENTgfhz6YuVkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4774 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6] net/pcap: improve rx statistics 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 Sender: "dev" On 9/9/2021 1:28 PM, Qiming Chen wrote: > In the receiving direction, if alloc mbuf or jumbo process failed, there > is no err_pkts count, which makes it difficult to locate the problem. > Because alloc mbuf failed, the rx_nombuf field is counted. > > Signed-off-by: Qiming Chen Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.