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 9CCE742ED9 for ; Fri, 21 Jul 2023 11:54:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92768410E9; Fri, 21 Jul 2023 11:54:28 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id E81C540DD8; Fri, 21 Jul 2023 11:54:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XFxDJ1ik8YpTQH0sSCX6Sfive/If9J2th139FlAyb7IfB0M6wHCzQ0EgUAOUQTqq+TFcs2T+i+sf2c9g0mgPEdKOPXOGejyGzDKG/dTodiO07Vdropo216ByXT8ru0COcRT6ezUhEXERNWfWH7MN8NxLVCtxlzoD5qjyhAdyQaLplgjfUI7sY0xqQuc1hS9SvQp9basMLPF5LgMMpa10NcQFqiykWL/MfY+nRW+cPC4clO8AOd5rtdL7meep9nUHsg6FlFkwMbmSFFY8OT05BwykpNXc9V5+TRqFVut12uUjQIISVIXZo6sINPTIligt6JkQBTFhH0QUBUFb2erNHA== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Pld+4YkdG4vQ4ca1FAAOD0UQXE0Kz3mzEL4fD8+CxtY=; b=aefITwaLX9EEYUEz5cQkmzsPl4P+STfhQIkOQDME07V3As2u0fKpDUEz6xHC1RoSNalRNfZJV+PArFfjBj3InoOYPBNi/QYFoB4HtIzlRWE8k4ZL6zRjhI51teqaNs27+6fQ+C7ldsjyR7cLP5PL7yn3hTWbFioYEyw4BKUe3B5doN/SdwpIKbuYhWwFg7BQP1xshmToSAn8CxzQyU/gjrd/3G3QqkctfwNrxIXGJJ1ma0l9tp4zaQT4MHlQzGhBhRey2pFIP+a1lm6TU7kj9KwgnqK3tAp/k449jxoK4hRL6AsxtcDYqG+IaqZwWr8ShW5ulM3AJD4ZA9Fbm4hnvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Pld+4YkdG4vQ4ca1FAAOD0UQXE0Kz3mzEL4fD8+CxtY=; b=HcAjB13Eem5coTd8IC1wBTfPR3ZzvFQOD3txqn22KJfr5ZEp6H3wTt7GgG6gCwviXuwVraKLb+Po4yo361rRMLcCIWSZVpFYQ2nrr+A7sdpcBkjtdq0L9oQnsE+rsHCLyRZUD+USaQPeCXzuK4+No2n5SYB8rVE7vCkS40WDjgk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DS0PR12MB6391.namprd12.prod.outlook.com (2603:10b6:8:cd::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.28; Fri, 21 Jul 2023 09:54:23 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::15a9:4e83:4217:8b49]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::15a9:4e83:4217:8b49%7]) with mapi id 15.20.6609.026; Fri, 21 Jul 2023 09:54:23 +0000 Message-ID: Date: Fri, 21 Jul 2023 10:54:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] net/mana: fix stats for txq bytes sent Content-Language: en-US To: longli@linuxonhyperv.com, Andrew Rybchenko Cc: dev@dpdk.org, Ajay Sharma , Long Li , stable@dpdk.org References: <1689892961-10535-1-git-send-email-longli@linuxonhyperv.com> From: Ferruh Yigit In-Reply-To: <1689892961-10535-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0143.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9f::35) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB6391:EE_ X-MS-Office365-Filtering-Correlation-Id: cff8d2f3-6941-42c0-9fbf-08db89d07636 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DQttMC4LCupg2VG4mYDy8j8dy+mhCCiWE0rp7/1hg+yIW9xdzAvzPzQHTgSrh5WD5WTQ/jvK0fO2x+CyxO6OEiMFvMMi/W9AUaqesxaPkVh68sgF5JdQbhiTg2KX/nZbAKkhTYj3j6AdBF5Ybwpb0bumAuAZZbgL2vfCy50DlRUT75IW4DbL4fCYr7jYzOido4YBhWxDzEBhyHe1aOTQMcypr09r1sREXi2atbky5LRVgszcuZUkPGJlZLYKM5LUmEC3lTUbzOH2s0G7o2WqiVPEDDD3qZEWZoXT2Ip1CnOsE8WLRGUWhfUThZlJG+Sy5omi8VFMY0zv1wWn+iqf+bFyIge3fVhXM/IFyIq0KSmgfv8q9XW6iN1aof3hlpK+vPj+1xYKmGYcto+rt5fKAvwkTtAipczaguGO3ut5RsPbhrGHsqJkvyPQPTbsEBFYZs5NaQYCfbqgSu/8EKnJUF+fQiFTAaAdLO+i6rRVp+9b6oWmXP3kDKm8axL6h2Mq/4UYLaUxftRhga1tJFAfKlLEQ8ESqx1UQhom0epPVrpaqVPUVidwiy8JDfD52W6aCwTT1trzqVcxneYNYT2hXYMKx6WxOdmcD+VyNx4MWILT3ZodFvUBcViP0BhVflr5GoiLECyZ/jB4u7ZMCnprjA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(346002)(396003)(136003)(366004)(39860400002)(451199021)(66476007)(36756003)(2906002)(4744005)(2616005)(8936002)(478600001)(8676002)(44832011)(66946007)(41300700001)(66556008)(45080400002)(6916009)(54906003)(316002)(4326008)(5660300002)(6506007)(26005)(186003)(53546011)(6486002)(6666004)(6512007)(31696002)(31686004)(86362001)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QUMxc0wwL2FpNi9GanZHcDhVU0RYVVM4UG10ZUk4dEptTVp2QkhveHAySjk4?= =?utf-8?B?V3JVWlZpMEkrQlliWm10WEFtL3RsaElUemc5ZUNUaEdEOEZrNmkvczEwUXBW?= =?utf-8?B?ZDA3SHJPUUNMUURFKys1KzZESzdURmJvRGs1aU5UL0Zkc2pNY1l4Rkt5STBH?= =?utf-8?B?Wk5Edm9SUmJZVnRkV28vNTVRK0FhbDhpZXJEeTR6RG8zOW9MRHU3Z2JqUS9h?= =?utf-8?B?RFZNb08xN1daTG5qYVRRM05SVzYvZ1g5SnZTTml4dmNQYW1pUytFNE4xaEow?= =?utf-8?B?SmRuNG96TVQxbHp1TWJQMnlLZTVwSUJQVGQyVlZBbEtSZ3VrYjV0VkFMaEc0?= =?utf-8?B?VEhwVGZ1d3VqSmJMZzBVeHVKZVVWdkluamtOW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f3-6941-42c0-9fbf-08db89d07636 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2023 09:54:23.5637 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rh0Sh5iTiWgtNlSpQYUVPU+ScU17e8sRDduvhQDosBjbu+FZF5iLv1gS1B2oSL0g X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB6391 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 7/20/2023 11:42 PM, longli@linuxonhyperv.com wrote: > From: Long Li > > Bytes should be calculated using the packet length, not the mbuf segment > data length. > > Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment") > Cc: stable@dpdk.org > > Signed-off-by: Long Li > Applied to dpdk-next-net/main, thanks.