From mboxrd@z Thu Jan 1 00:00:00 1970 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 B2F207604A for ; Mon, 29 Jan 2024 19:52:48 +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=1706557968; cv=none; b=WiwSkIcbWfV4pnfx2dzPQGxJBqD2OKkexYzXxSlMre2fyKIXjBQI7bb3p2xOItoNd6tiUxZM86XFlxmHbciSvMn5LQ6c1vPyreWATyC+xPRjm2oyp1ZeagqRdUqYd5Hbs0aphTO3AlPwPV6pdgZrutN/JDH/U0pCp5+NgqynJs0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706557968; c=relaxed/simple; bh=qmmiUKe+Djyudq4uR00EdYD9I6f3810/urXknVkPW5M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pZTp53hA49T2bEp3ONTIhKfXntc5XI2/7w1Cr/AKMhZEUa2KpdHnPpBQmdUUP5ldsYWptAVm9PwB0mFCRGLnuh7YB0/HJ+GwufG+lONEHmhb+OYob6KfCMkBaOyRrKcF6TU3m/4JA5x2N2zjm1vyrdM6K7O0yvoL6tBGEOI4frM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tcNRY/h3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tcNRY/h3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 573DCC43394; Mon, 29 Jan 2024 19:52:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706557968; bh=qmmiUKe+Djyudq4uR00EdYD9I6f3810/urXknVkPW5M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tcNRY/h39PT9sgqYc6lljPCvyX2k+/6NNUey78MSCfOBpew0LJn2SICU/uizzp21i n9pxbFABu/VlBQsIeIu9pN2Kq4zTFAhl8NeILN3l2rrY+tr7D75tDVZwIR7tkPKFJf Zj6LNMhQY0x8ZQW6QWJYjFSjzeA8gcNUf2gznL5e7Hg8pB2kRIawNue25XS5st1526 i0BE/MR1Lzl497prppPpuAhQ43zS/Uq/aKswvGeI1KVlkgJWdKlC5GebLN/MmDJjUQ 6j3fQDhpoZJ3TvLhHIR0roMSBJPZNgmLvvVxfCYOugfpxwqL/13GGuDH/w9FVxbGeA fPWsjPJCSi3+g== Date: Mon, 29 Jan 2024 19:52:43 +0000 From: Simon Horman To: Petr Machata Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, Ido Schimmel , Amit Cohen , mlxsw@nvidia.com Subject: Re: [PATCH net-next 1/6] mlxsw: spectrum: Change mlxsw_sp_upper to LAG structure Message-ID: <20240129195243.GL401354@kernel.org> References: 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-Disposition: inline In-Reply-To: On Fri, Jan 26, 2024 at 07:58:26PM +0100, Petr Machata wrote: > From: Amit Cohen > > The structure mlxsw_sp_upper is used only as LAG. Rename it to > mlxsw_sp_lag and move it to spectrum.c file, as it is used only there. > Move the function mlxsw_sp_lag_get() with the structure. > > Signed-off-by: Amit Cohen > Reviewed-by: Ido Schimmel > Signed-off-by: Ido Schimmel > Signed-off-by: Petr Machata Reviewed-by: Simon Horman