Lines Matching defs:extack

716 				   struct netlink_ext_ack *extack)
733 err = ops->port_function_hw_addr_get(devlink, port, hw_addr, &hw_addr_len, extack);
761 struct netlink_ext_ack *extack)
806 if (devlink_nl_port_function_attrs_put(msg, devlink_port, extack))
912 info->extack);
945 cb->extack);
983 const struct nlattr *attr, struct netlink_ext_ack *extack)
993 NL_SET_ERR_MSG_MOD(extack, "Port function hardware address too long");
998 NL_SET_ERR_MSG_MOD(extack, "Address must be 6 bytes for Ethernet device");
1002 NL_SET_ERR_MSG_MOD(extack, "Non-unicast hardware address unsupported");
1009 NL_SET_ERR_MSG_MOD(extack, "Port doesn't support function attributes");
1013 err = ops->port_function_hw_addr_set(devlink, port, hw_addr, hw_addr_len, extack);
1023 const struct nlattr *attr, struct netlink_ext_ack *extack)
1029 devlink_function_nl_policy, extack);
1031 NL_SET_ERR_MSG_MOD(extack, "Fail to parse port function attributes");
1037 err = devlink_port_function_hw_addr_set(devlink, port, attr, extack);
1060 struct netlink_ext_ack *extack = info->extack;
1062 err = devlink_port_function_set(devlink, devlink_port, attr, extack);
1071 u32 count, struct netlink_ext_ack *extack)
1076 extack);
1102 NL_SET_ERR_MSG_MOD(info->extack, "Port cannot be split further");
1104 NL_SET_ERR_MSG_MOD(info->extack, "Port cannot be split");
1109 NL_SET_ERR_MSG_MOD(info->extack, "Invalid split count");
1113 return devlink_port_split(devlink, port_index, count, info->extack);
1117 struct netlink_ext_ack *extack)
1121 return devlink->ops->port_unsplit(devlink, port_index, extack);
1135 return devlink_port_unsplit(devlink, port_index, info->extack);
1389 struct netlink_ext_ack *extack)
1396 size, threshold_type, extack);
1429 info->extack);
1602 struct netlink_ext_ack *extack)
1609 pool_index, threshold, extack);
1637 pool_index, threshold, info->extack);
1846 struct netlink_ext_ack *extack)
1854 pool_index, threshold, extack);
1894 pool_index, threshold, info->extack);
2020 err = ops->eswitch_mode_set(devlink, mode, info->extack);
2031 info->extack);
2041 info->extack);
2802 struct netlink_ext_ack *extack)
2808 NL_SET_ERR_MSG_MOD(extack, "Size larger than maximum");
2813 NL_SET_ERR_MSG_MOD(extack, "Size smaller than minimum");
2819 NL_SET_ERR_MSG_MOD(extack, "Wrong granularity");
2845 err = devlink_resource_validate_size(resource, size, info->extack);
3049 NL_SET_ERR_MSG_MOD(info->extack, "multiple netns identifying attributes specified");
3067 NL_SET_ERR_MSG_MOD(info->extack, "Unknown network namespace");
3183 u32 *actions_performed, struct netlink_ext_ack *extack)
3197 err = devlink->ops->reload_down(devlink, !!dest_net, action, limit, extack);
3204 err = devlink->ops->reload_up(devlink, action, limit, actions_performed, extack);
3264 NL_SET_ERR_MSG_MOD(info->extack, "resources size validation failed");
3274 NL_SET_ERR_MSG_MOD(info->extack,
3287 NL_SET_ERR_MSG_MOD(info->extack, "Invalid limit selected");
3295 NL_SET_ERR_MSG_MOD(info->extack,
3300 NL_SET_ERR_MSG_MOD(info->extack,
3305 NL_SET_ERR_MSG_MOD(info->extack,
3318 err = devlink_reload(devlink, dest_net, action, limit, &actions_performed, info->extack);
3481 NL_SET_ERR_MSG_ATTR(info->extack, nla_component,
3493 NL_SET_ERR_MSG_ATTR(info->extack, nla_overwrite_mask,
3501 return devlink->ops->flash_update(devlink, &params, info->extack);
4010 err = param->validate(devlink, param->id, value, info->extack);
4742 NL_SET_ERR_MSG_MOD(info->extack, "No region name provided");
4762 NL_SET_ERR_MSG_MOD(info->extack, "The requested region does not exist");
4767 NL_SET_ERR_MSG_MOD(info->extack, "The requested region does not support taking an immediate snapshot");
4772 NL_SET_ERR_MSG_MOD(info->extack, "The region has reached the maximum number of stored snapshots");
4781 NL_SET_ERR_MSG_MOD(info->extack, "The requested snapshot id is already in use");
4791 NL_SET_ERR_MSG_MOD(info->extack, "Failed to allocate a new snapshot id");
4798 info->extack, &data);
4801 info->extack, &data);
5135 u32 seq, int flags, struct netlink_ext_ack *extack)
5150 err = devlink->ops->info_get(devlink, &req, extack);
5178 info->extack);
5213 cb->extack);
6136 void *priv_ctx, struct netlink_ext_ack *extack)
6146 err = reporter->ops->recover(reporter, priv_ctx, extack);
6168 struct netlink_ext_ack *extack)
6189 priv_ctx, extack);
6488 err = devlink_health_reporter_recover(reporter, NULL, info->extack);
6521 err = reporter->ops->diagnose(reporter, fmsg, info->extack);
6556 err = devlink_health_do_dump(reporter, NULL, cb->extack);
6562 NL_SET_ERR_MSG_MOD(cb->extack, "Dump trampled, please retry");
6615 err = reporter->ops->test(reporter, info->extack);
6871 struct netlink_ext_ack *extack = info->extack;
6882 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap");
6945 struct netlink_ext_ack *extack)
6951 NL_SET_ERR_MSG_MOD(extack, "Cannot change action of non-drop traps. Skipping");
6956 trap_action, extack);
6977 NL_SET_ERR_MSG_MOD(info->extack, "Invalid trap action");
6982 info->extack);
6988 struct netlink_ext_ack *extack = info->extack;
6998 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap");
7093 struct netlink_ext_ack *extack = info->extack;
7104 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap group");
7171 struct netlink_ext_ack *extack)
7179 trap_action, extack);
7199 trap_action, extack);
7220 NL_SET_ERR_MSG_MOD(info->extack, "Invalid trap action");
7225 info->extack);
7239 struct netlink_ext_ack *extack = info->extack;
7258 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap policer");
7265 extack);
7277 struct netlink_ext_ack *extack = info->extack;
7288 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap group");
7305 NL_SET_ERR_MSG_MOD(extack, "Trap group set failed, but some changes were committed already");
7400 struct netlink_ext_ack *extack = info->extack;
7410 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap policer");
7478 struct netlink_ext_ack *extack = info->extack;
7493 NL_SET_ERR_MSG_MOD(extack, "Policer rate lower than limit");
7498 NL_SET_ERR_MSG_MOD(extack, "Policer rate higher than limit");
7503 NL_SET_ERR_MSG_MOD(extack, "Policer burst size lower than limit");
7508 NL_SET_ERR_MSG_MOD(extack, "Policer burst size higher than limit");
7513 rate, burst, info->extack);
7527 struct netlink_ext_ack *extack = info->extack;
7538 NL_SET_ERR_MSG_MOD(extack, "Device did not register this trap policer");