Lines Matching refs:err_attr
117 u32 err_attr; in ethnl_set_channels() local
138 err_attr = ETHTOOL_A_CHANNELS_RX_COUNT; in ethnl_set_channels()
140 err_attr = ETHTOOL_A_CHANNELS_TX_COUNT; in ethnl_set_channels()
142 err_attr = ETHTOOL_A_CHANNELS_OTHER_COUNT; in ethnl_set_channels()
144 err_attr = ETHTOOL_A_CHANNELS_COMBINED_COUNT; in ethnl_set_channels()
146 err_attr = 0; in ethnl_set_channels()
147 if (err_attr) { in ethnl_set_channels()
148 NL_SET_ERR_MSG_ATTR(info->extack, tb[err_attr], in ethnl_set_channels()
155 err_attr = ETHTOOL_A_CHANNELS_RX_COUNT; in ethnl_set_channels()
157 err_attr = ETHTOOL_A_CHANNELS_TX_COUNT; in ethnl_set_channels()
159 err_attr = 0; in ethnl_set_channels()
160 if (err_attr) { in ethnl_set_channels()
162 err_attr = ETHTOOL_A_CHANNELS_COMBINED_COUNT; in ethnl_set_channels()
163 NL_SET_ERR_MSG_ATTR(info->extack, tb[err_attr], in ethnl_set_channels()