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 224ACA0545; Mon, 20 Jun 2022 11:21:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11493410FA; Mon, 20 Jun 2022 11:21:48 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 3D6DA40150 for ; Mon, 20 Jun 2022 11:21:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655716906; x=1687252906; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=R6SRWl6uO2Xmvcsb5PgRXIJ/QcKxRH05KgqUOzNiwTQ=; b=CsVnVpZL67yj/29Vit+G2wZ7Uqh+T3O/Z1m90A/1qi3Qg4YqRY9BAR07 FUZ68Zpn+mbhl+kvxLXbiYJgSAvfirmuvw6iP/wVw836NezimGTuvBaSp zKNV6FNoCTuGrbBhqfzDhfbUHe7ofNjP1rhCwmwtvKaBjalECFUryn4HX Z07OZ5pWMxrE6mTRjRZOL7lGd5eJ+EttMT41CIVnNZGxx+hOZuKSWPk2H hCkYCUnP8pqjVIczUUwwkv2/w1QLvqriQgQ7N4Ie7UqKB8z3ddiyvbgrT 2AqaG3DlLAvQKE3If25tVASijN1FfaGYIcb2xgSsr7oYAKpCNW0MkOSlC g==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="279897814" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="279897814" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 02:21:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="714546606" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 20 Jun 2022 02:21:44 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.2308.27; Mon, 20 Jun 2022 02:21:44 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 20 Jun 2022 02:21:44 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) 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.2308.27; Mon, 20 Jun 2022 02:21:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lgbQg+pNx3yxjD0Vy2fdpfeSmeva1qfaVPPKZiDQM3HZ7dfxaWevWyTfZmMz1xF/8ZmGvVhyTIFOdQtp6V7zEOWbOmhbD5n5qu2xTIsH46DQ9aX/d1HaYFoiNzfh297x6FzFkV0j3aqMb2c2JNy1FvGU/CFaRNBU38hiYDKH7lW+DU2pQ1q+m8bFr7jBMHiveYSgWyUUKsNg2sd0+h56N2UMavBAa9egjxn41DtqhQLddkDU3jFkY6LCLOrgMNh435Rf3WmiknmGKz8/FJrAde2B6Y70m10goPBF8HeI3g6F3NpK+GPlmCA7uitCwL91+tRJXfw3ax6Wz7VSoVj/ug== 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=5CNCuIyBmrBz6ac4j9St3qJ+m58aQL4sfaqtLMO9SXo=; b=IokfBZYg3ugms33fWcoEeMlDsAeBOOWSIUpHtFX+ZOcpZHOHfLJLhb2/YrxAdqFlayMbcT5EvudvqJnqRbvHHGYTTHLEYU/nSkIcLZ6sUdiHK8Y3jawrpJJaO+bbmjR6CZPALEKILDQtpjiQnpV65Ra6DjEDmAf09TNhL5xyvWwygdtYbNI5jRZ8yzHK8KDxKWFFYGYVj29mHZUhw2e0/x0FJwNrxFgTC4sNggWNN9GyD3vgwx/iPoq95CoPgQ7Te9WrGHFroSazI0LcCeL/ZWHWX7o3FMEK4TOyt00IcNCQFcQ0I9FOeuUHJhrQr16JEhVwli4Kn8BScnD3zSeZjQ== 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 Received: from SA2PR11MB5210.namprd11.prod.outlook.com (2603:10b6:806:fa::23) by BYAPR11MB3239.namprd11.prod.outlook.com (2603:10b6:a03:7b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.20; Mon, 20 Jun 2022 09:21:40 +0000 Received: from SA2PR11MB5210.namprd11.prod.outlook.com ([fe80::6058:7e27:dcb8:3e44]) by SA2PR11MB5210.namprd11.prod.outlook.com ([fe80::6058:7e27:dcb8:3e44%3]) with mapi id 15.20.5353.019; Mon, 20 Jun 2022 09:21:40 +0000 From: "Walsh, Conor" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Laatz, Kevin" , "Pai G, Sunil" , "Richardson, Bruce" Subject: RE: [PATCH] dma/idxd: fix missing default for workqueue options Thread-Topic: [PATCH] dma/idxd: fix missing default for workqueue options Thread-Index: AQHYgnEV3TrdIIS0gEiboZ89YkdOZq1YCT3g Date: Mon, 20 Jun 2022 09:21:40 +0000 Message-ID: References: <20220617111750.356481-1-bruce.richardson@intel.com> In-Reply-To: <20220617111750.356481-1-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c705f50d-f61f-4997-b46a-08da529e48c9 x-ms-traffictypediagnostic: BYAPR11MB3239:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr 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: 3jyjljV+1AcsLSn0z5a7+1FDgvQhFyHziA0dy+VGDFFDifixb2Gq+9UZZR6EK5sLwlACPENtRq95X74Zw+ZY3mlwnefiWw0gCmRwzcxev2r7r17t7Ueqn+fvcE23FJvrgnrzLWTERFHu/mAZdWw8ifuyxD/0T4A7V7h9/dtSS9ikOPDU4gn1QSIwC/l4ANYvUMl3xVkQBUIHT7wWDU6t+jUpQY6tbSB3GOdN6Hf3Cn7hhxEBBf7Lsy+1FlQTM9fAnJUZyH3LrAG3JUJn9EvhtC+Bu4g+BGrrLsnH7HcsdMQclLfbeSZ4FAOO2dzwD0EsGXTMg8aiD54sw3qkcqSQFBtKWr+nctXMwksy8ztAD/mLtU2zQnnG51HfETHR+31l4SmGaqrr66EOoUHITaRUmPQErYmsR3H8lfJmQ5+zzfHQSn/upSFLjvnHp2PHa+m3b8nws9Oso5D01sLx/I7VoIn/EjUkdqeDYOton/0uBTuYy/gAe9Ganhn2v/zIn6gN3OeiFyuCFdG2nD81+8xq+fiGTUfiioSs6nUymczbny+WRdq1ffecRd+urLpVHBN+zXWu9BSe/W7f4wiFNs/NkLKt1spLCaMSdpfkXjTDY4ElJbhiQXy44DUus8T19/fpYsfARqfNYKOQ/gWel+qh4DwdkfHvHqCH5YQy0Kmolo/GCCE6BfMnmQbMrM799q2w8HazvAL/iOhziwjtDr1knw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR11MB5210.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(376002)(136003)(366004)(396003)(39860400002)(76116006)(4744005)(66556008)(54906003)(64756008)(4326008)(8936002)(66476007)(110136005)(82960400001)(122000001)(6506007)(71200400001)(5660300002)(66446008)(478600001)(86362001)(52536014)(66946007)(38070700005)(8676002)(316002)(33656002)(186003)(55016003)(107886003)(41300700001)(2906002)(38100700002)(26005)(9686003)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CQQUHEo4bgZc56sqKlNhBdGsJsLP/VmsgkxqDVzcyyDlpSVmNSRO1kdlhNdB?= =?us-ascii?Q?DanqfNHb0qonhfviTIwVKyRxw9klPjVS55RWMlKvEtqDmCD5rvIFfMYEXek3?= =?us-ascii?Q?Z7mgNrKGq6EZwVB/w5o1s2TNSm1n9j7fV3GsYevoRWHI0UpPiYLxYM2pwimU?= =?us-ascii?Q?DBreBLEOss1DjtMonYsKaC6jIZEHxSFwDNvSm9JwP0NPpMLeThKXoA/TvqzS?= =?us-ascii?Q?67fO79ORwibP3sE0zqPUf+g8BfBOeO8+dQIIwb4TBOgB+yKIoAJFea5+keZY?= =?us-ascii?Q?UDPuIJuU+sxMNOkdG9T74fkPBty7R2OsA6K+KWdrV1fnapjw51Q+HkgmLPXK?= =?us-ascii?Q?VOXBWW2a1BUzRnjcH9SfO5cs6Lm3EMgMikJdOCFcdo3QyeH9hxqlLbpsAtcE?= =?us-ascii?Q?FaKgzsjK6gXrEt+UUf2bAUI+uppYOqZTuzmdDoTGlCru8l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WAoFtNsLCmAF0gmXODanUxp3jqG1TU+m2VXrQQO?= =?us-ascii?Q?aiYH+3oTMsMuy4HgJo7Ju9GXFUhMvX3YO2YqyJ2lhzAbRHK53wlcz3iCsbIE?= =?us-ascii?Q?Vm+65vBo7kEuSsfjM5uNFKquMz7JmwkU/jrc3jy1lCqaM0gNQzKh5va2Fkrq?= =?us-ascii?Q?D92hqnB01vGFt19Jt7KzfmYFhN+RwShMn5zv5aT2r/SsPcVm7WftzRsDX9Z7?= =?us-ascii?Q?YHnmhyuPX5UUSc5YHZ3GX+dZIVV4Rr4MbuLe00JWqzihIoi+ltfVLoR/SULI?= =?us-ascii?Q?GN3Z/0gzwLfqh+Qzmkf+6iVUXVE9wD3/vVAzEyRisst0Zjd+lbcu9+qFaEZV?= =?us-ascii?Q?XL6fLQ1A88ojgrap7d+pOtM2Iq+iAK56rQZcsQhg8LDiIhEBZhpOmEvPaoAO?= =?us-ascii?Q?DIB7xiUfQQ=3D=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: SA2PR11MB5210.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c705f50d-f61f-4997-b46a-08da529e48c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2022 09:21:40.5679 (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: kRvNvlGSkzALUt9/Ld9+pTVfsj8clUbSsEy5LG4ZHkBBfUpwzoIGIhV5RN4oON/BD2VZFmY1COzh0mfmz+t9AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3239 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 > When no --wq-option flag is passed to dpdk_idxd_cfg.py script, the > default value used by argparse is None. This leads to later errors which > are expecting an array value: >=20 > TypeError: 'NoneType' object is not iterable >=20 > This is fixed by specifying that the empty array should be the default > if no flags are passed. >=20 > Fixes: 94b0f04dc0e3 ("dma/idxd: add generic option for queue config") >=20 > Signed-off-by: Bruce Richardson > --- Acked-by: Conor Walsh