Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp938028lqj; Mon, 3 Jun 2024 05:47:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdSTjEsFP7lW9zg4G1U54jKckp6TQnRKyzgp+1oHsN9be4hV+SqxJRdt3b5xDVWTk0fhl6Xu8c0Zyo6X2GNSHIWH4hkoz1nUsODB98CQ== X-Google-Smtp-Source: AGHT+IFAfFl5SzzZJ5D0XXCWc7l6Qv+XPGrgI1tZaJ8TVAwsF7XmdJgEwC98OUTwpIZWpbcNXea9 X-Received: by 2002:a50:a6dd:0:b0:57a:30fb:57e with SMTP id 4fb4d7f45d1cf-57a3649201amr6142733a12.36.1717418842034; Mon, 03 Jun 2024 05:47:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717418842; cv=pass; d=google.com; s=arc-20160816; b=gPb8NAod828UsoRiLT9zPSZL76EQnXSKQ9B2rtwC+2XfVyGUPQNQznxaDsWhQzfHpJ /1q0nvaZyS5+g2OOC+R84zsjqMGvhlZQ0+BPrz4HYT5W5rPFa6ONl3h+cZQpK3ex0NTk gcqjmzm8adPNeaJfvJN6fP4LHYxsmUB2xXVOzj4TJI4upABs0WYJEm6eD7iiLeJfS3SH RkLK8RgqHkObiWcsr7RZXU4d9zLt1Q8cZ9hStVlpY7FOJsBjme+mY4VmXs9MAHm6MFQy K0pzw5OOKUGWPT2Viti/jpyuARMV5WKcT4u0KK74txjVR1uDVQRHIXeOiNQwh6Rg9T3W aTxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jNpD+hHTMFWI7U+mq2gErMhYo7h8tLmeifk0ewKOvm0=; fh=aw7/LfbjelR2vLvBpMuq7LtiJvdkLWiiLQ2vykhZreY=; b=dkpjPXeNh2cmKmocdPgX8exwWgUzqJ13oLAdo/eQhkri6XL2INzRrg0qFET0FQVLXk MUIgNzUDeuw2eJ+1+pFo1xCncOLlkxSyJUISoQkZecLzvZ3h5mcDRP025wmQHv80ZqOV XpaJ1oMJJRn5SegHak3kBVvekfannppsjLo7J0R4gB00wkgwQXf7mb/l+cYsI0N+VFPC pmDc1EDHzM2HJzoryU4puHuomlGXXsZtgpxaby3EYFhT57xN/idWxStSwrSXCNil0358 hjIyacu8sKBa/QSkc1CDOQqEy/Wb2v8tMbaN2sY3xTdnSiqL1/zpEfx2G/++lmG3b+oD BkVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=g3+XNBuz; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-199128-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199128-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a6fcbdb0bsi142132a12.35.2024.06.03.05.47.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 05:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199128-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=g3+XNBuz; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-199128-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199128-linux.lists.archive=gmail.com@vger.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 B61851F26316 for ; Mon, 3 Jun 2024 12:47:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8FB412C552; Mon, 3 Jun 2024 12:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="g3+XNBuz" Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21E0A128369 for ; Mon, 3 Jun 2024 12:47:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717418827; cv=none; b=s3AFfk7Kl+1auRdVzYizF1KUXkt/UunoiBoXowc1xSMPAskKkBmDMkqabds7+MidJxxyVOJ9AP26X2UKLcptLLCOLw9u04b+O7X21twwbcanas5knbJFPdjpb4IHAUTDhZI3eCBzJETugMlm50j1OHRRGoUcqKCCSdpCNKP9ryo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717418827; c=relaxed/simple; bh=8rzxrBuaT9uCUeYvlL1cIBanvAVdK8Uy8/hC8Fi/esE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f/OsbBqbOOPSXFrqWsOKlyFfIj8hh0BXYF4H8Odfrtd2yAIe1q/hdqrwaIdKDpqnfOpNtL6/nPmR4qUQ4C75YeprD6KilfiItKRcjORi8GUHowd2romfeicAq6/dsxeu1+Etl7P0XJ+WT8hGQUrqRLiZv3BDnBUJjAwRct0p+9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=g3+XNBuz; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4212f0444efso22821205e9.1 for ; Mon, 03 Jun 2024 05:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1717418824; x=1718023624; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jNpD+hHTMFWI7U+mq2gErMhYo7h8tLmeifk0ewKOvm0=; b=g3+XNBuzCbSp7nnAdIFzYbqRyhzTej1jxz6VTYhbKK+2ohVWIsgs0Z6Gi7qfSa2Oh3 5GLJ76ktOm6FFTN2qqaGx2nUno8FGFqzqJKKsDymmVlo/sotGjR2INl4WRuaWd5/rutZ BJuhB4f3eHCoCjARXqzuMF5HAuqR8Ua9sby1namVC1M7xqoFtbA+2ICRna8dC6+KGA+e HPfJIvlulvbWdBclqgv4emMGnyQJnul1MEE55q2dLWh+ljwl5mVP2uzNqIsXuXa2UMTs YqNGA2xp6zkj+5UTUCxf6ASkPXCpUPqJDH2zLK0XpPn6G3VBJX//DXZ2vzDSYIEtfEUB At8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717418824; x=1718023624; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jNpD+hHTMFWI7U+mq2gErMhYo7h8tLmeifk0ewKOvm0=; b=Mhwx6fRgn4vjwyNfl6lugoAayuvGCOnNBSRD3MlcTs6hJ0qPZq6nMgH8wDVIvFRHcO etvKLP/TtkU/OmbfR+2AlWnjogP8kyyjstV+73OQgxB7kiEIkK/ndrEP1klD5NbAXQaf ZVsRiuw/tH1qOXFmh3D0jla9sA8X2ICJkxiiWwujNXZKRq6Kb+fx22KYuqRPQaxuXT33 vLuW3pf0wY486pIt28zch4pTbi+4sWD31wOWZSXTUiAKhX6V1rQpNxa3gGzPimUKljV5 IQ1W4hsdNJm4Nm7RB7CEdseCYm9WDxsMlRq30GSHnjW+YuvXwAleZGJLb1n/2mgVT5YK 74Bg== X-Forwarded-Encrypted: i=1; AJvYcCU5YDoj+ttbUX9lhDCtA5DfNjdw9T762Ue/basdzVsopYCEBAjaGWsQkNfcMFobjG5LheB+jX+J4tlQP0fCmaQo80GwO6NGb2kb6z+d X-Gm-Message-State: AOJu0YzMESubRIXw8zlLwlvkXjusLYDLn3KOPHzhqfOYbhHncGfvposO kTf831gjsZ2kGChF0JmJr0Z4I/5O6rU6IRUD8mw8ydHH2IAb8PdFiCck3hnzIb5lUaG1hKNVVVQ RRAEweA== X-Received: by 2002:a05:600c:4314:b0:421:2ddf:aec4 with SMTP id 5b1f17b1804b1-4212e09b9b9mr70764925e9.30.1717418824534; Mon, 03 Jun 2024 05:47:04 -0700 (PDT) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b8b8c79sm114367645e9.48.2024.06.03.05.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 05:47:04 -0700 (PDT) Date: Mon, 3 Jun 2024 14:47:01 +0200 From: Jiri Pirko To: Christophe JAILLET Cc: idosch@nvidia.com, petrm@nvidia.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 0/2 net-next] devlink: Constify struct devlink_dpipe_table_ops Message-ID: References: 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-Disposition: inline In-Reply-To: Sun, Jun 02, 2024 at 04:18:51PM CEST, christophe.jaillet@wanadoo.fr wrote: >Patch 1 updates devl_dpipe_table_register() and struct >devlink_dpipe_table to accept "const struct devlink_dpipe_table_ops". > >Then patch 2 updates the only user of this function. > >This is compile tested only. > >Christophe JAILLET (2): > devlink: Constify the 'table_ops' parameter of > devl_dpipe_table_register() > mlxsw: spectrum_router: Constify struct devlink_dpipe_table_ops set- Reviewed-by: Jiri Pirko