Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp660605lqs; Tue, 5 Mar 2024 12:26:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUjxxe/CDb4fPNqOvSCZlQPrRhhYQ/xrE8wqqQwsPgZUGV7b12uThz4jeUN9Iuw1kbKkhiZexzrt9cXRhKr7c/sUKnIadnIqwHAMh1lcg== X-Google-Smtp-Source: AGHT+IFuiQEUosDCDTdmTo3RLzG49z+NfexSeuLExWC8RA3fPles7JjmiexseEFGhvDB8l9rO9ew X-Received: by 2002:a9d:3e4c:0:b0:6e4:7f14:c01b with SMTP id h12-20020a9d3e4c000000b006e47f14c01bmr3517812otg.29.1709670385309; Tue, 05 Mar 2024 12:26:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709670385; cv=pass; d=google.com; s=arc-20160816; b=FYy2DgfRxPidFV1Agi2ZvWfw150YVaoZ04kmVQNcpahLrjxZK7LNXALhQ8fs/eEnQF J17nq8KcT09SktRIoOME1NiDORCiZk9urliz0bVD4ZuF19yX3lSaL2NQn2YbxXgsw/L9 TdfIyWl7jHjpH/e3Rt03YNCjUaS3QAVqHaV+5R1baAgxvtPfxNXnaoDl4QamXh7+P9ID ZIWx9c9ToDenLTyNYCgHlwiVji8hUhKsc1bF33T7mEY2YNivGcUSdfD6PFHk/iO06o3s GrCUkcOmFgi133iQqVkKDzcJNom556QwUATzmtwHbuLiwJDmFJYllz9Y/yEzXkj56kS7 VF2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=QE1tVUAsy/hkSSeuCWKZiVp2eupHugxc005RYWzTphk=; fh=GANP+egpAPnmzzLAXfB/SVXoPtSu7JmqobCxAI8R7qY=; b=uugwtJ9XyPxWxxskYoPIHssKxpkyhA6Dms4cxnT3eLui4ixm0aPlFoSAR0DCOOG9qh PpfysAadVo33B1yVlCeZsRyHqsPlSNmtnvn/JVcAWwTP6qOCMl+cNQ24iC6WM8qw4JTA mX5PD4/tlHSo3Tzim0Vv7OcK3VR5/9CViQs8q5WcwNtZITMDvMJinxp9a2ca3vzyG/1k nf51yP90j9HCZuVwBInUIKpD1eJyugj+ARnQIBKf8P9DkfS2FNc4Rwwb0K7+W9uY/3QI OI2ZdW7dAVhO5LJ2GlFXGZ+bipyFQ08DixMAop3g6OUDwVf+uzuVAHZkZaWWt9EQtudS /8Dg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lxte8lc0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92912-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q11-20020a63504b000000b005e44ef60e43si10610503pgl.165.2024.03.05.12.26.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 12:26:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lxte8lc0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92912-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E85CCB25E23 for ; Tue, 5 Mar 2024 19:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBE1986655; Tue, 5 Mar 2024 19:54:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lxte8lc0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E28BA5C601; Tue, 5 Mar 2024 19:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709668493; cv=none; b=hHtEWrX+KwtMI1ZKeWdFrQdY10nllAoe/LkQQooNyHiw4jXn6/J30/Prb6EnlC/ZPjbqQipXBFNiuAHe59BkbMKvoYtEMGGBXYN0wIpWMSj7SXe1t2nGUomyv9zkxC6CZ2Kfp8fav/mL1vslYLiI3ILY6JheeHAX6unT+Clz1hI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709668493; c=relaxed/simple; bh=gntd/YhRPEAN2+Z16W3V+ZZ+Frwia39/RWn+d6a3EcQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oLrl8kpG0jsprV1gTz3dmPoIIySKSXMRXvQXiVmKEzRyf2i/XjZs/2F/III+O03kX7S2Es6vq+z/pirBl5h0mJKTOhtMSo8WUerbQdwoZzlKCRc2Nd2BkbAT47UhA6NRJEkX5uquVlp3D0p8B+9thT2cszu9GIJK4NI6ccypTjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lxte8lc0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A71B3C433F1; Tue, 5 Mar 2024 19:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709668492; bh=gntd/YhRPEAN2+Z16W3V+ZZ+Frwia39/RWn+d6a3EcQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lxte8lc0Jppw6kKqg7dMmphrkb66r7fSWpzIBGQScH3qVouaLwS9X4lbSspmbLj7X FYpmoJT1SaeEwQCxuNe9cEtjaXBc3KJ12P+rNHpsoDWNOHfypEvo5zJZCY5DhZty+H /6BbaHVMHH3mYQWxEwwQuWGX8Ek+ePmHxIi5LXldaVKLpeLR5AHYtH/j6YnkYBuB/V lySQnFe27R/KHt23pqZGICCc+/5U0VAR+OyZ2A6/GQ2uPbaQL22Wficrc1Bkf7YvUt URX19gVDZ8l8b2a079SeXZwNaXzRPBe/8IUY2BaJl777Rei3mgUexeIEzzHfw0Wm/C Gqez787JWGetw== Date: Tue, 5 Mar 2024 11:54:50 -0800 From: Jakub Kicinski To: Larysa Zaremba 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: <20240305115450.577c161e@kernel.org> In-Reply-To: References: <20240228155957.408036-1-larysa.zaremba@intel.com> <20240228084745.2c0fef0e@kernel.org> <20240229072813.5d7614c3@kernel.org> <20240301090836.185e3b79@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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?