Lines Matching defs:extack

72 			     struct netlink_ext_ack *extack)
82 NL_SET_ERR_MSG(extack, "invalid control action");
90 NL_SET_ERR_MSG(extack,
97 NL_SET_ERR_MSG(extack,
183 struct netlink_ext_ack *extack)
187 fl_action->extack = extack;
195 false, extack);
247 struct netlink_ext_ack *extack,
267 err = offload_action_init(fl_action, action, FLOW_ACT_REPLACE, extack);
271 err = tc_setup_action(&fl_action->action, actions, 0, extack);
273 NL_SET_ERR_MSG_MOD(extack,
296 struct netlink_ext_ack *extack)
298 return tcf_action_offload_add_ex(action, extack, NULL, NULL);
588 struct netlink_ext_ack *extack)
619 NL_SET_ERR_MSG(extack, "Unable to flush all TC actions");
638 struct netlink_ext_ack *extack)
643 return tcf_del_walker(idrinfo, skb, ops, extack);
648 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command");
678 struct netlink_ext_ack *extack)
683 return ops->walk(net, skb, cb, type, ops, extack);
685 return tcf_generic_walker(tn, skb, cb, type, ops, extack);
1299 struct netlink_ext_ack *extack)
1309 tcf_action_policy, extack);
1315 NL_SET_ERR_MSG(extack, "TC action kind must be specified");
1319 NL_SET_ERR_MSG(extack, "TC action name too long");
1324 NL_SET_ERR_MSG(extack, "TC action name too long");
1351 NL_SET_ERR_MSG(extack, "Failed to load TC action module");
1361 u32 flags, struct netlink_ext_ack *extack)
1374 tcf_action_policy, extack);
1380 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie");
1395 userflags.value | flags, extack);
1398 extack);
1431 struct netlink_ext_ack *extack)
1441 extack);
1450 extack);
1460 &init_res[i - 1], flags, extack);
1476 NL_SET_ERR_MSG(extack,
1482 err = tcf_action_offload_add(act, extack);
1577 int ref, struct netlink_ext_ack *extack)
1592 if (extack && extack->_msg &&
1593 nla_put_string(skb, TCA_ROOT_EXT_WARN_MSG, extack->_msg))
1617 struct netlink_ext_ack *extack)
1626 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action");
1636 struct netlink_ext_ack *extack)
1645 tcf_action_policy, extack);
1652 NL_SET_ERR_MSG(extack, "Invalid TC action index value");
1660 NL_SET_ERR_MSG(extack, "Specified TC action kind not found");
1665 NL_SET_ERR_MSG(extack, "TC action with specified index not found");
1680 struct netlink_ext_ack *extack)
1700 tcf_action_policy, extack);
1708 NL_SET_ERR_MSG(extack, "Cannot flush unknown TC action");
1715 NL_SET_ERR_MSG(extack, "Failed to create TC action flush notification");
1725 NL_SET_ERR_MSG(extack, "Failed to add new netlink message");
1729 err = __tcf_generic_walker(net, skb, &dcb, RTM_DELACTION, ops, extack);
1743 NL_SET_ERR_MSG(extack, "Failed to send TC action flush notification");
1875 u32 portid, size_t attr_size, struct netlink_ext_ack *extack)
1886 0, 2, extack) <= 0) {
1887 NL_SET_ERR_MSG(extack, "Failed to fill netlink TC action attributes");
1895 NL_SET_ERR_MSG(extack, "Failed to delete TC action");
1907 u32 portid, int event, struct netlink_ext_ack *extack)
1916 extack);
1922 return tca_action_flush(net, tb[1], n, portid, extack);
1924 NL_SET_ERR_MSG(extack, "Invalid netlink attributes while flushing TC action");
1929 act = tcf_action_get_1(net, tb[i], n, portid, extack);
1941 ret = tcf_get_notify(net, portid, n, actions, event, extack);
1943 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack);
1955 u32 portid, size_t attr_size, struct netlink_ext_ack *extack)
1965 RTM_NEWACTION, 0, 0, extack) <= 0) {
1966 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action");
1977 struct netlink_ext_ack *extack)
1986 &attr_size, flags, 0, extack);
1993 ret = tcf_add_notify(net, n, actions, portid, attr_size, extack);
2011 struct netlink_ext_ack *extack)
2024 TCA_ROOT_MAX, NULL, extack);
2029 NL_SET_ERR_MSG(extack, "Netlink action attributes missing");
2045 extack);
2049 portid, RTM_DELACTION, extack);
2053 portid, RTM_GETACTION, extack);
2102 TCA_ROOT_MAX, tcaa_policy, cb->extack);