Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1101086lqs; Wed, 6 Mar 2024 06:28:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWwsnOml3ZkMwO00XlojHHx5in+Kp8AJnRAvCxd6yd6cMreNeDw0xLUo86lX0XewPmHpYfLqWtDhoEofaHjdTyFvYjMv2zZ2hQDyqmxnQ== X-Google-Smtp-Source: AGHT+IErPfDNl2bAkT/KKgGSl1zyEDbHq+sqo8M2N2D4xT8n0fZbUQVwKH+5QQU4BolFxzmRVuME X-Received: by 2002:a17:906:a456:b0:a3f:5144:ada2 with SMTP id cb22-20020a170906a45600b00a3f5144ada2mr10302345ejb.2.1709735281758; Wed, 06 Mar 2024 06:28:01 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l23-20020a1709060e1700b00a44a08896bbsi4789601eji.910.2024.03.06.06.28.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 06:28:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=emSJLee0; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-94049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94049-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3F5C81F213F6 for ; Wed, 6 Mar 2024 14:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E523B13329F; Wed, 6 Mar 2024 14:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="emSJLee0" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 554AE130AED; Wed, 6 Mar 2024 14:27:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.19 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709735250; cv=fail; b=GTtD+JqHEZZikvjoUKekvvJmszdm9mCQBuW+/qBoHhfxz0YlyGt3jVetxb4rbyXNpebfW3NUYbP72Ns0BPrDZvNhVtieeOhlUwqPXpGc1M8FuDURrNqy6b1XvbHpFXhQQ22/L7qYYhMdnmMEqX17zEcmgExguKbJ9zm87iISGkQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709735250; c=relaxed/simple; bh=OXvC7LrjUFfJrgV32/NaXQbEAnTThv4/8OTa4ghSUxY=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=IUJA2aU7oJiwVqflkEJyUevTdEjxpA6h1b00huoufbqD/tq/Uwu8CXf/lKMimARmLqkrhK0CdvMoZgaxjAa+9htaUMAxms6R6fWZpeGGVECkkKldhdjp/qLWV+GbXiWzuLOCrEHQI/K3KJvkBW4SoTgl9JJlNOINs9kMi7xAsag= 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=emSJLee0; arc=fail smtp.client-ip=192.198.163.19 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=1709735249; x=1741271249; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=OXvC7LrjUFfJrgV32/NaXQbEAnTThv4/8OTa4ghSUxY=; b=emSJLee01EwPbT4xylqUS50PkeDd59iGUv2DDNGPpbT8H5xdBsgMqxkK ytuyOC8WJIW11rkjW1avx0FKeg/MfMUOl2sCeBwmIJ+XwEoRT0/pSNPWV 8OLgKmxwZhylxJiink2wdIbULEEuEs3Ej5luzxxGp3bpzCxYYfSyBPImm n+8oClPTwqenV9VR+Kc2nDg9JNvPIfsdKMw2zdq4m/h9rukCVSIoo9Wnf mIqAGpZvExFlUBTOVR4QEqJpTinhOO8yiq2KsRw+epSEXvIb7KUJBw8eN g9WR/BYE5GFvdggt/Xh6XZXjTZ0iFM168R161IM00nttTUDeCHaF5aoVu g==; X-IronPort-AV: E=McAfee;i="6600,9927,11004"; a="4211662" X-IronPort-AV: E=Sophos;i="6.06,208,1705392000"; d="scan'208";a="4211662" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2024 06:27:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,208,1705392000"; d="scan'208";a="14336835" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Mar 2024 06:27:28 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.35; Wed, 6 Mar 2024 06:27:28 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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; Wed, 6 Mar 2024 06:27:28 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 6 Mar 2024 06:27:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NlWlb9b6zoMpGFk/ME5wYoJZLKBo1I9jpALO7In81bu6JDMM1pu0CR5oai0QMxcAWegRMJEFw9T94bL+9ZcU/lTDeqr8gKaEn7lW4VJwNs51djNjtL39ACIVaMK1LI0uPv4R3b6fqGg7ZQ0sYEq7uT41aXD2yMWF7PF5Ly9hFPHMvDLSpDOP/Ylo0lgmE321q+ijFxdT81VsiiKAb26+8FJpkXQzSR0wAS4bAcAXyryLYZvr+3lVbVuT7iDBJnH/8Dql0wk6Ijgnqkvwksn7UDHP7774U3ATaHjT9bMB65RyduQcOacS0C3IisNWB0u8YGkMvewNlCa/wL1yZc0C/A== 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=iFYmwc5SZfVFQVblVS3tTCokZeeLAwRX9f/CFElC2D8=; b=l1a6OAaCcfwHYUTZhLONSndMWgMLiNl3Qq+UHCap/6B2MG+CCVR6lYKm0JIC/0ZTmM8AfRSl/fP6YllNziY+ZuUuBTAqAepTmltEjwTPFYfq8KLj5BIrQHGLR4hTWNfNwiR0MYt7e39UfCpiVMKnV4aq4QWvL83IwLE0eauh3ARIjFGkNXZRGbInFbb4UPXTgYkCaHcgJ9x8fR2FiMSf5CJNuvnrG/nUh6EyCUZ3XbUGgZUwm6ne/9NDf2edFfFJpGElrW6YYOqcZHSFkiJEQMbgYATNY+IQdTFHsfZ6eWSuqeXvKyKCz2IFQtJkXtntqsU18FGgwX5E4hvCDlz9BA== 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 SN7PR11MB7540.namprd11.prod.outlook.com (2603:10b6:806:340::7) by CY8PR11MB7729.namprd11.prod.outlook.com (2603:10b6:930:70::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Wed, 6 Mar 2024 14:27:26 +0000 Received: from SN7PR11MB7540.namprd11.prod.outlook.com ([fe80::25f4:e16e:df0f:3a7f]) by SN7PR11MB7540.namprd11.prod.outlook.com ([fe80::25f4:e16e:df0f:3a7f%5]) with mapi id 15.20.7362.019; Wed, 6 Mar 2024 14:27:26 +0000 Date: Sat, 2 Mar 2024 07:47:56 +0100 From: Larysa Zaremba To: Jakub Kicinski CC: Jiri Pirko , , , , Mateusz Pacuszka , Tony Nguyen , Lukasz Plachno , Jakub Buchocki , Pawel Kaminski , Przemek Kitszel , Michal Swiatkowski , Mateusz Polchlopek , "David S. Miller" , "Eric Dumazet" , Paolo Abeni , "Pawel Chmielewski" , Jesse Brandeburg Subject: Re: [PATCH iwl-net 0/5] ice: LLDP support for VFs Message-ID: References: <20240228155957.408036-1-larysa.zaremba@intel.com> <20240228084745.2c0fef0e@kernel.org> <20240229072813.5d7614c3@kernel.org> <20240301090836.185e3b79@kernel.org> <20240305115450.577c161e@kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240305115450.577c161e@kernel.org> X-ClientProxiedBy: FR0P281CA0248.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:af::7) To SN7PR11MB7540.namprd11.prod.outlook.com (2603:10b6:806:340::7) 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: SN7PR11MB7540:EE_|CY8PR11MB7729:EE_ X-MS-Office365-Filtering-Correlation-Id: 755efec7-ec12-4bdd-17e4-08dc3de98bd6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GOnG29F3W12w6rzNo6Y9B4ApSWDaqSXebJdRycxZHV78O580q9wUSKfJX65fg/nPtOHpm4O4qDa795TBQtnZPC3UmBWph6M0g8eY79GPBe6kZHEnFNfRPTY1vZocXjDvqrIvdaE4SP+zHozTw8d0u+7Z4m4Vo0CAA8IBNtwRqs5wHlSiDGsD9xXwN0A46BnhDALHv3zCDauS/mZMFROjaj6NUVxtytBif1sFRGZkL3WqnEd6Slwn/vzRFyFtgEipMFufDJCq2vAJy0DuFSMlGQMrqRPe889x2CBubIZPzfVRUYVOoFKzdKi7cYYHEp4k+nd7PvYSfYs0Vrg18t2ZFO25fKFg6oGg4OXdz0ZexetfGO0mKd283HxeyVisc+MvcsvmHREQ/A+45WOEnjtLmB87HaRlXnDieunx78LJkTN0GYPJGskTkiQke63b7wSG+TpS50WXluAZYz3Bg+TUHH/9gPOFVKg2Y50TSqjuGybFrUp0ufPR08MkVWM03gWYdEMQSCePs3ssPwmkOocedjf2R7cUadMiSxdI/+ZUOrw2dalE5TscCxc2IVsqZ6IXtFP8Pa7U3/uB8dgNP3CV8xDBwm0gADAwyGdV5a0AH8nYTeOiGD/TC4Q98DIe9qcNxrOjJY56fOAFYKRyuq9ItIhBCUryEykYwjMYmo9RCmY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN7PR11MB7540.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bzZZE3xBO/AUFQnA2gJovqAbFrEVIQaKzLq7QkAkMoiu/BhlOFfmMinjW4Jv?= =?us-ascii?Q?Uj9kehwHyALDfqQ5UUqn0RrRFi0k9J/nJ4+cZeEEEOAVCmxVKM9cMjZyYKsm?= =?us-ascii?Q?q0UzweM7hqVlHY0WomvQx+yLQbVF8+MNE3p+FCiDHi4G//KhIob+Kj8AYbFm?= =?us-ascii?Q?0yqX8wzieJnJTvLeX+KYmxrDn1kbaRd8iPOZEjnT07BOVJ61YsIXXNU6FNu+?= =?us-ascii?Q?3Y0hWH8eVQ2EW2ktxTTpwTurtYi534ke+kW9jjXCC2pGgYdvXTsSe2rRA1/u?= =?us-ascii?Q?zf+aT/SOeMKL22mm2Hp53C8B0wibD6kCfXYwcxC+R+w507auYVQxQlparCOL?= =?us-ascii?Q?5TD0H5X985a7xPhLvXVR3uuLRmO2xCzkBH2SsURo1jotiK/Q+lpwJTm+RARE?= =?us-ascii?Q?/457pAoiSkHlRxpXiyQqae6fcPS5vByNCNTAEcWW0V8MoALCcyTKcHF2syB5?= =?us-ascii?Q?tkeF+g9mihaRn9VTGnE4I6PPwaIqkjqQkoKfGwiVvavaXRUGXUXjqX6EjNo8?= =?us-ascii?Q?mA7ivqvaW/emLO52Nl/VUE/6lbXlzB9zgBGCKoW7flKYJN03qCCLfRTDFofd?= =?us-ascii?Q?SHCuOXHFUscu5fy7jUC3kr3PH7BSrB/nlm7z+FwmWoQXuzGx69IeAxSUrv2j?= =?us-ascii?Q?3I0isH9Up1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=?us-ascii?Q?eq3Xbh/nVHep2TjsOv5cZ7lPW07SNqLr2hDf/c1HDf9UYBAXHe2fnBQpz0oh?= =?us-ascii?Q?lQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 755efec7-ec12-4bdd-17e4-08dc3de98bd6 X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7540.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2024 14:27:26.4115 (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: qS69jjsq4UaQwz0I9ITepqiz+fsDnvlC/YW6kITgdI1yShF5TH0tIHqL7Jx9pHezXqpnVSEJSAnsTB48VitqIf0gSLN4lR17bIAvpH7E2J4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7729 X-OriginatorOrg: intel.com On Tue, Mar 05, 2024 at 11:54:50AM -0800, Jakub Kicinski wrote: > On Sat, 2 Mar 2024 01:50:03 +0100 Larysa Zaremba wrote: > > For RX: match on Ethertype and mirror, every trusted VF should be able to scan > > neighbors. > > > > For TX this is more complicated and is done not through eswitch, but through > > modifying security options, so do not think this would work with tc. So private > > flags are the best option? Our requirements say only a single VSI can transmit > > LLDP. > > It is doable theoretically, tho, right? Driver can detect that all > eswitch VF/PF ports but one have a "drop LLDP" rule and update the > security option correctly? I can envision that. I'll report in this thread, if I encounter roadblocks, when doing v2. Thanks!