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 D19A8A0C4E; Sat, 23 Oct 2021 14:13:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EE474069D; Sat, 23 Oct 2021 14:13:02 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2051.outbound.protection.outlook.com [40.107.96.51]) by mails.dpdk.org (Postfix) with ESMTP id 5C90B40041 for ; Sat, 23 Oct 2021 14:13:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ihyzu0lv9wXe0nhiXN9x3iZQdiRtJelQuiErVL9/EB+sHiBUyZodRPxzhhXK0wFxlQcn+8//e3HvloDF9jWpMNr3dMS58VUape6FsPTengTOgL0mS3QaK8kp6E7Hdwy7EFH5vJ/1GokKEPv5uJyVSKbTxdcsdt0/QU1SLvMg+y4CR8kwsGm59LpeIu5okfFMKYL96ZgYZAsUgnJAKlN6tKHy0OhDarI5vYduddltZOuTxvVw8WmsBdcqAI6UcE+fB6MFcNvaQpQMYZ3mdZouVregNsQoPLJnPOPWkPmM7XFBh+QHg53/WOo1M09OLBaNTpIHiEhMdS9AvbQPilBXHA== 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=w7245F/XD42pchl54yOpwuENebvKoHhJzdL40VnHm4A=; b=dgOsP2wIbpgrxcpRV1iFsuY382Zo7ogDDiMjA28zB2/6Hzp0HrXQyeF1RM0BdsENhCpTDy/6K+eNbREIy2L9oCPJ6pWTUM9kmUpoJa9S4mkjQn9V0ckjEAF1UKjEU5RCExkfQXxApGQUT8qJMeJYNJfgchd8VSkDWNZjGhANb3PSp3t6Y+7vCBMrbYv443XXkqb4F9eUOW8fwf5UmvImwxwJyPZAmhTNPs+TKvUoEfm6M+4pg6uWD7IwLLxDdzfxiM1jxYWjXHFZZyuiw9S+2WLC3dx5M+Nyv0kXN8y4Cxuhr3rkCCk5ApxvdjMANUcbUaKbo5/udmiW7eaatg6QsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w7245F/XD42pchl54yOpwuENebvKoHhJzdL40VnHm4A=; b=bEBWWpeB/XcnNnxekuTXasuv4qEi1+SQUno3bZi5kX5viO1MTRtpI7ep3Ir4k347w5hVOskbDuYocu7PTGTosRFXSi2drBMjYljjBvZavEj8Lz4RQcEfvrNdBc6acAgC7QdcrnEG9w1EFVZ7oY+wrzEBghk2GjFX3j9T/Rk2tn+RofW9eLbdBh+3murTvTODHFM9TlX+l42Y2xN2+Ahfkf+7oqxA75sGO5IZ1nY1TzWLEuS1wB8Z56QrJ4sbp1wVpdYDYDRHNOSq5F948BBnfdRkSd/l1g/uxXqbjNMcfwVxSn2JGB8m4CC08tGZxkNqAj637IyL/9NikcDS/X3mhg== Received: from DM5PR12MB1755.namprd12.prod.outlook.com (2603:10b6:3:107::9) by DM6PR12MB2601.namprd12.prod.outlook.com (2603:10b6:5:45::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Sat, 23 Oct 2021 12:12:56 +0000 Received: from DM5PR12MB1755.namprd12.prod.outlook.com ([fe80::f0d0:7b3c:2e7f:cf1e]) by DM5PR12MB1755.namprd12.prod.outlook.com ([fe80::f0d0:7b3c:2e7f:cf1e%10]) with mapi id 15.20.4608.019; Sat, 23 Oct 2021 12:12:56 +0000 From: Bing Zhao To: NBU-Contact-Thomas Monjalon CC: "ferruh.yigit@intel.com" , "andrew.rybchenko@oktetlabs.ru" , "dev@dpdk.org" , "konstantin.ananyev@intel.com" Thread-Topic: [PATCH 1/2] ethdev: fix log level of Tx and Rx dummy functions Thread-Index: AQHXx+iPelEGkpNElEGd0ZiUlJqLQ6vgfCxA Date: Sat, 23 Oct 2021 12:12:55 +0000 Message-ID: References: <20211022211407.315068-1-bingz@nvidia.com> <3239661.XpjLsnopmV@thomas> In-Reply-To: <3239661.XpjLsnopmV@thomas> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0426a2cc-e29b-46ea-cd94-08d9961e724b x-ms-traffictypediagnostic: DM6PR12MB2601: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7Hu9oxk29HwRDao8IPTcONyAQICqf4FL4jl1tMeg6n7d2lBra47vh+foUBivYWkiGgNGEzG5MHKHqMWjNCXtlKj3WQ8md8N1yoH/9g05IF9vfTdIZQIfUHQuC8Mk9jzNXcvdrlKflnN1b7ddWwbgCTucKYS3KBMNGGviYTKnjN4MLWFj6GBzkUSWlkB+HHsUS/2gY7EgPNnYT3aCXfO3VXSyq8hlUYFu+3yBsPcrpbRLooH00CqrEo4EATGLi8hsBhNL4DtdFFOU0ySrmkQWtyO18YPR07EL+v2aE2vEowRtzWNRivbbZVHl/G5QhYfRgFdO9WIIXLFmtSAWgSym6F3kiji3Ctz9W0lXkzl4En9fzH2DiNFnCUL6l93sPzC4ZMfpd7LNVqQ32oVkE2Wiz8+J1uKdvDjkBFA0kqio5Zafblfkuz2KA7HkxV7MOKvPaDTBk93MQMWU3DdgbGcFUm7H5MTn1SwahXyjfEmUKwLkscfkxA4eEVLlWCukwbfyAFUb2gwdiQhgI2OhVCnOqpfhK7wr9Dq/cY+nlR109oYaXLZzDqFi0V4H79Q+xg2ibAIfoL7NZ2bUjhVxz8tXJl6E+MkEkMRpahZ3WYTgr6La0bBs4pRTKZGPVFcm8TsO5VFL8If8CSW0S34ICJkJ5mcscD9KL1qGxuXvlKn6zBsteBMD+dRe/8ke471cwfHYhPgQoOPVem+gVVWl1UEwWw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB1755.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(83380400001)(186003)(38100700002)(52536014)(2906002)(8936002)(6916009)(54906003)(8676002)(26005)(5660300002)(4326008)(66476007)(55016002)(76116006)(9686003)(66446008)(64756008)(66946007)(6506007)(53546011)(71200400001)(66556008)(86362001)(33656002)(316002)(122000001)(7696005)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ogKhQbjpH309HH/3pJYECu/wB25z70/UCY5/9NVz4RXvvCXOI3qhBFqNn231?= =?us-ascii?Q?Ngn4SsgiT69GMp9mItRfh0cL5HA4LKJCtbHTS9rs7YgU3eyMAOD7S4wx0+9y?= =?us-ascii?Q?tRu8KGffSQtDsfVVCk+qgcTlIpMkq/r1w8Xx5G1tMCDZVCoxf1I81CtpXSxp?= =?us-ascii?Q?kFbrQm4tjXHz2kSSR/rrk7mUz1z2f3fuG3fn1f0Ldai+6gW++U3gG5+PmngL?= =?us-ascii?Q?6OeSfFqZkNZqwMoKfIRiCGln22GGc24k4+6TRsp4BsAjn8XIGIpXcBpz1hct?= =?us-ascii?Q?NpgK8iZhKijyQrqfbup8vNDOUtkUHWjJwbRottMhxI6HXLdxW6AOgDZU6rDe?= =?us-ascii?Q?m3xupwyk7ulhYYioNqwyB9eI2Pnnx1NwyYN/6vwxICS8sXuaiybeJz//Bdbz?= =?us-ascii?Q?flP+uVjofatDAje8Om64O763KwNWygUxaMiL1pjMUarkk+iDTDeekMVrL6Lk?= =?us-ascii?Q?8nI2DDjeZa+grbJNhNiUtAni/PvNhQVG6ope89vQXTX1FfRAhhPXsJ1F+ex+?= =?us-ascii?Q?RG86cL5taP8IQF2JUfsXk3R+GzCXUkWawJyNSnZEjmHUltg1k+CPlcICj2z5?= =?us-ascii?Q?zhhMhZRTcIOzhw5zxOd1OWjTNy4Tu58YbsO2MtSNH/BksJciXenK0Sy5PSa8?= =?us-ascii?Q?6Xba/INMYvCkK72UDTfpO7zkmHvcG7nSE8h6ia3ueV1yQetruxdpkcesQ7jn?= =?us-ascii?Q?raKxfzNSbVk6xqN8/wfmxoamIesiNaKE+/CAMOa7xhuBjq5sC5XVB3DoWepQ?= =?us-ascii?Q?Py/ewnpUXNSN8F0tIw0wJfGW26S/eRmK1MJ7wGg36CKpERycSUTNlNmFeD0m?= =?us-ascii?Q?0GnaYu1A2tJQbpQCPQNIOmZxJKXIL7y2o6fYEsp13/j5ARGtUTQKXJX+KRjB?= =?us-ascii?Q?so0BpFLuDxLgEsVvOtL4ED3Rs+Bpti5UglLojG+S421J51NA9MC+kbNJAFsO?= =?us-ascii?Q?jPboOsiSLsI7yB77FuaPJGQZhCAykQtG9QypdaoohzpsNbqclx2Q83k79deg?= =?us-ascii?Q?D317VqNFsXWXLoUfvG/fHVvQOcasp6dGHyP46l3REOoY2igU/ic9ttVntUVx?= =?us-ascii?Q?c8z3bu0DDZiWvefWAGwEkq4iuyPjJJR0wvGhYxorSVAk+2yq1ngfU55trOJ5?= =?us-ascii?Q?kNsPk1v6YURvEjs8Vl3WFD9T9y4yxcvoY5psq/NcgaxnrzmuXxwX0S++WhoP?= =?us-ascii?Q?2vAPIHN6VZfzrxSq78dxkq4YuNQcrtQzcXNm9mjJ2wFy0t0LP0aNTOAHuUJs?= =?us-ascii?Q?V3FdCJMvgRbMLg9IUDU6nKI0ZOfrBvPk00LfcpipxdHMFHnxHAwRcNmq/qRh?= =?us-ascii?Q?z9Fx5WvgHMyQHxEa14qlqCo0?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1755.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0426a2cc-e29b-46ea-cd94-08d9961e724b X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2021 12:12:55.9332 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gqo08lgYHBi7LCr6CFetfgKqnVeYnkMqX+04OKGkTu0kMBRTiORPU1dSGi+60NS6bfr03ki/0NoJo1aPIAXddw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2601 Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: fix log level of Tx and Rx dummy functions 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" Hi Thomas, > -----Original Message----- > From: Thomas Monjalon > Sent: Saturday, October 23, 2021 4:33 PM > To: Bing Zhao > Cc: ferruh.yigit@intel.com; andrew.rybchenko@oktetlabs.ru; > dev@dpdk.org; konstantin.ananyev@intel.com > Subject: Re: [PATCH 1/2] ethdev: fix log level of Tx and Rx dummy > functions >=20 > External email: Use caution opening links or attachments >=20 >=20 > 22/10/2021 23:14, Bing Zhao: > > When stopping a port, the data path Tx and Rx burst functions > should > > be stopped firstly conventionally. Then the dummy functions are > used > > to replace the callback functions provided by the PMD. > > > > When the application stops a port without or before stopping the > data > > path handling. The dummy functions may be invoked heavily and a > lot of > > logs in these dummy functions will result in a flood. >=20 > Why does it happen? We should not use a stopped port. > Is it a problem of core synchronization? This is observed due to some "improper" application behavior. Correct me if my understanding is wrong. When configuring the device, usually it should be stopped and then started = again, not all the features / attributes could be configured in flight. Like in testpmd right now, when configuring a RSS Reta table of a port, the= start / stop status of the port is not check properly. If the PMD needs to= restart in order to make it take effect, this could be observed. >=20 > > Debug level log should be enough instead of the error level. >=20 >=20