From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 33ED61EE026; Tue, 17 Dec 2024 13:06:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734440785; cv=none; b=WssN2KD9H5+Ud/CkMo7k2lU+Wyo4XAyGJTgU0nF0URbrPmJcS+ZfQyt0a603vESsHau141RTD6HaQWkE+uO9wfoNNj5rfT6vbDIBfaurQuvDYA4YkF4ZxMAQtOvLQ7iR8UbiXPBR7dbwCbGlnVrzXkVDROjjtPAfj9auzyp4Fbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734440785; c=relaxed/simple; bh=6gDqkQAnY5OleHKMrbVdVfxJEa6EvvJlrlGNMq8lgZ0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gukN16Zs+3kgR7NcvNAVJXLA0jiVnPLLRDSXw2A6Wb1dXNQz5W2n2kGkkXE8s7q68OIQWuNQxNTHCEjOzieTqF1U1rooxVsOdI3Uf4JDLS6/JGOD/j0r5Rs9h2Ms2wxshMaR0Xp88SjNf0MyXm8dHrWNUqoXF37afPgbEiXu3h8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=oRbaBnyX; arc=none smtp.client-ip=217.70.183.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="oRbaBnyX" Received: by mail.gandi.net (Postfix) with ESMTPSA id 6FC6C40009; Tue, 17 Dec 2024 13:06:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734440781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0HD5+UGwPhPjBTRomgMW1WMHP3Ot9+Wi9ed4vzq6Oo4=; b=oRbaBnyXDJFZn1UBMCOUL8udFQoFdfQ/7OLxQ6Av1DNPffbCo2AS9KhCVm6RuJK2VKy57R pqSivEIciVVKEoGDz+rJaFC1c/DgDUqoPkhccB75V2bHN+Cz6ZNCGJgYrEH5MqdEQQMNGq bOUb1h/rlXCZF6q6JGvMm8Q6gbCP5IN3aIKU7I2XqNDBC2ixLOpR3bJRlnB8GCdAPNs5Eo cchPboxxjf9s5kcAk8gziPNqTJMltTjYcM46078lyB5ZfMVeR8vpodyQ5KoPMhIc2TJc9g lzulpSxwHX4RS/4eMQUXRL3p0OwvGXsmv+xCMy5+ir1PVHcIYzsKazRIQG4fMQ== Date: Tue, 17 Dec 2024 14:06:18 +0100 From: Maxime Chevallier To: "Russell King (Oracle)" Cc: Alexandre Torgue , Jose Abreu , Andrew Lunn , davem@davemloft.net, Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexis =?UTF-8?B?TG90aG9yw6k=?= , Thomas Petazzoni , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/5] net: phylink: add support for PCS supported_interfaces bitmap Message-ID: <20241217140618.0debd644@fedora.home> In-Reply-To: References: Organization: Bootlin X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: maxime.chevallier@bootlin.com Hi Russell, On Fri, 13 Dec 2024 19:34:51 +0000 "Russell King (Oracle)" wrote: > Add support for the PCS to specify which interfaces it supports, which > can be used by MAC drivers to build the main supported_interfaces > bitmap. Phylink also validates that the PCS returned by the MAC driver > supports the interface that the MAC was asked for. > > An empty supported_interfaces bitmap from the PCS indicates that it > does not provide this information, and we handle that appropriately. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Maxime Chevallier Thanks, Maxime