Lines Matching defs:extack
438 bool rtnl_held, struct netlink_ext_ack *extack)
443 tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, extack);
454 struct netlink_ext_ack *extack)
465 tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, extack);
474 cls_flower.common.extack);
549 struct netlink_ext_ack *extack)
570 fl_hw_destroy_filter(tp, f, rtnl_held, extack);
589 struct netlink_ext_ack *extack)
598 __fl_delete(tp, f, &last, rtnl_held, extack);
804 struct netlink_ext_ack *extack)
808 NL_SET_ERR_MSG(extack,
822 struct netlink_ext_ack *extack)
838 NL_SET_ERR_MSG(extack,
843 NL_SET_ERR_MSG(extack,
850 NL_SET_ERR_MSG_ATTR(extack,
858 NL_SET_ERR_MSG_ATTR(extack,
870 struct netlink_ext_ack *extack)
880 mpls_stack_entry_policy, extack);
885 NL_SET_ERR_MSG(extack, "Missing MPLS option \"depth\"");
895 NL_SET_ERR_MSG_ATTR(extack,
916 NL_SET_ERR_MSG_ATTR(extack,
928 NL_SET_ERR_MSG_ATTR(extack,
940 NL_SET_ERR_MSG_ATTR(extack,
955 struct netlink_ext_ack *extack)
962 NL_SET_ERR_MSG_ATTR(extack, nla_mpls_opts,
969 NL_SET_ERR_MSG_ATTR(extack, nla_lse,
974 err = fl_set_key_mpls_lse(nla_lse, key_val, key_mask, extack);
979 NL_SET_ERR_MSG(extack,
990 struct netlink_ext_ack *extack)
1000 NL_SET_ERR_MSG_ATTR(extack,
1007 key_val, key_mask, extack);
1023 NL_SET_ERR_MSG_ATTR(extack,
1037 NL_SET_ERR_MSG_ATTR(extack,
1051 NL_SET_ERR_MSG_ATTR(extack,
1151 u32 *flags_mask, struct netlink_ext_ack *extack)
1157 NL_SET_ERR_MSG(extack, "Missing flags mask");
1191 struct netlink_ext_ack *extack)
1216 NL_SET_ERR_MSG(extack, "Non-geneve option type for mask");
1222 nla, geneve_opt_policy, extack);
1233 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data");
1246 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long");
1250 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long");
1257 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size");
1279 struct netlink_ext_ack *extack)
1292 NL_SET_ERR_MSG(extack, "Non-vxlan option type for mask");
1297 vxlan_opt_policy, extack);
1302 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp");
1316 struct netlink_ext_ack *extack)
1330 NL_SET_ERR_MSG(extack, "Non-erspan option type for mask");
1335 erspan_opt_policy, extack);
1340 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option ver");
1349 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index");
1360 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option dir or hwid");
1372 NL_SET_ERR_MSG(extack, "Tunnel key erspan option ver is incorrect");
1381 struct netlink_ext_ack *extack)
1395 NL_SET_ERR_MSG_MOD(extack, "Non-gtp option type for mask");
1400 gtp_opt_policy, extack);
1407 NL_SET_ERR_MSG_MOD(extack,
1424 struct netlink_ext_ack *extack)
1431 enc_opts_policy, extack);
1440 enc_opts_policy, extack);
1447 NL_SET_ERR_MSG(extack, "Invalid nested attribute for masks");
1458 NL_SET_ERR_MSG(extack, "Duplicate type for geneve options");
1465 extack);
1476 extack);
1482 NL_SET_ERR_MSG(extack, "Key and mask miss aligned");
1488 NL_SET_ERR_MSG(extack, "Duplicate type for vxlan options");
1495 extack);
1506 extack);
1512 NL_SET_ERR_MSG(extack, "Key and mask miss aligned");
1518 NL_SET_ERR_MSG(extack, "Duplicate type for erspan options");
1525 extack);
1536 extack);
1542 NL_SET_ERR_MSG(extack, "Key and mask miss aligned");
1548 NL_SET_ERR_MSG_MOD(extack,
1556 extack);
1567 extack);
1573 NL_SET_ERR_MSG_MOD(extack,
1579 NL_SET_ERR_MSG(extack, "Unknown tunnel option type");
1587 NL_SET_ERR_MSG(extack, "A mask attribute is invalid");
1597 struct netlink_ext_ack *extack)
1600 NL_SET_ERR_MSG_ATTR(extack, tb,
1607 NL_SET_ERR_MSG_ATTR(extack, tb,
1615 NL_SET_ERR_MSG_ATTR(extack, tb,
1622 NL_SET_ERR_MSG_ATTR(extack, tb,
1633 struct netlink_ext_ack *extack)
1639 NL_SET_ERR_MSG(extack, "Conntrack isn't enabled");
1648 extack);
1655 NL_SET_ERR_MSG(extack, "Conntrack zones isn't enabled");
1664 NL_SET_ERR_MSG(extack, "Conntrack mark isn't enabled");
1673 NL_SET_ERR_MSG(extack, "Conntrack labels aren't enabled");
1707 struct netlink_ext_ack *extack)
1722 struct netlink_ext_ack *extack)
1732 struct netlink_ext_ack *extack)
1741 tb[TCA_FLOWER_KEY_CFM], cfm_opt_policy, extack);
1745 fl_set_key_cfm_opcode(nla_cfm_opt, key, mask, extack);
1746 fl_set_key_cfm_md_level(nla_cfm_opt, key, mask, extack);
1753 struct netlink_ext_ack *extack)
1759 int err = tcf_change_indev(net, tb[TCA_FLOWER_INDEV], extack);
1880 ret = fl_set_key_mpls(tb, &key->mpls, &mask->mpls, extack);
1906 ret = fl_set_key_cfm(tb, key, mask, extack);
1914 ret = fl_set_key_port_range(tb, key, mask, extack);
1920 ret = fl_set_key_spi(tb, key, mask, extack);
1976 ret = fl_set_enc_opt(tb, key, mask, extack);
1981 ret = fl_set_key_ct(tb, &key->ct, &mask->ct, extack);
1987 &mask->control.flags, extack);
2232 struct netlink_ext_ack *extack)
2324 extack);
2338 err = fl_set_key(net, tb, &fnew->key, &mask->key, extack);
2346 NL_SET_ERR_MSG_MOD(extack, "Mask does not fit the template");
2368 err = fl_hw_replace_filter(tp, fnew, rtnl_held, extack);
2480 bool rtnl_held, struct netlink_ext_ack *extack)
2487 err = __fl_delete(tp, f, &last_on_mask, rtnl_held, extack);
2550 void *cb_priv, struct netlink_ext_ack *extack)
2572 extack);
2581 cls_flower.common.extack);
2676 struct netlink_ext_ack *extack)
2699 err = fl_set_key(net, tb, &tmplt->dummy_key, &tmplt->mask, extack);