[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y06zTYTdNPJAKfcw@nanopsycho>
Date: Tue, 18 Oct 2022 16:08:13 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Michal Wilczynski <michal.wilczynski@...el.com>
Cc: netdev@...r.kernel.org, alexandr.lobakin@...el.com,
jacob.e.keller@...el.com, jesse.brandeburg@...el.com,
przemyslaw.kitszel@...el.com, anthony.l.nguyen@...el.com,
kuba@...nel.org, ecree.xilinx@...il.com
Subject: Re: [PATCH net-next v6 1/4] devlink: Extend devlink-rate api with
export functions and new params
Tue, Oct 18, 2022 at 02:35:39PM CEST, michal.wilczynski@...el.com wrote:
>ice driver needs an ability to create devlink-rate nodes from inside the
>driver. We have default Tx-scheduler tree that we would like to
>export as devlink-rate objects.
>
>There is also a need to support additional parameters, besides two that
>are supported currently:
>tx_priority - priority among siblings (0-7)
>tx_weight - weights for the WFQ algorithm (1-200)
>
>Allow creation of nodes from the driver, and introduce new argument
>to devl_rate_leaf_create, so the parent can be set during the creation
>of the leaf node.
>
>Implement new parameters - tx_priority, tx_weight.
>
>Allow modification of the priv field in the devlink_rate from parent_set
>callbacks. This is needed because creating nodes without parents doesn't
>make any sense in ice driver case. It's much more elegant to actually
>create a node when the parent is assigned.
This should be split into like 3-4 patches.
Powered by blists - more mailing lists