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 DB4D8A04FF; Thu, 5 May 2022 18:29:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0186940E5A; Thu, 5 May 2022 18:29:01 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2055.outbound.protection.outlook.com [40.107.223.55]) by mails.dpdk.org (Postfix) with ESMTP id 81D1840042 for ; Thu, 5 May 2022 18:28:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N4WCGBhlj2A+ThgSlH84sxrfzI8DFVdMZtteicYZ830hqkR+nKW414RPLDAC8Jq/dbpC/WAamr92lSStjbW9/xjtHcjVJkiukPhkfvRSeb1EwikcDXZ6/R4WIoezjaYSKquFvnLOUN4AnTr0UorwZHPTUON4/eg3gn27sT24co3ItpEDMmoM0wH2rBTqgJ2aTcSG+TTWNhF0t23EM42V17oglHP7K+dNhTswQK4QIULoeYhS8v9nsGwBgALkjgeIeySMqJthnBEdtYRvwYWA+27vei1Sa8eoE3j3SF4nGYr2UpcxKgbaKwaCGTx3H0FqBSXSxxL9zv+GXjB0/819tA== 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=CVbpa82qhrwwgo9rheYTkIsc6ka69A9LzwHRFPvuhCk=; b=K4mA8wI8dvb5J1i6v7WbbrJxTF0+1HReWi/qRJCjG7NF2FXnt2O1Fyx7dP+5W6C4u96ujQQc3Bn2kYeWPdPE/NdvQgbWCJNGiOamn4Q2GP8OASip0N9wSH1Gg4NwVLX1jChhD0+kXfD8TI4XnEoiU4klWMelc/a3pVPldL3Uzo1oL/c2JdEvoIps1bvljoUlDh6tkAXRatPStb/ZVad716x7KTRcfG5rCIW+pAyhbZKkrp1tT3uAw0ox1IllUYRPPBY5bUKQccJAygQPRARQ1MXTVkUVpch1lEI62+nLrzzm6B0EIO3UyAn2/41dMH5M66wZts+pRPIt77vyzpga5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=chelsio.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CVbpa82qhrwwgo9rheYTkIsc6ka69A9LzwHRFPvuhCk=; b=gRDGf4jHGO07jXXllohrBXj1dr2Sd9TyrUQrYLjyV24vE2XBqljrV/nrdsDYsOjdXrOTjiB6iQEap+XNzbX8RyuRZzLwA3e9jpnwL3x5q9tSPImhqI6LHVBGA0sgC/HQ6CJajjhZ9mfbOnPQOP8kA7XnGRyYWWAkij3Pkz6N9Sk= Received: from DM6PR07CA0111.namprd07.prod.outlook.com (2603:10b6:5:330::12) by BN0PR02MB8077.namprd02.prod.outlook.com (2603:10b6:408:149::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Thu, 5 May 2022 16:28:58 +0000 Received: from DM3NAM02FT041.eop-nam02.prod.protection.outlook.com (2603:10b6:5:330:cafe::27) by DM6PR07CA0111.outlook.office365.com (2603:10b6:5:330::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13 via Frontend Transport; Thu, 5 May 2022 16:28:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch02.xlnx.xilinx.com; Received: from xir-pvapexch02.xlnx.xilinx.com (149.199.80.198) by DM3NAM02FT041.mail.protection.outlook.com (10.13.5.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5227.15 via Frontend Transport; Thu, 5 May 2022 16:28:57 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 5 May 2022 17:28:56 +0100 Received: from smtp.xilinx.com (172.21.105.198) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 5 May 2022 17:28:56 +0100 Envelope-to: rahul.lakkireddy@chelsio.com, dev@dpdk.org Received: from [10.71.119.95] (port=60692) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nmeLY-00063k-8W; Thu, 05 May 2022 17:28:56 +0100 Message-ID: Date: Thu, 5 May 2022 17:28:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 4/5] net/cxgbe: track packets dropped by TP due to congestion Content-Language: en-US To: Rahul Lakkireddy , References: <323a4fe735f784ec49c6c93b18a2b21cde1d05c3.1650297776.git.rahul.lakkireddy@chelsio.com> From: Ferruh Yigit In-Reply-To: <323a4fe735f784ec49c6c93b18a2b21cde1d05c3.1650297776.git.rahul.lakkireddy@chelsio.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fc63de38-24cd-4a8b-e6f2-08da2eb45abf X-MS-TrafficTypeDiagnostic: BN0PR02MB8077:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3fDZYQG7k1OP+qTfe9Klv89L7F2aUwL0u75zNgyY1HVkWcYXKZYk+x/fsOz2rS/Kyj6y9NzG7imTLBSebLvyymlIdudPZcB0ya1vS5dZRSmSMgBIR01IVyUmpiwOGKJw/soRaFz4a1JZ3CiQw1bmXdfKLSxGCL7kUCI53w2/bH7KIUcCLSZtcK/wn69LYFt127zAW8PWwQjhai/RziuxHc8Osac8grk0BVTYj5TPVC0TMaoR5G6A1sxnbUX5sZ4SI+S+x6HFWP1Vy9XBOYJDZvsOUWfPUpZ67C/N3On19F7sFVxM7HlS7JeShdAeaJMmczFg5fdNgbQ1Q7dwB1M88sjX5XxrtWDNghndqq11Q6DYIsVnrRujzzpcniiNDQz2kJA2qQEwUSrwLxK/9rmEc6AB9S6jt6P6/BN1q7sbfUqhXn3xiMBRUf7VUaFO+WimIVGtWHlJknVg0yKQsNZJ5Y6FTO3kAdzf+6oQpFhWsNzyLCr3p5sy6zcYW9nTcZA+B2Xw+jINPXI+9DLg/GZmVkExjRotOWNOF85jiLukVuwkIgDrq/SZueayZVtm9TQVI+UQJ60IR2zVFVWz1vxZKjJ+yasjbj8Sp5kdjHJ/0UKPOCSDfFeizIx6i6t71hmTkqogdUC7E9c4f1fM6C8giYfFZh3E8eAnSTPoTes4TVL+8T7KCBl39gvhuPAYrgOSZBfg5MKl18ivM2esw89URXCioMQMl2cbsNU9htU0hjc= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch02.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(26005)(8676002)(316002)(9786002)(31696002)(70586007)(2616005)(70206006)(7636003)(8936002)(53546011)(508600001)(356005)(36860700001)(31686004)(110136005)(47076005)(82310400005)(426003)(336012)(2906002)(40460700003)(36756003)(186003)(4744005)(44832011)(5660300002)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2022 16:28:57.5519 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc63de38-24cd-4a8b-e6f2-08da2eb45abf X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT041.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR02MB8077 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 On 4/18/2022 11:24 PM, Rahul Lakkireddy wrote: > Rx packets can get dropped at TP due to congestion and this info > will not get propagated to MPS. Track these Rx dropped packets > in imissed counter. Also add xstats for these counters. > > Signed-off-by: Rahul Lakkireddy What 'TP' stands for? As far as I understand it is a kind of FW (TP Microcode) but I didn't able to find any reference to it.