Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp123411rdb; Tue, 31 Oct 2023 02:44:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdEES9PvSXieb2k1s6UGr1Bqb/XIlB+OqXsDPSkLQ7vikKbRoKDWbQb37QqSyXXpTPGW41 X-Received: by 2002:a05:6870:364c:b0:1e9:dd4b:d0aa with SMTP id v12-20020a056870364c00b001e9dd4bd0aamr12666397oak.48.1698745446123; Tue, 31 Oct 2023 02:44:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698745446; cv=pass; d=google.com; s=arc-20160816; b=zXLDCoXTuXvr9z+yW5S3+hqfjF8H/7oskTERB+zRoKE6nYxfGTMIlqyX2eAmicuzyk XXkIeJqLCj3op0KMa3MnymhuayTi9emLDiLzJQf2vo+pjz85bkm09QzJrCQ9zUq0eOI9 PTzLuKGda2lTo9aB6RCMwkKOQ0UCpHuYfUxf+WpPF7aK0FiQPDUrBnXViKiMFpZV3Gyy YdpShA0OVOGAbuLrScA+MiXgM4nsI1o1tfeVkgt7VVTj7Oa+Qidob4KMkG3atpSEuEHl wvqDeZBNzByjGcFLxcVs9YZu2NB+NQ5VTvhWAxloh6RcRvmnr1Dfledz8yRvGZu0encO aXQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Z6e9w1HuEUw/SfwPZi8E0fIxk51oKFsmJpIzWRwDExw=; fh=kO8jyzlxYT/725vH/707AKvN3vcXTjakM265C8X3R2s=; b=uXdKohYUP1CcT6rUZoTLO1DPIYS39VDkGOJnh1590Ra9BvyKENZdy4hGto3zS7sedW 48V+n/EbUsWzDmJc90ETBR+BzP6hqMihFFmfL/9dnVmxpmlfdH+lzWo1g6Z9jwnfUTu3 /0Kxgq5EHPp11VOHr2zqyBfZjrhxAa2bP4txWAto6+T6rrc5b7VABfx+Xl1qqeuax5FL /ETZUsrebBogLxys456ouNHf+HuSkGBUPOqK3REOUBAMLue+JcnHBlFi3B8ayxhHvP0g tqSmOrbdvu2nxuLWs0JMmKhlt8dKgXWIeuTACTvv5syLGNKY4vf6UCUv7yjPn+lzeRpy wzXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NZN0RHQE; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id a27-20020a63705b000000b00577448019b5si769143pgn.276.2023.10.31.02.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 02:44:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NZN0RHQE; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9EA558039DCA; Tue, 31 Oct 2023 02:44:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbjJaJns (ORCPT + 99 others); Tue, 31 Oct 2023 05:43:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjJaJnq (ORCPT ); Tue, 31 Oct 2023 05:43:46 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 639C2C1; Tue, 31 Oct 2023 02:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698745420; x=1730281420; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=haaeoGk6yksPsBvGRRzKPtDFzjmqVN7OWs2zIGjmiQU=; b=NZN0RHQEg28RCcnpIw9mey7y7WKecmTv3ZgXdwKAUi/9aZGI0+jptyXb eyFeVq6hNUdpFZTMeeGG38thTS6gpAICtJ/zyhVgGHNIgUNbhNoCKc5Dy KbPHT6l9EFAFspCP4IopskYXV8NyZ0UWglQXR7EZmaqPBcgrrdymhknvH doC07Qtq+7vLWqOR3YRma8+QiCLAE+XkE4V7gJ6dPuP3xtUD0vX+amt9w 5jaAtYVE/xlnNfXPWTUEt5bYIpbuvKQvncvSci7SNlUSSBQH/6V5L26go 43rCpzHR0q/Iy5t2WFZurux6yZq02FoDu+JDZ759cfQyRqXGEymWD7d5r A==; X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="367597163" X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="367597163" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2023 02:43:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="851191047" X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="851191047" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 31 Oct 2023 02:43:39 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 31 Oct 2023 02:43:38 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 31 Oct 2023 02:43:38 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Tue, 31 Oct 2023 02:43:38 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Tue, 31 Oct 2023 02:43:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Np/OLqo4zO4h350JPMm8DoUzizyBVTaHHFgRfxRDp8a+n20N7nMScTtmWb132XNFsfydpJL/0kcSLwWaEgI8a5JN2PWjZZAYnMG0ekUgco5/mBhSwdxyMlFD/C8CGaCZq6qFSujQxugy7dFhXm3eWwezjPUrsZcYRUY/zx+99IUdrvszmLjVx32xY8MnVAb0YfKuh6TgEbhc0elSCq7esn6U2iYbEi/KcZ3BUV/s+PuTIefEoTCm8d+Kn/Hd4ObcBJ2uobh+2aiySR3Dst9xMHedgdxcqQ3o66vu67SlEUglbQzsJqE2JZuoQkYvRWmEONbVAaHEU7w0kY1JM79tBQ== 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=Z6e9w1HuEUw/SfwPZi8E0fIxk51oKFsmJpIzWRwDExw=; b=EY5Xace9uueye5L//Xv7hyQm9USxKcRUpycxOfi5W4R61d+XxfHtfWY99FC9PvWU2Lv2uwdJ93MRcklXhhKtF30D2t5SZ6iMYDxALEC7qFeBi6pSx9Nr2+58c7787COhRbBcsrfFDdLCePszNxEDguFDZd9H+JXdRSwYKEuxnhCKh+8vY5lFvrEwYnT3h0WHR1hYbTmdDtg8hbAh+hX740WqjWImGB5bASBaUPkt7s3f5EpvioUwWrSTO9SUvZAl41O3O35b6t5WnBGVLtePRJxwpTyIfIkLzK7UlSESyc1MmiVWCydiDDkBHualxsQigEo7YmBbXlRQxTbSW4wnlA== 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 BL0PR11MB3122.namprd11.prod.outlook.com (2603:10b6:208:75::32) by PH8PR11MB7117.namprd11.prod.outlook.com (2603:10b6:510:217::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.26; Tue, 31 Oct 2023 09:43:35 +0000 Received: from BL0PR11MB3122.namprd11.prod.outlook.com ([fe80::7911:8ae6:fc73:1097]) by BL0PR11MB3122.namprd11.prod.outlook.com ([fe80::7911:8ae6:fc73:1097%6]) with mapi id 15.20.6907.032; Tue, 31 Oct 2023 09:42:35 +0000 From: "Pucha, HimasekharX Reddy" To: ivecera , "netdev@vger.kernel.org" CC: Eric Dumazet , "dacampbe@redhat.com" , "Brandeburg, Jesse" , "open list" , "Nguyen, Anthony L" , "moderated list:INTEL ETHERNET DRIVERS" , "Keller, Jacob E" , Jakub Kicinski , Paolo Abeni , "David S. Miller" Subject: RE: [Intel-wired-lan] [PATCH iwl-next 6/6] i40e: Initialize hardware capabilities at single place Thread-Topic: [Intel-wired-lan] [PATCH iwl-next 6/6] i40e: Initialize hardware capabilities at single place Thread-Index: AQHaA40ROFDNUykjZU+m3eRXp9v+krBjtTXQ Date: Tue, 31 Oct 2023 09:41:04 +0000 Message-ID: References: <20231020193746.2274379-1-ivecera@redhat.com> <20231020193746.2274379-6-ivecera@redhat.com> In-Reply-To: <20231020193746.2274379-6-ivecera@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL0PR11MB3122:EE_|PH8PR11MB7117:EE_ x-ms-office365-filtering-correlation-id: df274748-99f4-4295-78d3-08dbd9f58008 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: F2/DE6W9EofBfNDDBq7hOaCbooNMJ4a8Z7JQ55Cq5GboD0JmuO2wsLLD3snt2904QHtTTthKeXZ1LD7d0N3RC5cGnAP3XZ/WB3CSSEOaa3cY98xRhRBbBDCwgVHBR7oF34R2T3STpNy8gYB6+abgs+kX0+Kq4V34Bfj0U8Al9SsLDIwOFQKezFnSHz4qoskXR65/d1w8GoSAC/mCGXD/j41DyoDNYbwSZMbSGPybnodkWISLuXFLbwnph2LLjuQOys+81VhogUJbtoGhnfM2QO4wRIIUYpGZC2Uzby0gWFxyvSgtOS7OhfAXc8i1cAWg3BOBi7rmeVKhqbdk2r5zKD2BX6c/NC/i/jGJou9u4uZHqM9w6s7MxV2Ccm5h1JGqujfBbdC2Xo1S3MTOGhYP+FEidzbqIHQBp65DtA0oHaha5NeBPvc4yP3/ZBg05BgUNkPEYVkQNxSWwsm/FChxqkh2RL5MhWDSlqPstGGwwNwSciH6c+NEQcuK8iXhf7KrSVw2kOJWQ9F7D6qhB9dqY4JqNIpUOq/me/z+seMMCyKLUJTEKJSAAfdrrU7qcRKPKnu1rye5pFmwMownE9wEnLXHbv9KMXOtPKniKTeqoxzLKFAOxNDP5IvrZvsHSAwK x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR11MB3122.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(136003)(376002)(396003)(346002)(366004)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(55016003)(53546011)(6666004)(71200400001)(9686003)(478600001)(7696005)(83380400001)(6506007)(41300700001)(64756008)(33656002)(86362001)(38100700002)(122000001)(82960400001)(66946007)(66556008)(66476007)(66446008)(5660300002)(54906003)(26005)(2906002)(110136005)(76116006)(52536014)(38070700009)(316002)(8676002)(4326008)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?B9yI3DStKn8wr1+KljjSHJ89n+9xi0GvnSj5xxsnbzUFaUAeJ1pd7E1f+77B?= =?us-ascii?Q?3f5HW+OJ4aAIKaNYatMwDwxcIt06leEXhe7jbIch6tDEeST7EyglGEuWaqMY?= =?us-ascii?Q?AmImTb68WR6VDB+0ccIc7AGeA/ypdM0I72w+dmgMwR6yV+As9Zk+OsoSZiwo?= =?us-ascii?Q?UZl1LClb5ORnOJuabfMw1pRWaKCiIp+UE6NSsIo2zpWHaATGzduRgRYFCuBC?= =?us-ascii?Q?wb5cyHhk7uHcPL+kqH2NPAsAEyjyfXAB9woJFhScLRgesWvrgLrdtb35JOm1?= =?us-ascii?Q?Szc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jMi7K8VXdG7aM3YUpIDmbz0HhI?= =?us-ascii?Q?g8lwlkeOkY2gh+8JgmKNKxLBgZsQb/V01dgzNnxAijFbEOC7/ck4vuxLS4Jd?= =?us-ascii?Q?wDXQUC4vs7UoVm7eW1Wfyp9MuzKj6ToBk4CAmCaH9qGGF5VaHCx6Yain9x8k?= =?us-ascii?Q?xsagZBvlZtOnsMuILzutlS8IIcQ+kcjxNt4nnxcEWRqafTavGOyU+usQDXk7?= =?us-ascii?Q?PWSDyx5GgA/KqRacwYRwsExQqBOF9MC/KkJIGcno7yUuqIO2tyJUIByZ6Wf5?= =?us-ascii?Q?UDmX9LdLv+iD9X1CLSjeFsbcWrPIhGlbDb8JEP3emysZVFaPQ28FKGw9nTHT?= =?us-ascii?Q?/gxqEr3lhhKFwZU7bB9TwncNgkl4Iao3MeNB1IKuyHUhOVoxw1IKor6xigce?= =?us-ascii?Q?hVgOFZB3WBl7PlsfA+enhCbZ9nkhKKYOZt4CUBTmG6BWCkDFSvD/K0TutLER?= =?us-ascii?Q?6w=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: BL0PR11MB3122.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: df274748-99f4-4295-78d3-08dbd9f58008 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2023 09:41:04.0759 (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: aYmn7sfhQ3zY4buhHFoPrytiY+eeM23Ut7sL0T/G9IkdV9v0yJFQCS6gPic/vygvkDeSk71ew4WFHkUXlciaj5n5N38ThUmoIdPuQuwdA0POMAV9J1YODXmZ3XpxYEJN X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB7117 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 31 Oct 2023 02:44:00 -0700 (PDT) > -----Original Message----- > From: Intel-wired-lan On Behalf Of I= van Vecera > Sent: Saturday, October 21, 2023 1:08 AM > To: netdev@vger.kernel.org > Cc: Eric Dumazet ; dacampbe@redhat.com; Brandeburg, = Jesse ; open list ; Nguyen, Anthony L ; moderated list:INTEL ETH= ERNET DRIVERS ; Keller, Jacob E ; Jakub Kicinski ; Paolo Abeni ; David S. Miller > Subject: [Intel-wired-lan] [PATCH iwl-next 6/6] i40e: Initialize hardware= capabilities at single place > > Some i40e_hw.caps bits are set in i40e_set_hw_caps(), some of them > in i40e_init_adminq() and the rest of them in i40e_sw_init(). > Consolidate the initialization to single proper place i40e_set_hw_caps(). > > Signed-off-by: Ivan Vecera > --- > drivers/net/ethernet/intel/i40e/i40e_adminq.c | 66 ++++++++++++++----- > drivers/net/ethernet/intel/i40e/i40e_debug.h | 1 + > drivers/net/ethernet/intel/i40e/i40e_main.c | 55 +--------------- > .../net/ethernet/intel/i40e/i40e_register.h | 1 + > 4 files changed, 51 insertions(+), 72 deletions(-) > Tested-by: Pucha Himasekhar Reddy (A Co= ntingent worker at Intel)