Received: by 2002:a05:7208:13ca:b0:7f:395a:35b6 with SMTP id r10csp1174rbe; Wed, 28 Feb 2024 08:47:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVRVXZXptascyZhb6swLw55QAt3Ob0cfbO8RMquIzkl6xDuytgNeAgFTyKMwoxHmzXmq4MLrgUYSPUXe2DiNffScW3ZLdXnqyHL3ASZZA== X-Google-Smtp-Source: AGHT+IEPUMx3vUsP+2Jm/55t7Mnxjg7cLZleuVOCWUaPyk5efvOyidxlEnZnmfHCJ3LvoWHyAjJJ X-Received: by 2002:a17:906:a414:b0:a40:189d:c5b5 with SMTP id l20-20020a170906a41400b00a40189dc5b5mr151776ejz.38.1709138878164; Wed, 28 Feb 2024 08:47:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709138878; cv=pass; d=google.com; s=arc-20160816; b=GmBbcksqTXq7eWLfJ0W7kN/nVOIxa6LiGVlShq6iK4aMM8v8KT6ZjUncAlibeEKkZ4 JXIOQNIHVzxIU8FqFPQhuJjOr74rnABhOT1uZjUsc20b8o/gaURIuYCpniFdVA3PsMt3 OcJDyGjTyf/Hr+/XFQgw2PCccIOEUcAdC72Hy1yyRp/taXX90JNcdu/BTcT52l3nE+dj 7/fkpwabOtIetukoqMz9K+QDmjuPB8Dnu6T2JfbGLFaoXAo3ll9Vj7Hb30KPkAFG46Cl kdw0Udfj2VDlTHuQT12X3A4UOv41DILExakYCf+MAImx29O00vxrWragQaGG/ZCPLegy dPKA== 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=Kca/EspHVPgsescSj0Lwl6O+eVeerQfdjASheP4YJbc=; fh=f+BJe42BdXB0UCJpL7ClHMrWW6fbJzMcZjS/SehOD6Y=; b=VjPZpwhwyevqHwrsuyJ9icpKoYAeDHK83SWtZFY98lCC5WezsBBdODHFyhb0MQ4emF rXjInF7wRcW3G1ZAhhF8SPXp2F7mZqEoK7n23743kWrM+loQY7CO9gY7DtQJruYVzyAC QlHbKLYgHofDcPS9kHcB9BSBmS7CllmQJo1mIgHx0UE7YUU24hesSNHnIYVnei+xUudM HWnjQhgJhe8zD4TkJI7P7GrwXELxdVEb+ACuzddfbcTz0LxpdzrsCGQj7Q5l4bAK0zJF J44l5WODBkU2ZV15Q0zC8Jw1VRGiBN7roG30DO3919hKU1tjUT8a3d1DF0W7EifvS455 LZKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SlOPyPJH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-85387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h23-20020a170906591700b00a4427d8ef7dsi82041ejq.225.2024.02.28.08.47.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 08:47:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85387-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=@kernel.org header.s=k20201202 header.b=SlOPyPJH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-85387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85387-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E53DD1F21C2C for ; Wed, 28 Feb 2024 16:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1060F20312; Wed, 28 Feb 2024 16:47:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SlOPyPJH" 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 323FD1CAAB; Wed, 28 Feb 2024 16:47:46 +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=1709138867; cv=none; b=D3+FEFbc6V4DqSwz5u+SdW9qr83w18OrJSZn8M776O00tpBFzwllAj5ffLhNKh/QR9LbXFTHREbjMQPHOiYEic4qAAoSWGYrws7KzYnszfatanJhGk/MAKmVuKwTuQ4pprGpctAeCDHyQH4o7puwRRawKZRxjm+Idq8Tw46dXaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709138867; c=relaxed/simple; bh=b2TpBXK1sp4wEplxo/EQpyW1+4g2o5H3qAMXu1AYNxo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MEq/WMVdCXycEG8GDq3P+mZNuLlp3uRcl3uFdEPNMwK0uL5uT25cZL+/MQWhM7sVZ6qKC1JXUgZc0/10QrI9L3B1oqHptpp9UJCqW2dBqNbZpFCDpi6t4OqE3xk+aa9i8rZWRTGHqNvPZAw8Ogrdgtvu8Egj5O6L1x+kXWewA/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SlOPyPJH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AECBC433F1; Wed, 28 Feb 2024 16:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709138866; bh=b2TpBXK1sp4wEplxo/EQpyW1+4g2o5H3qAMXu1AYNxo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SlOPyPJH0Q3n61zNPv2CtaRLZsu835s9RCoOxB9tccvh+YmK0bCXszPguvmSj3UQ+ 7j9ciw0uyFiQBW2mvwgha4eVr8icKqtkhD6hY8LTc6nXsw07bfIWOmrDH8ETs5Ism7 IMuNBMeg8Wr4l6eQyvlp8bDAho2r3MNzRiXAK4CPNsu/hAN1aZil9mNvazQznu1Hqq PI8KJ7AmfmfEbB/9jw/l7j4Vmy9h4nLKCO8P1rcK5GoL7WDAV8zS0DNHS171jsy0C6 NEqVkAMkmjq8MCinLk9RkD0cJLjrrbZyi6nh6+dGNr8ueLGIWwnzbHMjrY3hH30qXt EraAI9g4b+0pw== Date: Wed, 28 Feb 2024 08:47:45 -0800 From: Jakub Kicinski To: Larysa Zaremba Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 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: <20240228084745.2c0fef0e@kernel.org> In-Reply-To: <20240228155957.408036-1-larysa.zaremba@intel.com> References: <20240228155957.408036-1-larysa.zaremba@intel.com> 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 Wed, 28 Feb 2024 16:59:44 +0100 Larysa Zaremba wrote: > Allow to: > * receive LLDP packets on a VF > * transmit LLDP from a VF > > Only a single VF per port can transmit LLDP packets, > all trusted VFs can transmit LLDP packets. > > For both functionalities to work, private flag > fw-lldp-agent must be off. > > I am aware that implemented way of configuration (through sysfs) can be > potentially controversial and would like some feedback from outside. Why is the device not in switchdev mode? You can put your lldp-agent priv flag on repr netdevs.