Lines Matching refs:extack
150 struct netlink_ext_ack *extack) in nfp_flower_calc_opt_layer() argument
153 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: geneve options exceed maximum length"); in nfp_flower_calc_opt_layer()
171 struct netlink_ext_ack *extack) in nfp_flower_calc_udp_tun_layer() argument
182 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: encap options not supported on vxlan tunnels"); in nfp_flower_calc_udp_tun_layer()
188 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: loaded firmware does not support geneve offload"); in nfp_flower_calc_udp_tun_layer()
200 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: loaded firmware does not support geneve option of… in nfp_flower_calc_udp_tun_layer()
204 key_size, extack); in nfp_flower_calc_udp_tun_layer()
209 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: tunnel type unknown"); in nfp_flower_calc_udp_tun_layer()
222 struct netlink_ext_ack *extack) in nfp_flower_calculate_key_layers() argument
234 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: match not supported"); in nfp_flower_calculate_key_layers()
242 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: tunnel match not supported"); in nfp_flower_calculate_key_layers()
263 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: loaded firmware does not support VLAN PCP offload… in nfp_flower_calculate_key_layers()
277 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: wildcarded protocols on tunnels are not supported… in nfp_flower_calculate_key_layers()
281 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: only IPv4 tunnels are supported"); in nfp_flower_calculate_key_layers()
288 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: only an exact match IPv4 destination address is s… in nfp_flower_calculate_key_layers()
307 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: encap options not supported on GRE tunnels"); in nfp_flower_calculate_key_layers()
311 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: an exact match on L4 destination port is required… in nfp_flower_calculate_key_layers()
317 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: only an exact match L4 destination port is suppor… in nfp_flower_calculate_key_layers()
326 tun_type, extack); in nfp_flower_calculate_key_layers()
334 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: ingress netdev does not match the expected tunnel… in nfp_flower_calculate_key_layers()
360 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: ARP not supported"); in nfp_flower_calculate_key_layers()
376 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: match on given EtherType is not supported"); in nfp_flower_calculate_key_layers()
380 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: cannot match above L2 without specified EtherType… in nfp_flower_calculate_key_layers()
399 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: cannot match on L4 information without specified … in nfp_flower_calculate_key_layers()
411 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: no match support for selected TCP flags"); in nfp_flower_calculate_key_layers()
420 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: PSH and URG is only supported when used with FIN,… in nfp_flower_calculate_key_layers()
429 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: match on TCP flags requires a match on L3 protoco… in nfp_flower_calculate_key_layers()
447 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: match on TCP flags requires a match on IPv4/IPv6"… in nfp_flower_calculate_key_layers()
458 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: match on unknown control flag"); in nfp_flower_calculate_key_layers()
923 struct netlink_ext_ack *extack = NULL; in nfp_flower_merge_offloaded_flows() local
930 extack = merge_tc_off.common.extack; in nfp_flower_merge_offloaded_flows()
968 merge_flow->ingress_dev, extack); in nfp_flower_merge_offloaded_flows()
1018 struct netlink_ext_ack *extack) in nfp_flower_validate_pre_tun_rule() argument
1041 NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: too many match fields"); in nfp_flower_validate_pre_tun_rule()
1046 NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: MAC fields match required"); in nfp_flower_validate_pre_tun_rule()
1057 NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: dest MAC field must not be masked"); in nfp_flower_validate_pre_tun_rule()
1071 …NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: only flags and proto can be matched in ip… in nfp_flower_validate_pre_tun_rule()
1081 …NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: match on VLAN must have VLAN pop as first… in nfp_flower_validate_pre_tun_rule()
1090 …NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: non egress action detected where egress w… in nfp_flower_validate_pre_tun_rule()
1098 NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: egress is not the last action"); in nfp_flower_validate_pre_tun_rule()
1121 struct netlink_ext_ack *extack = NULL; in nfp_flower_add_offload() local
1127 extack = flow->common.extack; in nfp_flower_add_offload()
1136 &tun_type, extack); in nfp_flower_add_offload()
1147 flow_pay, tun_type, extack); in nfp_flower_add_offload()
1151 err = nfp_flower_compile_action(app, flow, netdev, flow_pay, extack); in nfp_flower_add_offload()
1156 err = nfp_flower_validate_pre_tun_rule(app, flow_pay, extack); in nfp_flower_add_offload()
1161 err = nfp_compile_flow_metadata(app, flow, flow_pay, netdev, extack); in nfp_flower_add_offload()
1169 NL_SET_ERR_MSG_MOD(extack, "invalid entry: cannot insert flow into tables for offloads"); in nfp_flower_add_offload()
1292 struct netlink_ext_ack *extack = NULL; in nfp_flower_del_offload() local
1297 extack = flow->common.extack; in nfp_flower_del_offload()
1303 NL_SET_ERR_MSG_MOD(extack, "invalid entry: cannot remove flow that does not exist"); in nfp_flower_del_offload()
1402 struct netlink_ext_ack *extack = NULL; in nfp_flower_get_stats() local
1406 extack = flow->common.extack; in nfp_flower_get_stats()
1409 NL_SET_ERR_MSG_MOD(extack, "invalid entry: cannot dump stats for flow that does not exist"); in nfp_flower_get_stats()