Lines Matching refs:extack

53 			     struct netlink_ext_ack *extack)  in tcf_action_check_ctrlact()  argument
63 NL_SET_ERR_MSG(extack, "invalid control action"); in tcf_action_check_ctrlact()
71 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
78 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
330 struct netlink_ext_ack *extack) in tcf_generic_walker() argument
340 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
846 struct netlink_ext_ack *extack) in tcf_action_init_1() argument
858 tcf_action_policy, extack); in tcf_action_init_1()
864 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tcf_action_init_1()
868 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
874 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
881 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
909 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tcf_action_init_1()
917 rtnl_held, tp, extack); in tcf_action_init_1()
920 tp, extack); in tcf_action_init_1()
937 NL_SET_ERR_MSG(extack, "can't use goto chain with NULL chain"); in tcf_action_init_1()
958 bool rtnl_held, struct netlink_ext_ack *extack) in tcf_action_init() argument
967 extack); in tcf_action_init()
973 rtnl_held, extack); in tcf_action_init()
1075 struct netlink_ext_ack *extack) in tcf_get_notify() argument
1084 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action"); in tcf_get_notify()
1094 struct netlink_ext_ack *extack) in tcf_action_get_1() argument
1103 tcf_action_policy, extack); in tcf_action_get_1()
1110 NL_SET_ERR_MSG(extack, "Invalid TC action index value"); in tcf_action_get_1()
1118 NL_SET_ERR_MSG(extack, "Specified TC action kind not found"); in tcf_action_get_1()
1123 NL_SET_ERR_MSG(extack, "TC action with specified index not found"); in tcf_action_get_1()
1138 struct netlink_ext_ack *extack) in tca_action_flush() argument
1158 tcf_action_policy, extack); in tca_action_flush()
1166 NL_SET_ERR_MSG(extack, "Cannot flush unknown TC action"); in tca_action_flush()
1173 NL_SET_ERR_MSG(extack, "Failed to create TC action flush notification"); in tca_action_flush()
1183 NL_SET_ERR_MSG(extack, "Failed to add new netlink message"); in tca_action_flush()
1187 err = ops->walk(net, skb, &dcb, RTM_DELACTION, ops, extack); in tca_action_flush()
1203 NL_SET_ERR_MSG(extack, "Failed to send TC action flush notification"); in tca_action_flush()
1245 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument
1257 NL_SET_ERR_MSG(extack, "Failed to fill netlink TC action attributes"); in tcf_del_notify()
1265 NL_SET_ERR_MSG(extack, "Failed to delete TC action"); in tcf_del_notify()
1279 u32 portid, int event, struct netlink_ext_ack *extack) in tca_action_gd() argument
1288 extack); in tca_action_gd()
1294 return tca_action_flush(net, tb[1], n, portid, extack); in tca_action_gd()
1296 NL_SET_ERR_MSG(extack, "Invalid netlink attributes while flushing TC action"); in tca_action_gd()
1301 act = tcf_action_get_1(net, tb[i], n, portid, extack); in tca_action_gd()
1313 ret = tcf_get_notify(net, portid, n, actions, event, extack); in tca_action_gd()
1315 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack); in tca_action_gd()
1327 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_add_notify() argument
1339 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action"); in tcf_add_notify()
1353 struct netlink_ext_ack *extack) in tcf_action_add() argument
1361 actions, &attr_size, true, extack); in tcf_action_add()
1368 ret = tcf_add_notify(net, n, actions, portid, attr_size, extack); in tcf_action_add()
1383 struct netlink_ext_ack *extack) in tc_ctl_action() argument
1395 TCA_ROOT_MAX, NULL, extack); in tc_ctl_action()
1400 NL_SET_ERR_MSG(extack, "Netlink action attributes missing"); in tc_ctl_action()
1416 extack); in tc_ctl_action()
1420 portid, RTM_DELACTION, extack); in tc_ctl_action()
1424 portid, RTM_GETACTION, extack); in tc_ctl_action()
1473 TCA_ROOT_MAX, tcaa_policy, cb->extack); in tc_dump_action()