Re: [PATCH net-next v9 1/9] devlink: Introduce new attribute 'tx_priority' to devlink-rate
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-11-05 02:10:28
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-11-05 02:10:28
On Fri, 4 Nov 2022 15:30:54 +0100 Michal Wilczynski wrote:
+ if (attrs[DEVLINK_ATTR_RATE_TX_PRIORITY] && !ops->rate_leaf_tx_priority_set) {
+ NL_SET_ERR_MSG_MOD(info->extack,
+ "TX priority set isn't supported for the leafs");Please point to the attribute - NL_SET_ERR_MSG_ATTR(). I'm not entirely sure why we keep slapping the _MOD() on the extacks, but if you care to keep that you may need to add the _MOD flavor of the above.