Lines Matching refs:extack
34 struct netlink_ext_ack *extack) in nfp_fl_push_mpls() argument
46 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: BOS field must explicitly be set for MPLS push"); in nfp_fl_push_mpls()
135 struct netlink_ext_ack *extack) in nfp_fl_pre_lag() argument
147 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at LAG … in nfp_fl_pre_lag()
159 err = nfp_flower_lag_populate_pre_action(app, out_dev, pre_lag, extack); in nfp_fl_pre_lag()
177 bool pkt_host, struct netlink_ext_ack *extack) in nfp_fl_output() argument
189 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid egress interface for mirred action"); in nfp_fl_output()
198 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: egress interface does not match the required tunn… in nfp_fl_output()
203 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: cannot offload more than one tunnel mirred output… in nfp_fl_output()
218 NL_SET_ERR_MSG_MOD(extack, "invalid entry: cannot find group id for LAG action"); in nfp_fl_output()
225 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pre-tunnel rules not supported in loaded firmware… in nfp_fl_output()
230 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pre-tunnel rules require single egress dev and pt… in nfp_fl_output()
244 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: ingress and egress interfaces are on different de… in nfp_fl_output()
250 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: egress interface is not an nfp port"); in nfp_fl_output()
256 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid port id for egress interface"); in nfp_fl_output()
332 struct netlink_ext_ack *extack) in nfp_fl_push_geneve_options() argument
351 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed number of geneve options exceeded… in nfp_fl_push_geneve_options()
358 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at push… in nfp_fl_push_geneve_options()
367 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at push… in nfp_fl_push_geneve_options()
404 struct net_device *netdev, struct netlink_ext_ack *extack) in nfp_fl_set_tun() argument
426 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: loaded firmware does not support geneve options o… in nfp_fl_set_tun()
431 NL_SET_ERR_MSG_MOD(extack, in nfp_fl_set_tun()
521 struct nfp_fl_set_eth *set_eth, struct netlink_ext_ack *extack) in nfp_fl_set_eth() argument
526 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit ethernet action"); in nfp_fl_set_eth()
534 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit ethernet action"); in nfp_fl_set_eth()
558 struct netlink_ext_ack *extack) in nfp_fl_set_ip4() argument
571 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit IPv4 action"); in nfp_fl_set_ip4()
597 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit IPv4 ttl action"); in nfp_fl_set_ip4()
615 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit IPv4 tos action"); in nfp_fl_set_ip4()
628 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pedit on unsupported section of IPv4 header"); in nfp_fl_set_ip4()
657 struct netlink_ext_ack *extack) in nfp_fl_set_ip6_hop_limit_flow_label() argument
668 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit IPv6 hop limit action"); in nfp_fl_set_ip6_hop_limit_flow_label()
680 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit IPv6 flow info action"); in nfp_fl_set_ip6_hop_limit_flow_label()
701 struct netlink_ext_ack *extack) in nfp_fl_set_ip6() argument
712 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit IPv6 action"); in nfp_fl_set_ip6()
718 ip_hl_fl, extack); in nfp_fl_set_ip6()
729 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pedit on unsupported section of IPv6 header"); in nfp_fl_set_ip6()
739 struct netlink_ext_ack *extack) in nfp_fl_set_tport() argument
744 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pedit on unsupported section of L4 header"); in nfp_fl_set_tport()
752 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid pedit L4 action"); in nfp_fl_set_tport()
897 struct netlink_ext_ack *extack) in nfp_fl_pedit() argument
907 return nfp_fl_set_eth(act, offset, &set_act->set_eth, extack); in nfp_fl_pedit()
910 &set_act->set_ip_ttl_tos, extack); in nfp_fl_pedit()
914 &set_act->set_ip6_tc_hl_fl, extack); in nfp_fl_pedit()
917 NFP_FL_ACTION_OPCODE_SET_TCP, extack); in nfp_fl_pedit()
920 NFP_FL_ACTION_OPCODE_SET_UDP, extack); in nfp_fl_pedit()
922 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pedit on unsupported header"); in nfp_fl_pedit()
947 struct netlink_ext_ack *extack) in nfp_flower_meter_action() argument
953 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_meter_action()
960 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_meter_action()
979 struct netlink_ext_ack *extack) in nfp_flower_output_action() argument
989 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: set actions without updating checksums are not su… in nfp_flower_output_action()
994 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: mirred output increases action list size beyond t… in nfp_flower_output_action()
1000 tun_out_cnt, pkt_host, extack); in nfp_flower_output_action()
1010 prelag_size = nfp_fl_pre_lag(app, act, nfp_fl, *a_len, extack); in nfp_flower_output_action()
1014 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: LAG action has to be last action in action list"); in nfp_flower_output_action()
1033 struct netlink_ext_ack *extack, int act_idx) in nfp_flower_loop_action() argument
1054 extack); in nfp_flower_loop_action()
1063 extack); in nfp_flower_loop_action()
1070 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at pop … in nfp_flower_loop_action()
1083 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at push… in nfp_flower_loop_action()
1098 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: unsupported tunnel type in action list"); in nfp_flower_loop_action()
1103 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: unsupported tunnel flags in action list"); in nfp_flower_loop_action()
1113 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at tunn… in nfp_flower_loop_action()
1121 err = nfp_fl_push_geneve_options(nfp_fl, a_len, act, extack); in nfp_flower_loop_action()
1127 netdev, extack); in nfp_flower_loop_action()
1138 a_len, csum_updated, set_act, extack)) in nfp_flower_loop_action()
1144 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: unsupported csum update action in action list"); in nfp_flower_loop_action()
1155 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at push… in nfp_flower_loop_action()
1162 err = nfp_fl_push_mpls(psh_m, act, extack); in nfp_flower_loop_action()
1170 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at pop … in nfp_flower_loop_action()
1183 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at set … in nfp_flower_loop_action()
1202 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_loop_action()
1208 extack); in nfp_flower_loop_action()
1214 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: unsupported action in action list"); in nfp_flower_loop_action()
1261 struct netlink_ext_ack *extack) in nfp_flower_compile_action() argument
1270 if (!flow_action_hw_stats_check(&rule->action, extack, in nfp_flower_compile_action()
1288 &set_act, &pkt_host, extack, i); in nfp_flower_compile_action()