Lines Matching defs:extack
414 struct netlink_ext_ack *extack)
421 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching");
443 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table");
476 struct netlink_ext_ack *extack)
486 extack);
490 NL_SET_ERR_MSG(extack, "Size table base attribute is missing");
498 NL_SET_ERR_MSG(extack, "Size table data attribute is missing");
506 NL_SET_ERR_MSG(extack, "Invalid size of size table");
522 NL_SET_ERR_MSG(extack, "Invalid logarithmic size of size table");
854 struct netlink_ext_ack *extack)
876 NL_SET_ERR_MSG(extack, "Offloading graft operation failed.");
899 struct netlink_ext_ack *extack)
909 TC_SETUP_ROOT_QDISC, &graft_offload, extack);
914 struct netlink_ext_ack *extack)
982 if (extack && extack->_msg &&
983 nla_put_string(skb, TCA_EXT_WARN_MSG, extack->_msg))
1009 struct netlink_ext_ack *extack)
1020 0, RTM_DELQDISC, extack) < 0)
1025 old ? NLM_F_REPLACE : 0, RTM_NEWQDISC, extack) < 0)
1041 struct netlink_ext_ack *extack)
1044 qdisc_notify(net, skb, n, clid, old, new, extack);
1075 struct netlink_ext_ack *extack)
1091 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue");
1101 NL_SET_ERR_MSG(extack,
1110 qdisc_offload_graft_root(dev, new, old, extack);
1131 qdisc_notify(net, skb, n, classid, old, new, extack);
1144 notify_and_destroy(net, skb, n, classid, old, new, extack);
1166 NL_SET_ERR_MSG(extack, "Specified class not found");
1171 NL_SET_ERR_MSG(extack, "Cannot assign noqueue to a class");
1175 err = cops->graft(parent, cl, new, &old, extack);
1178 notify_and_destroy(net, skb, n, classid, old, new, extack);
1184 struct netlink_ext_ack *extack)
1192 NL_SET_ERR_MSG(extack, "Ingress block index cannot be 0");
1196 NL_SET_ERR_MSG(extack, "Ingress block sharing is not supported");
1205 NL_SET_ERR_MSG(extack, "Egress block index cannot be 0");
1209 NL_SET_ERR_MSG(extack, "Egress block sharing is not supported");
1227 struct netlink_ext_ack *extack)
1266 NL_SET_ERR_MSG(extack, "Specified qdisc kind is unknown");
1270 sch = qdisc_alloc(dev_queue, ops, extack);
1280 NL_SET_ERR_MSG(extack,
1290 NL_SET_ERR_MSG(extack, "Maximum number of qdisc handles was exceeded");
1312 err = qdisc_block_indexes_set(sch, tca, extack);
1317 stab = qdisc_get_stab(tca[TCA_STAB], extack);
1326 err = ops->init(sch, tca[TCA_OPTIONS], extack);
1334 NL_SET_ERR_MSG(extack, "Cannot attach rate estimator to a multi-queue root qdisc");
1345 NL_SET_ERR_MSG(extack, "Failed to generate new estimator");
1373 struct netlink_ext_ack *extack)
1380 NL_SET_ERR_MSG(extack, "Change operation not supported by specified qdisc");
1384 NL_SET_ERR_MSG(extack, "Change of blocks is not supported");
1387 err = sch->ops->change(sch, tca[TCA_OPTIONS], extack);
1393 stab = qdisc_get_stab(tca[TCA_STAB], extack);
1474 struct netlink_ext_ack *extack)
1486 rtm_tca_policy, extack);
1500 NL_SET_ERR_MSG(extack, "Failed to find qdisc with specified classid");
1511 NL_SET_ERR_MSG(extack, "Cannot find specified qdisc on specified device");
1516 NL_SET_ERR_MSG(extack, "Invalid handle");
1522 NL_SET_ERR_MSG(extack, "Failed to find qdisc with specified handle");
1528 NL_SET_ERR_MSG(extack, "Invalid qdisc name");
1534 NL_SET_ERR_MSG(extack, "Classid cannot be zero");
1538 NL_SET_ERR_MSG(extack, "Cannot delete qdisc with handle of zero");
1541 err = qdisc_graft(dev, p, skb, n, clid, NULL, q, extack);
1573 struct netlink_ext_ack *extack)
1586 rtm_tca_policy, extack);
1604 NL_SET_ERR_MSG(extack, "Failed to find specified qdisc");
1622 NL_SET_ERR_MSG(extack, "NLM_F_REPLACE needed to override");
1626 NL_SET_ERR_MSG(extack, "Invalid minor handle");
1633 NL_SET_ERR_MSG(extack, "Exclusivity flag on, cannot override");
1638 NL_SET_ERR_MSG(extack, "Invalid qdisc name");
1642 NL_SET_ERR_MSG(extack,
1648 NL_SET_ERR_MSG(extack, "Qdisc parent/child loop detected");
1652 NL_SET_ERR_MSG(extack, "Ingress cannot graft directly");
1698 NL_SET_ERR_MSG(extack, "Handle cannot be zero");
1706 NL_SET_ERR_MSG(extack, "Specified qdisc not found");
1710 NL_SET_ERR_MSG(extack, "Exclusivity flag on, cannot modify");
1714 NL_SET_ERR_MSG(extack, "Invalid qdisc name");
1717 err = qdisc_change(q, tca, extack);
1719 qdisc_notify(net, skb, n, clid, NULL, q, extack);
1724 NL_SET_ERR_MSG(extack, "Qdisc not found. To create specify NLM_F_CREATE flag");
1732 tca, &err, extack);
1734 NL_SET_ERR_MSG(extack, "Cannot find ingress queue for specified device");
1749 tca, &err, extack);
1758 err = qdisc_graft(dev, p, skb, n, clid, q, NULL, extack);
1839 rtm_tca_policy, cb->extack);
1883 int event, struct netlink_ext_ack *extack)
1918 if (extack && extack->_msg &&
1919 nla_put_string(skb, TCA_EXT_WARN_MSG, extack->_msg))
1934 unsigned long cl, int event, struct netlink_ext_ack *extack)
1943 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event, extack) < 0) {
1956 struct netlink_ext_ack *extack)
1970 RTM_DELTCLASS, extack) < 0) {
1975 err = cops->delete(q, cl, extack);
2072 struct netlink_ext_ack *extack)
2088 rtm_tca_policy, extack);
2172 err = tclass_del_notify(net, cops, skb, n, q, cl, extack);
2177 err = tclass_notify(net, skb, n, q, cl, RTM_NEWTCLASS, extack);
2186 NL_SET_ERR_MSG(extack, "Shared blocks are not supported for classes");
2193 err = cops->change(q, clid, portid, tca, &new_cl, extack);
2195 tclass_notify(net, skb, n, q, new_cl, RTM_NEWTCLASS, extack);