From patchwork Thu Dec 1 10:26:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wilczynski, Michal" X-Patchwork-Id: 13061151 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 9D7A7C43217 for ; Thu, 1 Dec 2022 10:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230342AbiLAK17 (ORCPT ); Thu, 1 Dec 2022 05:27:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229940AbiLAK14 (ORCPT ); Thu, 1 Dec 2022 05:27:56 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603A3178A1 for ; Thu, 1 Dec 2022 02:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669890473; x=1701426473; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZRRN/gh34ooKBuRKPMiTWz3cr8oGbiQbdhz78VcuBm4=; b=lZtjJmfYooABKsmn+niIAgQxEZtLeuaBKVjArSyS7uH0IPmYxa51B9Jz SFNLdpsO0Vf8si7Ix++U2hFmlbViEyZzSrNdE8uvsjLzJ5IrSytUGTU6r r95FZfDdml8Lf9z4+/5n2Rh0mWSCxxzCeYlyrOADPt2bs77RHueJvitEJ fw87/DMRHZ30TaYrJVJsHCiV4KoU8ZTjs8bkiU9CUJWAUnEbbYs9FwlYy W6qgSp9vlxZwFK0ZJbbY41Rs3zt8Re4sjshlVyhY6vHek2963akrVS+UR N8BMJsmXpDIbJeKepkDFM/9cfDZL+93UkZEBVyRPlTJmtc7iqRXHwcwZs A==; X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="313277980" X-IronPort-AV: E=Sophos;i="5.96,209,1665471600"; d="scan'208";a="313277980" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2022 02:27:52 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="769184471" X-IronPort-AV: E=Sophos;i="5.96,209,1665471600"; d="scan'208";a="769184471" Received: from unknown (HELO fedora.igk.intel.com) ([10.123.220.6]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2022 02:27:50 -0800 From: Michal Wilczynski To: netdev@vger.kernel.org Cc: alexandr.lobakin@intel.com, przemyslaw.kitszel@intel.com, jiri@resnulli.us, wojciech.drewek@intel.com, dsahern@gmail.com, stephen@networkplumber.org, Michal Wilczynski Subject: [PATCH iproute2-next v2 0/4] Implement new netlink attributes for devlink-rate in iproute2 Date: Thu, 1 Dec 2022 11:26:22 +0100 Message-Id: <20221201102626.56390-1-michal.wilczynski@intel.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Patch implementing new netlink attributes for devlink-rate got merged to net-next. https://lore.kernel.org/netdev/20221115104825.172668-1-michal.wilczynski@intel.com/ Now there is a need to support these new attributes in the userspace tool. Implement tx_priority and tx_weight in devlink userspace tool. Update documentation. v2: - Re-send series without bug-fix Michal Wilczynski (4): devlink: Add uapi changes for tx_priority and tx_weight devlink: Introduce new attribute 'tx_priority' to devlink-rate devlink: Introduce new attribute 'tx_weight' to devlink-rate devlink: Add documentation for tx_prority and tx_weight devlink/devlink.c | 55 ++++++++++++++++++++++++++++++++++-- include/uapi/linux/devlink.h | 3 ++ man/man8/devlink-rate.8 | 22 +++++++++++++++ 3 files changed, 77 insertions(+), 3 deletions(-)