Lines Matching refs:err_attr
119 u32 err_attr, max_rx_in_use = 0; in ethnl_set_channels() local
159 err_attr = ETHTOOL_A_CHANNELS_RX_COUNT; in ethnl_set_channels()
161 err_attr = ETHTOOL_A_CHANNELS_TX_COUNT; in ethnl_set_channels()
163 err_attr = ETHTOOL_A_CHANNELS_OTHER_COUNT; in ethnl_set_channels()
165 err_attr = ETHTOOL_A_CHANNELS_COMBINED_COUNT; in ethnl_set_channels()
167 err_attr = 0; in ethnl_set_channels()
168 if (err_attr) { in ethnl_set_channels()
170 NL_SET_ERR_MSG_ATTR(info->extack, tb[err_attr], in ethnl_set_channels()
177 err_attr = ETHTOOL_A_CHANNELS_RX_COUNT; in ethnl_set_channels()
179 err_attr = ETHTOOL_A_CHANNELS_TX_COUNT; in ethnl_set_channels()
181 err_attr = 0; in ethnl_set_channels()
182 if (err_attr) { in ethnl_set_channels()
184 err_attr = ETHTOOL_A_CHANNELS_COMBINED_COUNT; in ethnl_set_channels()
186 NL_SET_ERR_MSG_ATTR(info->extack, tb[err_attr], in ethnl_set_channels()