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 90F7241C40; Wed, 8 Feb 2023 15:17:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 701504014F; Wed, 8 Feb 2023 15:17:40 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id D07C740141 for ; Wed, 8 Feb 2023 15:17:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675865859; x=1707401859; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=Vp7Glgru/5EY9xJMh/7zvd8vl4Tq/2NPTi/S5Xj/M74=; b=OZlXmm+vwFWg1HUfQtVh6VxY1l7SDPQNjj3c3oXdlmMjD2bGok5/kRog IYrdivaM+X+xiOeDPaggHUQC/EP90FWJLbb/wlAXE+MRxY6pwrY2+1BHy QRmDgNZ9tGC9qbeCCkp83fMF1zfuSQwku5a0SFRGE0s1nF4RSmQa2ZEKu VTF4JA1zRBXT+9mf0QIhmGz1Lgo8ElAhrs6U1g0bu2nBxk354G2zDy4Yr +tyxv8R61W0gEM2q03HJ+l0NFgdgfa99/GCQxmFZSE8j2N2402qgmJvWk DAYXnxv8mmbBlq9qNrNpd8joZNcoRUacM7r5+jtO2vTL4q/MvKqocrjc/ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="328460710" X-IronPort-AV: E=Sophos;i="5.97,281,1669104000"; d="scan'208";a="328460710" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2023 06:17:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="697676560" X-IronPort-AV: E=Sophos;i="5.97,281,1669104000"; d="scan'208";a="697676560" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP; 08 Feb 2023 06:17:37 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 8 Feb 2023 06:17:37 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 8 Feb 2023 06:17:37 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 8 Feb 2023 06:17:36 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VVVxtZEOQH6HhI0xfOtSU9uRLwPfJmR1RqURuAyQYjyiRToZ7heAB9aK7LdbGlyrFReXaNUh6tf6LSDgxrgVHl1rvXK/qrTcjGrpfP6o9vrZ8pfqTn4m41SOLg+ubLsD19LFGkWcIB6xeQX/DtIuY3rM/je5pFSZbTCU2r9qaxmmnpj1ZLd9xlFK01nMF20lxSDN8Lnf4wtfhRqHAgmPD1KtAOmzwFS9D1zNsjJgOphTQuJ6OauFz89yqGb68SjxFwxgQZE+axCaOVEEWHVviTo5u8WNsz3XRAr0pgSs69l5YK+3fsyMwyiXsqhuhnXC+wTfuAxeMSdNBzTxe6Mevg== 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=PrAmx2/9Yqnccd2f6W3ZCM2O4wXbOSh74zy0gPSBb9Y=; b=W8ZS60vGD0yR5JGzUdWu98rVBjYzH+AFXZoTIAvI9qfrDKxc0pxVmlFbxbQzR3Dzl9hSm/dWkqeqMjlEk7/0owl8epk+Sy8KWsphc5mS0HeORK9Wu2XMQDRXMeTSt/TXGDyqqs+GRQg/hu29i78X0Ee3U2SICRb2ftq184LLFO5XfuDpGn1jSgd0vo2+WVSKiv6MtQPep2OztRjZlLqxy2spJR2/SGAZml1GRAtBF60EN3seHrqu5T946ypZ7MubWPvkCe3IC6aqmh9Vnw35YHKNtSHYtqFBidhdtQfW8yVgSYnVGuuZ7nRZN7Olg/iB93kcN45prRlooERRrUS1Zg== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by CO1PR11MB4962.namprd11.prod.outlook.com (2603:10b6:303:99::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Wed, 8 Feb 2023 14:17:35 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::aaba:abb7:8794:def]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::aaba:abb7:8794:def%9]) with mapi id 15.20.6086.017; Wed, 8 Feb 2023 14:17:35 +0000 Date: Wed, 8 Feb 2023 14:17:28 +0000 From: Bruce Richardson To: Chengwen Feng CC: , , , , , Subject: Re: [PATCH v4 0/5] support dmadev/ethdev stats reset Message-ID: References: <20221219090723.29356-1-fengchengwen@huawei.com> <20230120033456.29710-1-fengchengwen@huawei.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230120033456.29710-1-fengchengwen@huawei.com> X-ClientProxiedBy: LO4P265CA0131.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c6::12) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CO1PR11MB4962:EE_ X-MS-Office365-Filtering-Correlation-Id: 66fa23d5-1929-4c94-053a-08db09df39a7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zGpv4VpwQuzq+pqnKcDPpPFsVa8DWvZmR77iPaZPjgI/taF2xv53C3KbcK70XWKNWQz64qzW4FT3/JKOcQ9mwEYzMZz8NyEpFGytV/CJ0SpZKirVpGCKfF71VFMFNP+/5rUou/uGCEfGriFIuJ0Ze6jGcWu8aM7clOelFHvIG2gq6n/9+DU4iUl8zPpdP9TsSMBA5n4XL4Mc7Z/ssDA6ThYFkClGmsEtOUS65oKC8D5cy54aYTyrKr3ZY/wAXyt+wjoHlTMOZPWVSCtQW+/MJ03r4Dm0HDWR7Jpy7EOOOsGp/bnfkc/ZQlz7Pkc603u5lj7jVx4lz2peZ7SdFww7ake9GUL8iKg4eGu3HVb7iKn7VCZAs8lM2hZ7+KWOwDu0WWnhv4hcD7EQ3iF6hnlBccHQSaxAnuEc1oMHOS+t/l2e7rC/2SkJov9gZ/PYXb2nVkl3++9ivv9IFD12SuQHww3JuvOQzkwXcJiaxhrGvl5MeFmLOvj52bYARBfNbS9CVEvahGX0nT3ozyBsS9HGmBSMf4SWHRvXvMl14DKxdfnbXYXR9VzpaVn0Ba898oL2TMvX412yfUPx2UQjkeX4kCsevzeuxY0lJFzJrbnF8iRPxqg2k2zmmBwN96YKD9ibeJkkO6VbqYiDDNhQHgct7g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(376002)(396003)(346002)(136003)(366004)(39860400002)(451199018)(2906002)(316002)(478600001)(6486002)(82960400001)(38100700002)(66946007)(66556008)(4326008)(6916009)(4744005)(8676002)(44832011)(41300700001)(6506007)(8936002)(5660300002)(86362001)(6512007)(186003)(26005)(107886003)(66476007)(6666004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5MRx3Lq4pnUHBy4oxVbHMPKThP5/vw3+U93xUdaRNEuyf2QAbWntYgUZS5uR?= =?us-ascii?Q?SCAFHyByq5W8Zj7S8mJeq425N2el7KzENgNNjatGVpnHbzX1SuJBuP2UHQee?= =?us-ascii?Q?5jfPWnrxzwpIPfbt902a8T41yjjbIOBToyXzg7xkvWMwg9aM7TjZsvr4yigQ?= =?us-ascii?Q?eQjEFXsdc46wazK8DpCgxOOCmrA7ustImMvZS+pMT4pep+DmJc0lr9yAlQ5Z?= =?us-ascii?Q?OHrbOyH8gi1euv9JkOrNa+zK44/Z7jjloDnzWY5Fu2f9T/OYrj3R3RLi1ZpE?= =?us-ascii?Q?qE4PcUihlHe1AZVd+knjjhIA5CeKsjSNgEhUf7aXkiftoSrf3a1EL2dWZ21G?= =?us-ascii?Q?vh6ErlZYWVO/kcYjgcAAS6JxTY45AvOo5Q9XNOp15T3Nr5vD1p9VrVdxttgK?= =?us-ascii?Q?vzlmthvZgbCpVVnvwOo1qWjwEGbM86IJMsi43yp6i1klK7kxGhuFmDb2CGEZ?= =?us-ascii?Q?XA5PGjWSpzMZFQwywnYAVlguL7akj7aa3pKI8DIrFwfkCNdSbXTACJH7zGsQ?= =?us-ascii?Q?o/yAuiGhgbBW0VaMUuY3J7RsQcZXw+wuDtCdalkkzq97my9wZM8B3rKtaYPu?= =?us-ascii?Q?LyH5LZB3UphfTM369gG5YQuaI3R81v9TrC+UQvICWSHlQBKAULxtYrtHB7a2?= =?us-ascii?Q?5tPK1ObI46Q8OzfcokzF6S73JMblt+yk/vGLPQhslrKUJVsZ2NoeMeaeiBcp?= =?us-ascii?Q?n/0aYYbxmutPOqrYayta4fWW3K17XpUORlg8kNynRKpcsfPa56OOLKj9xgKV?= =?us-ascii?Q?5s/36maEUltbB1JC4WYh0E/2iWwLqkTGlR5d/rgblN1Ae4RDdT4KRyRArFvF?= =?us-ascii?Q?IsDHNlels2FwGL3qMQvsjEi+iFetqtd31EFJiHTfENPbS8gdPyLn+Cam96uf?= =?us-ascii?Q?U3o2q/+7V/D73DdMMroC76vAoxWvnlXlAaJ2yMPRwAXdu88fhdUXp/r/7o+B?= =?us-ascii?Q?y0WBJEB5bsYW5hhYdBn5OuiTwAFNWWD1MLlNunMkuGEgPTlBE3Z7zoikPdGq?= =?us-ascii?Q?/gbSh8zPfow5WLlW1rkcYmFhJ32+1hKo0RCIJRf1TmAWyEL714lL30n50kSw?= =?us-ascii?Q?C3uD/lco3PyxC9hWzefy6ImBzGtecUJBiiQVVU9QXVd9tEKE0S9ltFT8zc8+?= =?us-ascii?Q?40xNJfThUr0WJv4wdPfaNrgyPvkRULNZZy3oYDIR8uPrWYKmoYgcimKHohvB?= =?us-ascii?Q?sDY1lqHCpynwze9VIAgeKAF91LEUaLxJSnO8/d2J5uYJwXL2N3q2iYa5oMt2?= =?us-ascii?Q?KubN3dy6GExIMwvglp7nvpcu3cdg75jIXhzX/j/37pP4Gu87d2k7Sv8YYvdy?= =?us-ascii?Q?PZQzFONKFHWISDJCngdawS/lyVSNiLAeafmQTe3urt/tjYT84BZWpnEf+HSX?= =?us-ascii?Q?ydDgIWmoQ3J0SDlHYMGCRlqoiIv/1Gvo11r62qbalbBvpkB7/YwmNcfB9QI/?= =?us-ascii?Q?VSJCVkoQCRfFiIOrxPXuLmg6I9gJuBzftvshJ7KhkucmhLxe66e8tKxhgcOJ?= =?us-ascii?Q?61TE4wM8A31th9VC5piBHitfh4ELsZRzje256jxcENkim1j1axdLFZdQ0sAK?= =?us-ascii?Q?+c+NDPWFPfwZpf2HSTZzVE+5JtIO70rkZFfuazuLh24WifJMLfcB2/IF0tub?= =?us-ascii?Q?wA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 66fa23d5-1929-4c94-053a-08db09df39a7 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2023 14:17:35.4067 (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: 7Pa1n421/xn4iGK74an3ZCuUggkTlkmcugzWhipW6+1R5jgRqCs4a3C5CenUr7SLPbZ/3JkFmF1RQFKUipudU3E1LjXKi8vkzDpRhmhtcPU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4962 X-OriginatorOrg: intel.com 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 Fri, Jan 20, 2023 at 03:34:51AM +0000, Chengwen Feng wrote: > This patchset contains dmadev/ethdev stats reset, and also support > hide zero for ethdev xstats and two telemetry related bugs. > > Chengwen Feng (5): > dmadev: support stats reset telemetry command > telemetry: fix repeat display when callback don't init dict > ethdev: add newline to telemetry log string > ethdev: support xstats reset telemetry command > ethdev: telemetry xstats support hide zero > On one level, I can understand how this may be useful, but on the other side, we also support having multiple different clients connecting to telemetry simultaneously. Would it not be problematic to have stats suddenly being reset by one connection without the others being aware of it? /Bruce