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 0E38AA0C4B; Fri, 20 Aug 2021 10:20:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9764041139; Fri, 20 Aug 2021 10:19:59 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 0A8704003D for ; Fri, 20 Aug 2021 04:15:52 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="216694385" X-IronPort-AV: E=Sophos;i="5.84,336,1620716400"; d="scan'208";a="216694385" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 19:15:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,336,1620716400"; d="scan'208";a="641915241" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga005.jf.intel.com with ESMTP; 19 Aug 2021 19:15:51 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 19 Aug 2021 19:15:50 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 19 Aug 2021 19:15:50 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 19 Aug 2021 19:15:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Em+P+ipCYdbsF3WK7WesV3h9JJtigdFKZWVMCjfBMlcr5UWwWrghKq0Po5l7nYR4zL9w5lv/X1nUfMeBq4Jyb+NI/wJ0h10HVgSM2LMHcy4qhpWp/edsiA/gy8reKRPuvUwZTG70QvYc8CThQt+pBr8wKl1O42vL2e0tBhm+rvH+hH6zsfZwOc39Jk39/7n7YNqUNiRm5flN/wkMCkMIdyqTZbfnPJc0rJzSP3bAOAH14nkgIBFgf1rVBqqpiKRu59bjHdWOKVVaCGYLR0LuiLVl5KOIbG68IcTqLWSlr5xgNWGYDA2Yl7xPyRnPMqaAt2CjK6HHUjjW3SusIioffA== 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-SenderADCheck; bh=Yvc9ERo84jn7DWZ34gYejQQIqdfI+ciKCgabEmKjHiE=; b=EhIB+TpDwPLYPgNeBIMihIm7JVfR1DVuuyWazqEu3u49BkMtHwSo19fhxs0gFXIgSiCFdIGjg6ImmSAl/QzZixq1q0wwbBpO6Ek5p3USX6EmU81YlsUBUaWQ3E11Xl1QZMC2GIIgnFczOtrAT0Cdv+D66fVw9g66CM28Q5a6UsBgeXe3C+UzQ19ww2qNizhUIFMg2nOe5hZzIeoBnTk/UGbXwj62U2mubuSNF6uC4Kjt2uxrOgkK2lnBJMZisCjno910u7T70WDiSTvx0bf5AtmKzrQl226lFOQL0hHScQyTJ3tswitLQkA9HEa1DTXvVrDCrcojARUFUg4CY98BBQ== 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=Yvc9ERo84jn7DWZ34gYejQQIqdfI+ciKCgabEmKjHiE=; b=D6nb19h/nvQyFmUQCmpBhBeFVr51xzJq4sRHS8ozPsWns5gX2FwjFLpxfNmYwh+yCZBIU7e4J3YolAtlCX/VmOyLq8UZrZdrQewm75za8Tzl1Q6lAjM/fhaxQBkUDz/Cx25wwIfNqv8APmaJPgJR83k9EPsZeGgYqhGypcR5ZOE= Received: from DM6PR11MB3804.namprd11.prod.outlook.com (2603:10b6:5:13c::14) by DM6PR11MB3692.namprd11.prod.outlook.com (2603:10b6:5:13e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Fri, 20 Aug 2021 02:15:48 +0000 Received: from DM6PR11MB3804.namprd11.prod.outlook.com ([fe80::1cc2:173f:6aa4:4d69]) by DM6PR11MB3804.namprd11.prod.outlook.com ([fe80::1cc2:173f:6aa4:4d69%4]) with mapi id 15.20.4415.024; Fri, 20 Aug 2021 02:15:48 +0000 From: "Zhang, Mingshan" To: "Chautru, Nicolas" , "dev@dpdk.org" , "gakhil@marvell.com" CC: "thomas@monjalon.net" , "trix@redhat.com" , "hemant.agrawal@nxp.com" , "Joshi, Arun" Thread-Topic: [PATCH v2 6/6] bbdev: reduce warning level for one scenario Thread-Index: AQHXlT6h1B+Q7xK6UkKG8HRSzP2l8qt7p+Tw Date: Fri, 20 Aug 2021 02:15:48 +0000 Message-ID: References: <1629407410-28822-1-git-send-email-nicolas.chautru@intel.com> <1629407410-28822-7-git-send-email-nicolas.chautru@intel.com> In-Reply-To: <1629407410-28822-7-git-send-email-nicolas.chautru@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0f7cd990-4046-4854-01d8-08d963806d1a x-ms-traffictypediagnostic: DM6PR11MB3692: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1824; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SYEPOHlK7K+ZWNPGyKELn437cT5S3OKVpJtxpqFYmvRwxuOvAkH+G4M5WEUSLHQkil9s4etC0mRoPm8RDLfyzzbScynpIqU//nOXodmpCvFrjZV/wBsak24s24wC9DVOTOY+dKr1sSE1H0Uz1TQUbkbQAXSzvgIj2O3E+m/XUE3YRu9qDdKJVsJD/myyHOg2g22v6TbIQJSHHg32G/zpa+GCsBVjdK2LSD6OHPHDF1QeCmhLSUo5TQSUhRwyDlxgg9P5XGJPeTqe/CLQs0vZ6V4gd1xV0949F3ib7/SFZchRD71JFZuOhUUKelMJCMMJVVqsYyTtDgdKIagn7JNHnG3YvYg+P9L6r3aqOFqajWCWMmutZgb7MeK2Sx5TLOJ/Z+E3HLLJ5ci5EP5SbqSRiej+sEZPPdJHgrVstwAzYmDhWWBFD8NWqByfRMEKdgQ1jxaTxe6lgYPqMv8WF+0ACaiGE5qlVAhh85YJ7qKJslhyQrvOtCPCL541IqGNdFWhPw5EyKPQnL6v1W7pS5Dcbb0WOEwTbqQr9HLsp2y/UToNknkEHKo34ol9jeoPCR+EBu1UfM6gXsGg1HXB5LutLVrZY4IsjsClDD4ppwldoc+mGMFkDqgf759xXOhdmhhKzsS9f488+FkNGfOr/Opxxs4e+HwnwhYoVGssw5ewdcIkpgLkJKQ9A8/8XPJNVN611s59CexLggnLs5Jsl4nqQQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3804.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(136003)(346002)(376002)(396003)(8676002)(76116006)(66446008)(38100700002)(54906003)(66556008)(33656002)(186003)(4744005)(5660300002)(7696005)(38070700005)(122000001)(4326008)(478600001)(66476007)(64756008)(2906002)(86362001)(66946007)(110136005)(83380400001)(8936002)(71200400001)(6506007)(316002)(26005)(52536014)(107886003)(9686003)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TcSUflOFzr1LKrPJA1Cb7+2+cofgcKLcUpL8/+16bIvlIPcQrDL5TfudRjEa?= =?us-ascii?Q?XJ18aZPm8JphkfaAk11S5qr0UYAjg4kk2AnQszGe9fgPQtiRAJyDNS4OiEC8?= =?us-ascii?Q?w/290OvLEVqUvahhyTN+xJYHrHbiHq9oG1s97cyBfvZC+vhn1orTm2pIus3X?= =?us-ascii?Q?5zfuVqdG0yUBiB8N2LcQSyyplTOIFjulhav+G2Gp7pLKokFNPefum3tfRpvH?= =?us-ascii?Q?M4BeEoE81dVsbiixtSQl+Ra3RL4x5MBTym1TUIMnY2pdKXY3xFd3YsE4XjX+?= =?us-ascii?Q?ZyW3JXtOapokKeq0kfRQD3tWA1OdrVX76ACjbnGO23WyOLaOcOjT08TB4RZP?= =?us-ascii?Q?q9PW5B0UZcpJu8zncA2nehRBVKiyDcCtaxZcnDbJRhuBOaOYRKcTgMIuIJGQ?= =?us-ascii?Q?NrNpvf4naYKAqtuBoOaeHaZJ/id4MVj0d0nspcAR0gPsVCQ9Gen//HG9gM7j?= =?us-ascii?Q?ZL0VBR8QVngIZrQKzsT8B2hu2aocDGuWnc5Bg6AzeLEdmjKlM4dL/KOplBUJ?= =?us-ascii?Q?moK0ist8tQIBmPGHaeP34bIj6W9J5lPozHhczGyr9DKiuroUba7mqI6VYrO4?= =?us-ascii?Q?jJVTgDk1HH0YCjCDiDuRakUnFeM5ZTvMv9aTxthrlshggu03arsSqXNswaTU?= =?us-ascii?Q?m/DKzb/ya9vYOlUVkBIVrHOTX2zeapE8FnWbKsLXCuOiKHILXI+DVtDVOi7g?= =?us-ascii?Q?JHF+TUocSoRS/gAqkoaBAXzE+CBYkg+TqdWN84BB4Wv7VeRsz6YuR5mYOUji?= =?us-ascii?Q?A78u8zY5j6Nsf5mLhodFGfED90NRDQ+23ni7NCEqgsrKhEUnkpN4fkPvDjPI?= =?us-ascii?Q?LTq+fZr0DMMLxf/y2JonwtIgHtiu315aLXVjG9Pye5pa1jMApDoshg4hqQYf?= =?us-ascii?Q?X7/LgIxiJv5RPKh7SQtFvDqbVktWt4GkpBH74nR9MiwixQg57eGtUXTyDUxD?= =?us-ascii?Q?BY4rMNyp7As0IOt72mc7YqqUwr4l8/t3V0UPZW9CfcfFwshRTW11E/1QLIEj?= =?us-ascii?Q?lww+wvTN6aTQwrbOTlWrMYjZHQwk6v2JypEDXpLMQoJAPpJNr5j5BsURJt7P?= =?us-ascii?Q?oDixK44cI2lupyvHemY9PKD7ZySajJncw+ih/PVvxw9hJpQTyjOB0d26YWmI?= =?us-ascii?Q?rM9DUlOHKH+zxFNC2BMJr7MtMFaVxJFKd7xzqUbM5Lv6nAOQuCq3g4Y3RGh1?= =?us-ascii?Q?Bq6snpTiVltBb4z5A16TscNmZSyDG6k6Q/zHdOLotTLoue+U/251blpCM0PW?= =?us-ascii?Q?nY02xYJk92kEchQuOcpM6HIa4Ytg52qhqvXHqTmlPHx2ZLileSI+anKPud9Z?= =?us-ascii?Q?IfM=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3804.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f7cd990-4046-4854-01d8-08d963806d1a X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Aug 2021 02:15:48.5781 (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: ZFdDK51kTmzsVVfT/hpU0yo0Dcxm77Xv71Eo675KuL0VEAJwyQaax5jwBPhcUEbmVuCNkqhMU+eLXZrpLc95xHWqwf1el+j1vMj/HWioht4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3692 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Fri, 20 Aug 2021 10:19:58 +0200 Subject: Re: [dpdk-dev] [PATCH v2 6/6] bbdev: reduce warning level for one scenario 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" Queue setup may genuinely fail when adding incremental queues for a given p= riority level. In that case application would attempt to configure a queue = at a different priority level. Not an actual error. Signed-off-by: Nicolas Chautru Acked-by: Mingshan Zhang --- lib/bbdev/rte_bbdev.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index fc37236..d= efddcf 100644 --- a/lib/bbdev/rte_bbdev.c +++ b/lib/bbdev/rte_bbdev.c @@ -528,9 +528,10 @@ struct rte_bbdev * ret =3D dev->dev_ops->queue_setup(dev, queue_id, (conf !=3D NULL) ? conf : &dev_info.default_queue_conf); if (ret < 0) { - rte_bbdev_log(ERR, - "Device %u queue %u setup failed", dev_id, - queue_id); + /* This may happen when trying different priority levels */ + rte_bbdev_log(INFO, + "Device %u queue %u setup failed", + dev_id, queue_id); return ret; } =20 -- 1.8.3.1