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 X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0724CC433E0 for ; Mon, 18 Jan 2021 04:14:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CCDF4221EC for ; Mon, 18 Jan 2021 04:14:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732205AbhAREO1 (ORCPT ); Sun, 17 Jan 2021 23:14:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732097AbhAREN6 (ORCPT ); Sun, 17 Jan 2021 23:13:58 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA174C061573 for ; Sun, 17 Jan 2021 20:13:43 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id x13so15036422oto.8 for ; Sun, 17 Jan 2021 20:13:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ibO8Ce9w26pmHWjzZ4ajoLCei6fHAofUkO2pUfy8sak=; b=ibZXD7hfzlqKjZz5NulatipmaGmsrpPZRAAducxNtY9J0JU57nYlN9WCIOH1t9DVFo IBcl/w25tpfG5vYaYDxNesmMowtDI2jEdltaSQQv+zcwJahJLLw0IqsNgfT1dwfQCLkE KORJ+Ia4c5sqySIEHK0/C3MnfPGqINgySOn/Ty825wokUmt1Y0C9YmP+oiXtra1ZplhM mQbIJv/3zkgbRHM0YWy8LPqBdkdacWJv1FrS7RP/92z7djjcubUL0WjS+0CCEdiVZxyM uX5h+ujYzhOZA9AxzV26GR+JANqZiSYb+w8ldUVVZTKRuZnFkbA0liGjlFbBN4x3F/L6 5wJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ibO8Ce9w26pmHWjzZ4ajoLCei6fHAofUkO2pUfy8sak=; b=RpGU7+xcRI2eMsl3DYq5ySGUg5zHUm77S2d6h6gYWGw4yWY6RcPHfGxyyqFd7lftGR zx9r/1WVcNAhaMBf3pu1p9VVdH3vzbiNV47Jml6EuCVG2jTwZBDO9W6iWf3NsYrlRwFt SWlFkO/HJPsB4JK8C6oU6Maa34j641GEN5J10anfG4KT6aeCi4gMNgeVDK3ZOiIXJ1O9 FvjdmAFK3RTR+Fz4v+P/CpShIq48UvE2tJlPgJSJpxi0mEUdvit58mrsL4cESe7yvmIw KzAyI6HLODC2ylE9wYmMnXGXsnIVJZuOX5tyXSOxDf6tcElThoOMuLQ1xV0t0Oeln7x4 zgCQ== X-Gm-Message-State: AOAM531ptp/NhmgmyxLFIrOD+SyfuJmKtpoFZWDQ5ukQ+Qjp0Q1clP5C 8fv2M8NaJ2fiu8J0Zv6pxP8= X-Google-Smtp-Source: ABdhPJxWAL2PkicatEzpW2lSZ9BINfwUjytc0q4US1djMrKNhACNsbV0t2b095eB66HJZ/5wvu56NQ== X-Received: by 2002:a9d:5d1a:: with SMTP id b26mr16648730oti.112.1610943223190; Sun, 17 Jan 2021 20:13:43 -0800 (PST) Received: from Davids-MacBook-Pro.local ([8.6.112.148]) by smtp.googlemail.com with ESMTPSA id a22sm3559852otr.75.2021.01.17.20.13.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Jan 2021 20:13:41 -0800 (PST) Subject: Re: [PATCH iproute2-next v2 0/7] dcb: Support APP, DCBX objects To: Petr Machata , netdev@vger.kernel.org, stephen@networkplumber.org References: From: David Ahern Message-ID: Date: Sun, 17 Jan 2021 21:13:40 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 1/1/21 5:03 PM, Petr Machata wrote: > Add support to the dcb tool for the following two DCB objects: > > - APP, which allows configuration of traffic prioritization rules based on > several possible packet headers. > > - DCBX, which is a 1-byte bitfield of flags that configure whether the DCBX > protocol is implemented in the device or in the host, and which version > of the protocol should be used. > > Patch #1 adds a new helper for finding a name of a given dsfield value. > This is useful for APP DSCP-to-priority rules, which can use human-readable > DSCP names. > > Patches #2, #3 and #4 extend existing interfaces for, respectively, parsing > of the X:Y mappings, for setting a DCB object, and for getting a DCB > object. > > In patch #5, support for the command line argument -N / --Numeric is > added. The APP tool later uses it to decide whether to format DSCP values > as human-readable strings or as plain numbers. > > Patches #6 and #7 add the subtools themselves and their man pages. > applied to iproute2-next.