Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1148422rdg; Wed, 11 Oct 2023 16:31:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRlwP06eh8Vc4Ia/GIdcMJkDAM6/Ci06yoTR1MygiWbM9gcvjZH6InhjGBX9R3D6bzEnzG X-Received: by 2002:a05:6a20:72a2:b0:11f:4707:7365 with SMTP id o34-20020a056a2072a200b0011f47077365mr25364035pzk.38.1697067069854; Wed, 11 Oct 2023 16:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697067069; cv=none; d=google.com; s=arc-20160816; b=W5n0pxX4H/DNeGxHOn4BSMaNWhn4LU/ful/kW+7LUZGrm0XNecW/CYfWk33I8kw47c X0h/5fTC3pWUDYdD7o9VreUBmQN3mUnfiC98n0D/ndlvQ1WqCEknyBj+YNa2qOAx3bOP sS1bxzSNrHCWBu2VB+nqOFJlQOgMIOG2/XEChWu9xgynCAGToQ6ydardxs/nReVk6cn0 F5sZqzs4AcmmAAKaBw9ClgmrZ8jsSOzAL/SEGmlOq9mR0+j3LI/47UmheBotpqU8wbQG stBqyeWDMrRsBiGAvubpc5HmrXWnO6FhTDOYIDGZPBjGQjVeGuquATSt09beXAbvw74r EGpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1JtGjh26Eni4OZxnKSlnsIiPe2l0EQ4vE2Am58DZ21c=; fh=eRmsiqxHdUm7YbSrDzbVesEW6BnnGQ7b7DEiYIcb5jA=; b=kcAUpletmPfOkG12cEdxQBY8wjN+LfgQbxf619kkLxGgy12EcODjv+UUPt7IMD7O3D XFJ80195YK7FDrxX0T1wYaWJTRJ8JmHU7s2IM4ddiaRvK3gYHxS2ODKLWMWGhh5QzG0C lp4ier7Hve0fvZoVFWKBESyqUEhkZqv9pkWXg/74ILuXcXo3bRcoclMp/dycTdATccNR 06o7htF7kl3yjt/iVkcL3qV0/KM5j7OrJk1DKCObyYd6JsQ1fauFwlXQUKZZdICV78Ak l4s44a++7kWaCJ19N65EYS4sT5Mg/KSwXiYhHwZ9CK+H1JdHftByNgYQlRW0+gOsETGo ZqGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20230601.gappssmtp.com header.s=20230601 header.b="CauAA/ej"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=networkplumber.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id w64-20020a638243000000b00563f627f2easi873372pgd.122.2023.10.11.16.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 16:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20230601.gappssmtp.com header.s=20230601 header.b="CauAA/ej"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=networkplumber.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 91D66807DEE2; Wed, 11 Oct 2023 16:30:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233835AbjJKXaI (ORCPT + 99 others); Wed, 11 Oct 2023 19:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233568AbjJKXaH (ORCPT ); Wed, 11 Oct 2023 19:30:07 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 671DBA4 for ; Wed, 11 Oct 2023 16:30:06 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1c735473d1aso3150355ad.1 for ; Wed, 11 Oct 2023 16:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697067006; x=1697671806; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=1JtGjh26Eni4OZxnKSlnsIiPe2l0EQ4vE2Am58DZ21c=; b=CauAA/ejXBWZG2MIAjZtObMjsRoq+C7c849zbwIGEbbH0eFA/4/8TmRmkG8K6dqH94 ZZlsqHFxXaCmKihb2vtlgWN5wAAJICwazDHJItEhPitV1o6KAsKx/ZPSY1KI6YYxMCJz XFP7iUKFnPUp3ZSSUDtN5lIfRKy+O/kLrLYJVPS7ZhNgl7qSoo/c/lFw1Ia4YHSeeVbx bUcTpO2XDyA4fou3HYLrYL0zG1oKMAWyNYgbG82AAQ2uWcKpbm+Ypw10DycQug9872cj fSYn3dX+SqD//Ta0vXezeiPZkmowhTb+7DuPlE+zIkdjUr7CLNxjUsPmy5Z8GRvztakH tU5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697067006; x=1697671806; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1JtGjh26Eni4OZxnKSlnsIiPe2l0EQ4vE2Am58DZ21c=; b=C/3BGQkgd/KxzgAD7ayp9qH+JbxZLUVZk/zZnz9StzETvNuFE0+NeHV2PnPuQe4Wck 5T2zizzvFDRKf6lWO+7MdoVxX5PoksaKgE8CUaluC8viJ2ppTs+GaGPFQb3svgHQ9atu dr7NPWDm7laPJ6QCLep2njr6xK3uTCQPGtzmMqAnDwizdMGSY7Lqt7wGcO2OBI8/qSGX lFtkJm45QbCIrj7LDt0uCkGn5F9Cnorry0pPe6cl54aoA3/8eXFcGkPKFmXPmnexZ6rk bv4bL3o7D4q8M6b2kkGZWJHdvwmoZapUkOW7jQg0IRiDnQn8neaukXWlhdN0FCF7lqjJ L0fw== X-Gm-Message-State: AOJu0Yw5Ozy9x6vhg+5GD/Q4YliZj7a47YIvZnb0xdW+wkV6Pkfv3da2 NaAe6GXrSKw2WxTOS/9aXX8x+Q== X-Received: by 2002:a17:902:c1c4:b0:1c9:c3a7:f96d with SMTP id c4-20020a170902c1c400b001c9c3a7f96dmr5257434plc.62.1697067005872; Wed, 11 Oct 2023 16:30:05 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id jg5-20020a17090326c500b001c9cb2fb8d8sm427832plb.49.2023.10.11.16.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 16:30:05 -0700 (PDT) Date: Wed, 11 Oct 2023 16:30:03 -0700 From: Stephen Hemminger To: Florian Fainelli Cc: netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Broadcom internal kernel review list , linux-kernel@vger.kernel.org (open list:ARM/Mediatek SoC support), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: Re: [PATCH net-next v2 2/2] net: dsa: Rename IFLA_DSA_MASTER to IFLA_DSA_CONDUIT Message-ID: <20231011163003.32036b28@hermes.local> In-Reply-To: <20231011222026.4181654-3-florian.fainelli@broadcom.com> References: <20231011222026.4181654-1-florian.fainelli@broadcom.com> <20231011222026.4181654-3-florian.fainelli@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 11 Oct 2023 16:30:20 -0700 (PDT) X-Spam-Level: ** On Wed, 11 Oct 2023 15:20:26 -0700 Florian Fainelli wrote: > enum { > IFLA_DSA_UNSPEC, > - IFLA_DSA_MASTER, > + IFLA_DSA_CONDUIT, > + /* Deprecated, use IFLA_DSA_CONDUIT insted */ > + IFLA_DSA_MASTER = IFLA_DSA_CONDUIT, > __IFLA_DSA_MAX, > }; minor nit s/insted/instead/ I don't know if it would be acceptable in the kernel UAPI but what we did in DPDK for similar situation to cause warning on use of deprecated value. /** * Macro to mark macros and defines scheduled for removal */ #if defined(RTE_CC_GCC) || defined(RTE_CC_CLANG) #define RTE_PRAGMA(x) _Pragma(#x) #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) #else #define RTE_DEPRECATED(x) #endif ... #define RTE_DEV_WHITELISTED \ RTE_DEPRECATED(RTE_DEV_WHITELISTED) RTE_DEV_ALLOWED #define RTE_DEV_BLACKLISTED \ RTE_DEPRECATED(RTE_DEV_BLACKLISTED) RTE_DEV_BLOCKED