From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CDCDC43334 for ; Thu, 21 Jul 2022 21:15:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DF62541794; Thu, 21 Jul 2022 21:15:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DF62541794 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1658438143; bh=Q1b/blFROVptuCkUR5JSYy2HlyAmAzG+ihY5FbdFN5o=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=h4GbdxwyVi6wB8RyvAuSVWytXRW30qk8TEi3EBi9a7K/Yex+QqInfjuWbkz15tUBz xegzTVXa9jKbAZjvXnTTGUgabaCfKcP35nMH2l7ZGEiJf8tPuuj3bwHgFaJUpRfvGw EwL650pLgtGGUaWsmLtqg1CD/HyaumRTR7l2seH20PH+ErHCdyZe6VxW+o9DVdgQi+ 6XDWeN8qCLFQMSLNpqDaiydKT5zknasMnRtSVcJ2k8h0PXFZO+fggrHhD5K0lZe5Jc +NljnCo55NjjvwIRRFjfeiXaL536grLbl4dP+5Two8scx9vWOMR+9cqj/EqnEkm+Fo cW42o70kDH63w== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jDcZuWLU5Epk; Thu, 21 Jul 2022 21:15:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 4363E417C6; Thu, 21 Jul 2022 21:15:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4363E417C6 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B15F81BF375 for ; Thu, 21 Jul 2022 21:15:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 8974760B8C for ; Thu, 21 Jul 2022 21:15:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 8974760B8C X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2DcHItoAL-96 for ; Thu, 21 Jul 2022 21:15:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org DA9A660AD2 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by smtp3.osuosl.org (Postfix) with ESMTPS id DA9A660AD2 for ; Thu, 21 Jul 2022 21:15:31 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6400,9594,10415"; a="267571472" X-IronPort-AV: E=Sophos;i="5.93,183,1654585200"; d="scan'208";a="267571472" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 14:15:00 -0700 X-IronPort-AV: E=Sophos;i="5.93,183,1654585200"; d="scan'208";a="925816212" Received: from jekeller-desk.amr.corp.intel.com ([10.166.241.7]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 14:14:59 -0700 From: Jacob Keller To: netdev@vger.kernel.org Date: Thu, 21 Jul 2022 14:14:49 -0700 Message-Id: <20220721211451.2475600-5-jacob.e.keller@intel.com> X-Mailer: git-send-email 2.35.1.456.ga9c7032d4631 In-Reply-To: <20220721211451.2475600-1-jacob.e.keller@intel.com> References: <20220721211451.2475600-1-jacob.e.keller@intel.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658438131; x=1689974131; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bz91TNeeBfGTVdIdZvjlrnngeTyrZBksJ2a1iP5sz44=; b=F/yNWlupaKXKvle1RUP/XEPgtjnM1Rk6tKOOCQq3IwBFC4aBNiE5G8YA XdJO83s65J+nZwu1FurZ6M2eLhcP1rBXw9r0XUw7oMWTwgBODh3KLWoxb /cg/tjfIpK9f1A6sLnRJVuMV1jVUE/jLAYQ1xYH84woCQXKSy6caOkPsD y0hUxEE8U72BuGEOJ4CbYpWxD7q2PEhGhOawADDS9uuSZPadYmHc6tB6m Wi6zXx9eKaXKErH/PLVM8P/bp6QlNRZcBLqrE8zNiHO1svBc0zzC8kojl Eh6iFA4uyX8Ymp7W/wNJ9dyXyCpywxaY471JhFKkhDyEhVJHYoWnfGuy8 Q==; X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=F/yNWlup Subject: [Intel-wired-lan] [iproute2-next v2 1/3] update UAPI header X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jonathan Corbet , intel-wired-lan@lists.osuosl.org, David Ahern , linux-doc@vger.kernel.org, Stephen Hemminger , Eric Dumazet , Jiri Pirko , Jakub Kicinski , Paolo Abeni , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Signed-off-by: Jacob Keller --- include/uapi/linux/devlink.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index da0f1ba8f7a0..90f6cf97d308 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -576,6 +576,14 @@ enum devlink_attr { DEVLINK_ATTR_LINECARD_TYPE, /* string */ DEVLINK_ATTR_LINECARD_SUPPORTED_TYPES, /* nested */ + /* Before adding this attribute to a command, user space should check + * the policy dump and verify the kernel recognizes the attribute. + * Otherwise older kernels which do not recognize the attribute may + * silently accept the unknown attribute while not actually performing + * a dry run. + */ + DEVLINK_ATTR_DRY_RUN, /* flag */ + /* add new attributes above here, update the policy in devlink.c */ __DEVLINK_ATTR_MAX, -- 2.36.1 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A98D8CCA485 for ; Thu, 21 Jul 2022 21:15:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233702AbiGUVP3 (ORCPT ); Thu, 21 Jul 2022 17:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233710AbiGUVP2 (ORCPT ); Thu, 21 Jul 2022 17:15:28 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2781C5727C; Thu, 21 Jul 2022 14:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658438127; x=1689974127; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bz91TNeeBfGTVdIdZvjlrnngeTyrZBksJ2a1iP5sz44=; b=HlAYywwVqivU2YTi19n/cL1tyo3FmDl9tqWOpfRcE2hUHkwtLloY2ITO pnzw2iMpm3WQueydHp3YG78+3fw+To3HKqhvKVLu/d80w+EsXeL7Ve6tD rUBDFFgzTqtIuEmNdABpmlN46xRFS+xOxFyKKf+fbnIyUhesV0+ak4t91 lXSLXk1keiVtBgHhmx6D1KLV2IduCXwQjc0jrnSo1PIpgmCTIivZQTvI4 bxcjfCylqlJFtTloM/Ye41FHycQubPwJpLmvc/ywvWqB7mz/PwSowiknK f4KJFEMLTBeQ4XiE5S/bY6lQoJM3gl9r1PPRs5p7dkSn+NhoYKiK/zTpn Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10415"; a="312892789" X-IronPort-AV: E=Sophos;i="5.93,183,1654585200"; d="scan'208";a="312892789" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 14:15:00 -0700 X-IronPort-AV: E=Sophos;i="5.93,183,1654585200"; d="scan'208";a="925816212" Received: from jekeller-desk.amr.corp.intel.com ([10.166.241.7]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 14:14:59 -0700 From: Jacob Keller To: netdev@vger.kernel.org Cc: Jacob Keller , Jonathan Corbet , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Tony Nguyen , David Ahern , Stephen Hemminger , linux-doc@vger.kernel.org, intel-wired-lan@lists.osuosl.org Subject: [iproute2-next v2 1/3] update UAPI header Date: Thu, 21 Jul 2022 14:14:49 -0700 Message-Id: <20220721211451.2475600-5-jacob.e.keller@intel.com> X-Mailer: git-send-email 2.35.1.456.ga9c7032d4631 In-Reply-To: <20220721211451.2475600-1-jacob.e.keller@intel.com> References: <20220721211451.2475600-1-jacob.e.keller@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Signed-off-by: Jacob Keller --- include/uapi/linux/devlink.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index da0f1ba8f7a0..90f6cf97d308 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -576,6 +576,14 @@ enum devlink_attr { DEVLINK_ATTR_LINECARD_TYPE, /* string */ DEVLINK_ATTR_LINECARD_SUPPORTED_TYPES, /* nested */ + /* Before adding this attribute to a command, user space should check + * the policy dump and verify the kernel recognizes the attribute. + * Otherwise older kernels which do not recognize the attribute may + * silently accept the unknown attribute while not actually performing + * a dry run. + */ + DEVLINK_ATTR_DRY_RUN, /* flag */ + /* add new attributes above here, update the policy in devlink.c */ __DEVLINK_ATTR_MAX, -- 2.36.1