Lines Matching refs:extack
124 struct netlink_ext_ack *extack) in efx_tc_flower_get_mac() argument
149 NL_SET_ERR_MSG_MOD(extack, "Failed to store pedit MAC address in hw"); in efx_tc_flower_get_mac()
241 struct netlink_ext_ack *extack) in efx_tc_flower_parse_match() argument
278 fm.mask->flags, extack)) in efx_tc_flower_parse_match()
299 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported flower keys %#llx", in efx_tc_flower_parse_match()
315 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match()
366 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match()
390 if (flow_rule_has_enc_control_flags(fm.mask->flags, extack)) in efx_tc_flower_parse_match()
393 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported enc addr_type mask %u (key %u)", in efx_tc_flower_parse_match()
414 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match()
430 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match()
445 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match()
456 NL_SET_ERR_MSG_MOD(extack, "Matching on ct_label not supported"); in efx_tc_flower_parse_match()
495 struct netlink_ext_ack *extack) in efx_tc_flower_record_encap_match() argument
509 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_record_encap_match()
514 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_record_encap_match()
521 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_record_encap_match()
528 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_record_encap_match()
533 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_record_encap_match()
540 NL_SET_ERR_MSG_MOD(extack, "Egress encap match is not exact on dst UDP port"); in efx_tc_flower_record_encap_match()
547 NL_SET_ERR_MSG_MOD(extack, "Bad recursion in egress encap match handler"); in efx_tc_flower_record_encap_match()
558 extack); in efx_tc_flower_record_encap_match()
564 NL_SET_ERR_MSG_MOD(extack, "Egress encap match on IP TTL not supported"); in efx_tc_flower_record_encap_match()
570 match->mask.enc_sport, extack); in efx_tc_flower_record_encap_match()
613 NL_SET_ERR_MSG_MOD(extack, "Pseudo encap match conflicts with existing direct entry"); in efx_tc_flower_record_encap_match()
621 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_record_encap_match()
627 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_record_encap_match()
634 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_record_encap_match()
646 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_record_encap_match()
651 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_record_encap_match()
659 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_record_encap_match()
672 NL_SET_ERR_MSG_MOD(extack, "Failed to record egress encap match in HW"); in efx_tc_flower_record_encap_match()
974 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_handle_lhs_actions() local
989 NL_SET_ERR_MSG_MOD(extack, "Action follows non-pipe action"); in efx_tc_flower_handle_lhs_actions()
995 NL_SET_ERR_MSG_MOD(extack, "Can't goto chain 0, no looping in hw"); in efx_tc_flower_handle_lhs_actions()
1001 … NL_SET_ERR_MSG_MOD(extack, "Failed to allocate a hardware recirculation ID for this chain_index"); in efx_tc_flower_handle_lhs_actions()
1009 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_handle_lhs_actions()
1017 NL_SET_ERR_MSG_MOD(extack, "Failed to obtain a counter"); in efx_tc_flower_handle_lhs_actions()
1027 NL_SET_ERR_MSG_MOD(extack, "Can't offload multiple ct actions"); in efx_tc_flower_handle_lhs_actions()
1032 NL_SET_ERR_MSG_MOD(extack, "Can't offload ct commit/force"); in efx_tc_flower_handle_lhs_actions()
1036 NL_SET_ERR_MSG_MOD(extack, "Can't clear ct in LHS rule"); in efx_tc_flower_handle_lhs_actions()
1042 NL_SET_ERR_MSG_MOD(extack, "Can't perform NAT in LHS rule - packet isn't conntracked yet"); in efx_tc_flower_handle_lhs_actions()
1046 NL_SET_ERR_MSG_FMT_MOD(extack, "Unhandled ct.action %u for LHS rule", in efx_tc_flower_handle_lhs_actions()
1053 NL_SET_ERR_MSG_MOD(extack, "Failed to register for CT updates"); in efx_tc_flower_handle_lhs_actions()
1059 NL_SET_ERR_MSG_FMT_MOD(extack, "Unhandled action %u for LHS rule", in efx_tc_flower_handle_lhs_actions()
1066 NL_SET_ERR_MSG_MOD(extack, "Missing goto chain in LHS rule"); in efx_tc_flower_handle_lhs_actions()
1121 struct netlink_ext_ack *extack) in efx_tc_complete_mac_mangle() argument
1126 ped = efx_tc_flower_get_mac(efx, mung->dst_mac, extack); in efx_tc_complete_mac_mangle()
1141 ped = efx_tc_flower_get_mac(efx, mung->src_mac, extack); in efx_tc_complete_mac_mangle()
1160 struct netlink_ext_ack *extack) in efx_tc_pedit_add() argument
1179 NL_SET_ERR_MSG_MOD(extack, "multiple dec ttl are not supported"); in efx_tc_pedit_add()
1204 NL_SET_ERR_MSG_MOD(extack, "multiple dec ttl are not supported"); in efx_tc_pedit_add()
1217 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_pedit_add()
1242 struct netlink_ext_ack *extack, in efx_tc_mangle() argument
1254 NL_SET_ERR_MSG_MOD(extack, in efx_tc_mangle()
1261 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1270 return efx_tc_complete_mac_mangle(efx, act, mung, extack); in efx_tc_mangle()
1281 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1286 return efx_tc_complete_mac_mangle(efx, act, mung, extack); in efx_tc_mangle()
1289 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1297 return efx_tc_complete_mac_mangle(efx, act, mung, extack); in efx_tc_mangle()
1299 NL_SET_ERR_MSG_FMT_MOD(extack, "mangle eth+%u %x/%x is not supported", in efx_tc_mangle()
1314 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1324 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1334 NL_SET_ERR_MSG_MOD(extack, in efx_tc_mangle()
1342 NL_SET_ERR_MSG_MOD(extack, in efx_tc_mangle()
1356 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1372 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1383 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1393 NL_SET_ERR_MSG_MOD(extack, in efx_tc_mangle()
1401 NL_SET_ERR_MSG_MOD(extack, in efx_tc_mangle()
1415 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_mangle()
1420 NL_SET_ERR_MSG_FMT_MOD(extack, "Unhandled mangle htype %u for action rule", in efx_tc_mangle()
1439 struct netlink_ext_ack *extack) in efx_tc_incomplete_mangle() argument
1442 NL_SET_ERR_MSG_MOD(extack, "Incomplete pedit of destination MAC address"); in efx_tc_incomplete_mangle()
1446 NL_SET_ERR_MSG_MOD(extack, "Incomplete pedit of source MAC address"); in efx_tc_incomplete_mangle()
1458 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_replace_foreign_lhs_ar() local
1465 NL_SET_ERR_MSG_MOD(extack, "Egress encap match on unsupported tunnel device"); in efx_tc_flower_replace_foreign_lhs_ar()
1471 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_replace_foreign_lhs_ar()
1480 EFX_TC_EM_DIRECT, 0, 0, extack); in efx_tc_flower_replace_foreign_lhs_ar()
1486 NL_SET_ERR_MSG_MOD(extack, "LHS rule can never match +trk"); in efx_tc_flower_replace_foreign_lhs_ar()
1504 rc = efx_mae_match_check_caps(efx, &match->mask, extack); in efx_tc_flower_replace_foreign_lhs_ar()
1522 NL_SET_ERR_MSG_MOD(extack, "Rule already offloaded"); in efx_tc_flower_replace_foreign_lhs_ar()
1536 NL_SET_ERR_MSG_MOD(extack, "Failed to insert rule in hw"); in efx_tc_flower_replace_foreign_lhs_ar()
1562 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_replace_foreign_lhs() local
1568 NL_SET_ERR_MSG_MOD(extack, "LHS rule only allowed in chain 0"); in efx_tc_flower_replace_foreign_lhs()
1584 NL_SET_ERR_MSG_MOD(extack, "Egress encap match on unsupported tunnel device"); in efx_tc_flower_replace_foreign_lhs()
1590 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_replace_foreign_lhs()
1598 extack); in efx_tc_flower_replace_foreign_lhs()
1603 NL_SET_ERR_MSG_MOD(extack, "LHS rule can never match +trk"); in efx_tc_flower_replace_foreign_lhs()
1613 NL_SET_ERR_MSG_MOD(extack, "LHS rule cannot match on inner fields"); in efx_tc_flower_replace_foreign_lhs()
1617 rc = efx_mae_match_check_caps_lhs(efx, &match->mask, extack); in efx_tc_flower_replace_foreign_lhs()
1634 NL_SET_ERR_MSG_MOD(extack, "Rule already offloaded"); in efx_tc_flower_replace_foreign_lhs()
1648 NL_SET_ERR_MSG_MOD(extack, "Failed to insert rule in hw"); in efx_tc_flower_replace_foreign_lhs()
1673 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_replace_foreign() local
1685 rc = efx_tc_flower_parse_match(efx, fr, &match, extack); in efx_tc_flower_replace_foreign()
1695 NL_SET_ERR_MSG_MOD(extack, "Failed to identify ingress m-port for foreign filter"); in efx_tc_flower_replace_foreign()
1710 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_replace_foreign()
1734 NL_SET_ERR_MSG_MOD(extack, "TCP flags and -est conflict for offload"); in efx_tc_flower_replace_foreign()
1761 rc = efx_mae_match_check_caps(efx, &match.mask, extack); in efx_tc_flower_replace_foreign()
1770 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_replace_foreign()
1778 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_replace_foreign()
1786 extack); in efx_tc_flower_replace_foreign()
1842 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_replace_foreign()
1849 NL_SET_ERR_MSG_MOD(extack, "Count action violates action order (can't happen)"); in efx_tc_flower_replace_foreign()
1859 NL_SET_ERR_MSG_MOD(extack, "Failed to obtain a counter"); in efx_tc_flower_replace_foreign()
1869 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_replace_foreign()
1888 NL_SET_ERR_MSG_MOD(extack, "Failed to identify egress m-port"); in efx_tc_flower_replace_foreign()
1895 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_replace_foreign()
1914 NL_SET_ERR_MSG_MOD(extack, "Decap action violates action order"); in efx_tc_flower_replace_foreign()
1925 NL_SET_ERR_MSG_FMT_MOD(extack, "Unhandled action %u", in efx_tc_flower_replace_foreign()
1942 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set to hw (deliver)"); in efx_tc_flower_replace_foreign()
1957 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set list to hw"); in efx_tc_flower_replace_foreign()
1963 NL_SET_ERR_MSG_MOD(extack, "Failed to insert rule in hw"); in efx_tc_flower_replace_foreign()
1998 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_replace_lhs() local
2003 NL_SET_ERR_MSG_MOD(extack, "LHS rule only allowed in chain 0"); in efx_tc_flower_replace_lhs()
2008 NL_SET_ERR_MSG_MOD(extack, "LHS rule can never match +trk"); in efx_tc_flower_replace_lhs()
2015 rc = efx_mae_match_check_caps_lhs(efx, &match->mask, extack); in efx_tc_flower_replace_lhs()
2033 NL_SET_ERR_MSG_MOD(extack, "Rule already offloaded"); in efx_tc_flower_replace_lhs()
2049 NL_SET_ERR_MSG_MOD(extack, "Failed to insert rule in hw"); in efx_tc_flower_replace_lhs()
2072 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_replace() local
2084 if (!tc_can_offload_extack(efx->net_dev, extack)) in efx_tc_flower_replace()
2099 NL_SET_ERR_MSG_FMT_MOD(extack, "for %s efv is %snull but from_efv is %snull (can't happen)", in efx_tc_flower_replace()
2109 NL_SET_ERR_MSG_MOD(extack, "Failed to identify ingress m-port"); in efx_tc_flower_replace()
2114 rc = efx_tc_flower_parse_match(efx, fr, &match, extack); in efx_tc_flower_replace()
2118 NL_SET_ERR_MSG_MOD(extack, "Ingress enc_key matches not supported"); in efx_tc_flower_replace()
2146 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_replace()
2176 rc = efx_mae_match_check_caps(efx, &match.mask, extack); in efx_tc_flower_replace()
2196 NL_SET_ERR_MSG_MOD(extack, "Rule already offloaded"); in efx_tc_flower_replace()
2238 NL_SET_ERR_MSG_MOD(extack, "Action follows non-pipe action"); in efx_tc_flower_replace()
2262 NL_SET_ERR_MSG_MOD(extack, "Count-action conflict (can't happen)"); in efx_tc_flower_replace()
2268 NL_SET_ERR_MSG_FMT_MOD(extack, "hw_stats_type %u not supported (only 'delayed')", in efx_tc_flower_replace()
2278 NL_SET_ERR_MSG_MOD(extack, "Failed to obtain a counter"); in efx_tc_flower_replace()
2289 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set to hw (drop)"); in efx_tc_flower_replace()
2305 NL_SET_ERR_MSG_MOD(extack, "Encap action violates action order"); in efx_tc_flower_replace()
2309 efx, encap_info, fa->dev, extack); in efx_tc_flower_replace()
2333 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set to hw (encap)"); in efx_tc_flower_replace()
2355 NL_SET_ERR_MSG_MOD(extack, "Deliver action violates action order (can't happen)"); in efx_tc_flower_replace()
2361 NL_SET_ERR_MSG_MOD(extack, "Mirred egress device not on switch"); in efx_tc_flower_replace()
2367 NL_SET_ERR_MSG_MOD(extack, "Failed to identify egress m-port"); in efx_tc_flower_replace()
2374 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set to hw (mirred)"); in efx_tc_flower_replace()
2396 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_replace()
2405 NL_SET_ERR_MSG_MOD(extack, in efx_tc_flower_replace()
2416 rc = efx_tc_pedit_add(efx, act, fa, extack); in efx_tc_flower_replace()
2421 rc = efx_tc_mangle(efx, act, fa, &mung, extack, &match); in efx_tc_flower_replace()
2432 NL_SET_ERR_MSG_MOD(extack, "Tunnel key set when already set"); in efx_tc_flower_replace()
2437 NL_SET_ERR_MSG_MOD(extack, "Tunnel key set is missing key"); in efx_tc_flower_replace()
2453 NL_SET_ERR_MSG_MOD(extack, "Cannot offload tunnel decap action without tunnel device"); in efx_tc_flower_replace()
2459 …NL_SET_ERR_MSG_FMT_MOD(extack, "Can only offload CT 'nat' action in RHS rules, not %d", fa->ct.act… in efx_tc_flower_replace()
2465 NL_SET_ERR_MSG_FMT_MOD(extack, "Unhandled action %u", in efx_tc_flower_replace()
2472 rc = efx_tc_incomplete_mangle(&mung, extack); in efx_tc_flower_replace()
2492 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set to hw (deliver)"); in efx_tc_flower_replace()
2507 NL_SET_ERR_MSG_MOD(extack, "Failed to write action set list to hw"); in efx_tc_flower_replace()
2526 NL_SET_ERR_MSG_MOD(extack, "Failed to insert rule in hw"); in efx_tc_flower_replace()
2556 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_destroy() local
2588 NL_SET_ERR_MSG_MOD(extack, "Flow cookie not found in offloaded rules"); in efx_tc_flower_destroy()
2605 struct netlink_ext_ack *extack = tc->common.extack; in efx_tc_flower_stats() local
2618 NL_SET_ERR_MSG_MOD(extack, "Flow cookie not found in offloaded rules"); in efx_tc_flower_stats()