Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2410365lqo; Mon, 13 May 2024 19:02:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3q5MJLj32OsZGcZ2GuU2Y6MhkHNNcntuePCr0x1CzorkThYnaxjWbTTuATZFbfAwrqpLUEAS+9Q9PHxKebOINYrKgrGSVrRPtj49qng== X-Google-Smtp-Source: AGHT+IEMH8zy4QtuU+j7NzQ2DMLIWLaNCrqT4z2oyq5j9CNvhh456SgrowOc1Jy8d6vFD5Me0KYD X-Received: by 2002:a05:6358:650f:b0:17e:6a4c:e96d with SMTP id e5c5f4694b2df-193bcff1dd7mr815994755d.30.1715652124644; Mon, 13 May 2024 19:02:04 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6340b2a0772si10445574a12.208.2024.05.13.19.02.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 19:02:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gEDePHWI; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-178248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 37A3B28466B for ; Tue, 14 May 2024 02:02:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A858125AC; Tue, 14 May 2024 02:01:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gEDePHWI" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3CF3B653; Tue, 14 May 2024 02:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.18 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715652097; cv=fail; b=r25pJK3ZVk7gnGjpe/kKxS1AZ5SUVV5Xjr0Ukas+c25cQiv5/Bnj6kkInk98QCB/6/HVqGlopMIuUfgMSPGS+4dhRyhaS6O1dpFRO+b1seFFelVX+IfypwG44EvGIEZzgDFElAPDiRDEk+AxuE7fkAzdmxX7MdT0GohFejOBCxY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715652097; c=relaxed/simple; bh=m2H1lv4pb3oKgcM/Ls/p8NN4sfJGHfynXNZhp3glPUE=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=ROnyROFCSNALf357Ct/9+jUuhbVZrCXFwtC5xXMeZLaedzvK2rZGThZYi+huIir45R90vMfLC9Y0rSM5ibxJl55T2MmpWU5ODEmP0mPo4vC11TZiIbc6NB6Hon+JB7ze4r38mzxKgIcEKaCGyIYf62z32CwCYbLmrRAARZWvJI4= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gEDePHWI; arc=fail smtp.client-ip=198.175.65.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715652096; x=1747188096; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=m2H1lv4pb3oKgcM/Ls/p8NN4sfJGHfynXNZhp3glPUE=; b=gEDePHWIlFzl5I7ofjuH67at7KMkeSOaSA4bQSpFyk2hjJpS0pgHlBn0 JFFdXwj0lD5u8QyJU5v3CUagzIP8mtUM0KUOWZuxyvsn2oGNVcEQMnCTz 4IvyChAZGdKX9vrn2L7aGyq2SIoJgrPKRbIqEUw3gVzCmWXA4QEyi/Vjm Su+sfzB4ek2f7TvGjhoCaJmdtZ9f2S3Wht1qGWYx9/2QqNacqMa6ZretM sJaMpOfXmAAG5kodJcuvw5hK5u2G/I9Tp+neD//1FIyxQPu132Fa3kvo8 FQ1nW5/vNLlYi1KQV/t3lpuY/1s/dRy4fo9OI78nybnBRtG9VmaTfOI1g Q==; X-CSE-ConnectionGUID: FO75xV15SSSqawVrgxX+vw== X-CSE-MsgGUID: BebOS1PrSmmTWYx6buOHpA== X-IronPort-AV: E=McAfee;i="6600,9927,11072"; a="11775098" X-IronPort-AV: E=Sophos;i="6.08,159,1712646000"; d="scan'208";a="11775098" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2024 19:01:36 -0700 X-CSE-ConnectionGUID: IjfqtJ/zSdyW0NMGAGSjWg== X-CSE-MsgGUID: neduB8gQQHKmBDf1m+Of6A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,159,1712646000"; d="scan'208";a="34969922" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 13 May 2024 19:01:35 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 13 May 2024 19:01:35 -0700 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.35 via Frontend Transport; Mon, 13 May 2024 19:01:35 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) 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.35; Mon, 13 May 2024 19:01:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RbFJ2DkkakPK207wUflPBDiDmUD71yvTTLxa9qGAA2SFGQY30Pk+vpNwZJGXeNLW9GQaz6DUg/irnjekfulUfNR4k+IuH7xY/3Q1LbPpyB5YYffeBCM3veggsq45PT6pVyCS+JJAsMR+rCefbpuwANUU3GRLH/8zVH1hcY4HczLlAhzuM88I+QL6oNN2BoaeC061f5taHO9wU24EI7b2KLAA9QY6q3A3xh3Xjx3iK1xg/RbvYNmNh6bb0YBNC0d3PczmKy1q4Zl2JsRK+m7iz/K5eNn0boPL7vwGPU4vqh4qt4sEVUoM6BgOHdMJgvt/l8BPCpzYOan7F7T45bnXnQ== 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=mVAUaaWtPcpxYRfY7nLLEgFFB1rhYGuGhKeBSk+Q+/A=; b=AWsIONmpO5Y8uYhztCRpHId3PBfabq2TjDZHkYycgLOZAX9z40eBrpqMUZX7lc4XkxG8obIpRCkHOPgiv2o339iCg8RoY6C8B8gZ+7W1vi5mwWyokghiglt2YCAFbVtgXyMSiu5NiEElA2C1Zt2unWJpN49pXLdzQmkiQ9vrpW/Xpv6Djp0E3o2kFGb4luYQGRXDJrOva2WGj3Rz2q5cFrZ2VKtgTyaNIOACJi/o9OfmoVbAmDebuoDKzLA8Z+JVo+IgDy+ZNj5+B4w5Gb14B3R8qj+oKKDmCBv/r4ZK0UIN0+rFlEn666uF4dHdqrqalIsVOKbB5pJmmkj6zaTzsA== 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 MW3PR11MB4538.namprd11.prod.outlook.com (2603:10b6:303:57::12) by PH0PR11MB7562.namprd11.prod.outlook.com (2603:10b6:510:287::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Tue, 14 May 2024 02:01:33 +0000 Received: from MW3PR11MB4538.namprd11.prod.outlook.com ([fe80::e117:2595:337:e067]) by MW3PR11MB4538.namprd11.prod.outlook.com ([fe80::e117:2595:337:e067%7]) with mapi id 15.20.7544.052; Tue, 14 May 2024 02:01:33 +0000 Message-ID: <033c24ce-b0e4-4653-ab8a-2cefbbec0893@intel.com> Date: Mon, 13 May 2024 19:01:30 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [Intel-wired-lan] [PATCH RFC iwl-next 07/12] idpf: compile singleq code only under default-n CONFIG_IDPF_SINGLEQ To: Alexander Lobakin , CC: , , Eric Dumazet , Tony Nguyen , , Jakub Kicinski , Paolo Abeni , "David S. Miller" References: <20240510152620.2227312-1-aleksander.lobakin@intel.com> <20240510152620.2227312-8-aleksander.lobakin@intel.com> Content-Language: en-US From: "Tantilov, Emil S" In-Reply-To: <20240510152620.2227312-8-aleksander.lobakin@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0005.namprd03.prod.outlook.com (2603:10b6:a03:33a::10) To MW3PR11MB4538.namprd11.prod.outlook.com (2603:10b6:303:57::12) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW3PR11MB4538:EE_|PH0PR11MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: 23face3c-283b-40d3-6588-08dc73b9c75a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NFpOZEZVVUhnU1JsN3lZWDVqUlFlbmczY2h2a3FYYWVseVZVM1NNdmlyaTJW?= =?utf-8?B?d3UyZDlqZVFKdjhpU0hBMnA4aXdnOEVvQTFDdjFEcndHYys5dVJqek9ucG04?= =?utf-8?B?M3Q4WTB5by9LQ2NKTnlMVWxINE5LcHpER0tBSXRoQ29kNHFZTU5rNjdFdnp3?= =?utf-8?B?bHpnRmxGZTZSYlROWEIwMUpYbElSY1d3UFAxVFd5c2VBWEdsRVRvMjN5b0d2?= =?utf-8?B?dW9zMWJpV3FjeHRwZkE4a2ladnNHMDRIOUpjUmpwWDJ6R0FnTm9saldzTFY3?= =?utf-8?B?VWpJcjY4blgzby92VGt0cGpyRlErYWNxNDQxV0FuMHdHL2E5KzFjcDhsRmxt?= =?utf-8?B?VFBTSXdXNWxKSHppdUQ1SnB3UWJvWTQxMmNodDM5SmJ3WV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T29wUzhiQ203S1ZrN05CbEdm?= =?utf-8?B?L0pjYkdZMksxc1U4TVB5VVVCV1RMcWJjdWR6RmZseVFjQWcxaDd5T0ZuQ2pz?= =?utf-8?B?dVRzd3BXRGJReFBLLzRKZWFkQkxTNnEvRDJxb1pvWnJJSVNHUnNyOG9ONlFn?= =?utf-8?B?RHVPY0JtY3E4SWVUVnh3SEkzeEgzSlcxWW9uVDd4M2pSKzdGMGpneDhZZVJa?= =?utf-8?B?c3VFaFdrb3pKUkJNVjVNZFBJTUJUUjBLNWM5VXllVlZMdVQ3b3RPZVQ4SU85?= =?utf-8?B?cXRNMjJodmEzUUtuQnVxRTJMZnN1M2l2VzE5TXZMbmFKSExHU1R0MzdSNCth?= =?utf-8?B?RkN3R1RxWGhBM29aQ1l2bjc5YnRSNnIzNnZGN2NuMnBjWGVZQi9pbVIwZTk4?= =?utf-8?B?b05hQU1KUnhoYk1Vc0J2TGkxWWhKV0JDSGc2VlE4VHBYK01zRlpFZTl3PT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4538.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(366007)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VXhQVmI0QXc4d2NZcHJsOGRHQ3lubmdhYjdsaGo4NnpMVys5bEoyQytnUWFV?= =?utf-8?B?ajBIVHcxMnZVZUtNbXhQalRuTE9DSWF6Z3FuTU1WZkR0YzdaM1JvQTNpSG9x?= =?utf-8?B?cnBDb280cVdnQjFDTmYvRnZIVFBSdkN3RUExQTJtS1ZabmZuT3g3eS9Mekhm?= =?utf-8?B?N1pLVGY0aHZPbXBWYmR0eFNVVnVoUFRWWGc3d0xqQ05SVHN2VVV0RCtodWk4?= =?utf-8?B?WkhWR1JxSnZjbGpmbFRJQ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nZGTHBiNDhS?= =?utf-8?B?dXF6TkxZS3pZYnc4RFpzcVFmYzJWZU02a01CNktEMDFqNmYzOEt3eUtobzZm?= =?utf-8?B?VDdieDROWmNwSDVTVGt6TEpiR08waWpYenhWQUdrRnVaNDViMEdyTktnRlV6?= =?utf-8?B?OUE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 23face3c-283b-40d3-6588-08dc73b9c75a X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4538.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2024 02:01:33.1502 (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: 5t8jT8pmIIuMMDbK5oWTV/NWVAf6rbx/RD/tcfGzA6k3VbivEVSfRIOXDQMpGLIZZOi9fu+pdRmMwzE35Wge7Ki22iQY34NpxIPWTguOyqw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7562 X-OriginatorOrg: intel.com On 5/10/2024 8:26 AM, Alexander Lobakin wrote: > Currently, there's no HW supporting idpf in the singleq model. Still, > this dead code is supported by the driver and often times add hotpath The driver supports the HW in single queue mode (not the other way around), so I would like to point out that all current HW on which idpf can load supports this model. > branches and redundant cacheline accesses. > While it can't currently be removed, add CONFIG_IDPF_SINGLEQ and build > the singleq code only when it's enabled manually. This corresponds to > -10 Kb of object code size and a good bunch of hotpath checks. > idpf_is_queue_model_split() works as a gate and compiles out to `true` > when the config option is disabled. Compiling singleq out does introduce an issue for the users that would end up without a netdev if the driver is loaded on a setup where the Control Plane is configured for singlq mode. In that scenario the user will have to recompile the driver/kernel in order to load the driver successfully. > > Signed-off-by: Alexander Lobakin > --- > drivers/net/ethernet/intel/Kconfig | 13 +--------- > drivers/net/ethernet/intel/idpf/Kconfig | 26 +++++++++++++++++++ > drivers/net/ethernet/intel/idpf/Makefile | 3 ++- > drivers/net/ethernet/intel/idpf/idpf.h | 3 ++- > drivers/net/ethernet/intel/idpf/idpf_txrx.c | 2 +- > .../net/ethernet/intel/idpf/idpf_virtchnl.c | 15 ++++++++--- > 6 files changed, 43 insertions(+), 19 deletions(-) > create mode 100644 drivers/net/ethernet/intel/idpf/Kconfig > > diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/ethernet/intel/Kconfig > index e0287fbd501d..0375c7448a57 100644 > --- a/drivers/net/ethernet/intel/Kconfig > +++ b/drivers/net/ethernet/intel/Kconfig > @@ -384,17 +384,6 @@ config IGC_LEDS > Optional support for controlling the NIC LED's with the netdev > LED trigger. > > -config IDPF > - tristate "Intel(R) Infrastructure Data Path Function Support" > - depends on PCI_MSI > - select DIMLIB > - select PAGE_POOL > - select PAGE_POOL_STATS > - help > - This driver supports Intel(R) Infrastructure Data Path Function > - devices. > - > - To compile this driver as a module, choose M here. The module > - will be called idpf. > +source "drivers/net/ethernet/intel/idpf/Kconfig" > > endif # NET_VENDOR_INTEL > diff --git a/drivers/net/ethernet/intel/idpf/Kconfig b/drivers/net/ethernet/intel/idpf/Kconfig > new file mode 100644 > index 000000000000..bee83a40f218 > --- /dev/null > +++ b/drivers/net/ethernet/intel/idpf/Kconfig > @@ -0,0 +1,26 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +# Copyright (C) 2024 Intel Corporation > + > +config IDPF > + tristate "Intel(R) Infrastructure Data Path Function Support" > + depends on PCI_MSI > + select DIMLIB > + select PAGE_POOL > + select PAGE_POOL_STATS > + help > + This driver supports Intel(R) Infrastructure Data Path Function > + devices. > + > + To compile this driver as a module, choose M here. The module > + will be called idpf. > + > +if IDPF > + > +config IDPF_SINGLEQ > + bool "idpf singleq support" > + help > + This option enables support for legacy single Rx/Tx queues w/no > + completion and fill queues. Only enable if you have such hardware This description is not accurate - all HW supports single queue. The configuration is done by the Control Plane. Furthermore, without access to the Control Plane config, there is no way for the user to know what mode is enabled. Thanks, Emil > + as it increases the driver size and adds runtme checks on hotpath. > + > +endif # IDPF > diff --git a/drivers/net/ethernet/intel/idpf/Makefile b/drivers/net/ethernet/intel/idpf/Makefile > index 6844ead2f3ac..2ce01a0b5898 100644 > --- a/drivers/net/ethernet/intel/idpf/Makefile > +++ b/drivers/net/ethernet/intel/idpf/Makefile > @@ -12,7 +12,8 @@ idpf-y := \ > idpf_ethtool.o \ > idpf_lib.o \ > idpf_main.o \ > - idpf_singleq_txrx.o \ > idpf_txrx.o \ > idpf_virtchnl.o \ > idpf_vf_dev.o > + > +idpf-$(CONFIG_IDPF_SINGLEQ) += idpf_singleq_txrx.o > diff --git a/drivers/net/ethernet/intel/idpf/idpf.h b/drivers/net/ethernet/intel/idpf/idpf.h > index f9e43d171f17..5d9529f5b41b 100644 > --- a/drivers/net/ethernet/intel/idpf/idpf.h > +++ b/drivers/net/ethernet/intel/idpf/idpf.h > @@ -599,7 +599,8 @@ struct idpf_adapter { > */ > static inline int idpf_is_queue_model_split(u16 q_model) > { > - return q_model == VIRTCHNL2_QUEUE_MODEL_SPLIT; > + return !IS_ENABLED(CONFIG_IDPF_SINGLEQ) || > + q_model == VIRTCHNL2_QUEUE_MODEL_SPLIT; > } > > #define idpf_is_cap_ena(adapter, field, flag) \ > diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_txrx.c > index 4aa5ee781bd7..2bc1a5a0b50f 100644 > --- a/drivers/net/ethernet/intel/idpf/idpf_txrx.c > +++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.c > @@ -1306,7 +1306,7 @@ static void idpf_vport_calc_numq_per_grp(struct idpf_vport *vport, > static void idpf_rxq_set_descids(const struct idpf_vport *vport, > struct idpf_rx_queue *q) > { > - if (vport->rxq_model == VIRTCHNL2_QUEUE_MODEL_SPLIT) { > + if (idpf_is_queue_model_split(vport->rxq_model)) { > q->rxdids = VIRTCHNL2_RXDID_2_FLEX_SPLITQ_M; > } else { > if (vport->base_rxd) > diff --git a/drivers/net/ethernet/intel/idpf/idpf_virtchnl.c b/drivers/net/ethernet/intel/idpf/idpf_virtchnl.c > index 44602b87cd41..d1705fcb701a 100644 > --- a/drivers/net/ethernet/intel/idpf/idpf_virtchnl.c > +++ b/drivers/net/ethernet/intel/idpf/idpf_virtchnl.c > @@ -1256,12 +1256,12 @@ int idpf_send_create_vport_msg(struct idpf_adapter *adapter, > vport_msg->vport_type = cpu_to_le16(VIRTCHNL2_VPORT_TYPE_DEFAULT); > vport_msg->vport_index = cpu_to_le16(idx); > > - if (adapter->req_tx_splitq) > + if (adapter->req_tx_splitq || !IS_ENABLED(CONFIG_IDPF_SINGLEQ)) > vport_msg->txq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SPLIT); > else > vport_msg->txq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SINGLE); > > - if (adapter->req_rx_splitq) > + if (adapter->req_rx_splitq || !IS_ENABLED(CONFIG_IDPF_SINGLEQ)) > vport_msg->rxq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SPLIT); > else > vport_msg->rxq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SINGLE); > @@ -1323,10 +1323,17 @@ int idpf_check_supported_desc_ids(struct idpf_vport *vport) > > vport_msg = adapter->vport_params_recvd[vport->idx]; > > + if (!IS_ENABLED(CONFIG_IDPF_SINGLEQ) && > + (vport_msg->rxq_model == VIRTCHNL2_QUEUE_MODEL_SINGLE || > + vport_msg->txq_model == VIRTCHNL2_QUEUE_MODEL_SINGLE)) { > + dev_err(&adapter->pdev->dev, "singleq mode requested, but not compiled-in\n"); > + return -EOPNOTSUPP; > + } > + > rx_desc_ids = le64_to_cpu(vport_msg->rx_desc_ids); > tx_desc_ids = le64_to_cpu(vport_msg->tx_desc_ids); > > - if (vport->rxq_model == VIRTCHNL2_QUEUE_MODEL_SPLIT) { > + if (idpf_is_queue_model_split(vport->rxq_model)) { > if (!(rx_desc_ids & VIRTCHNL2_RXDID_2_FLEX_SPLITQ_M)) { > dev_info(&adapter->pdev->dev, "Minimum RX descriptor support not provided, using the default\n"); > vport_msg->rx_desc_ids = cpu_to_le64(VIRTCHNL2_RXDID_2_FLEX_SPLITQ_M); > @@ -1336,7 +1343,7 @@ int idpf_check_supported_desc_ids(struct idpf_vport *vport) > vport->base_rxd = true; > } > > - if (vport->txq_model != VIRTCHNL2_QUEUE_MODEL_SPLIT) > + if (!idpf_is_queue_model_split(vport->txq_model)) > return 0; > > if ((tx_desc_ids & MIN_SUPPORT_TXDID) != MIN_SUPPORT_TXDID) {