Searched refs:extack (Results 51 - 75 of 779) sorted by relevance

1234567891011>>

/linux-master/net/sched/
H A Dsch_mqprio_lib.h14 struct netlink_ext_ack *extack);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan.c12 u32 *action, struct netlink_ext_ack *extack)
29 extack);
37 struct netlink_ext_ack *extack,
43 NL_SET_ERR_MSG_MOD(extack, "Total vlans used is greater than supported");
48 NL_SET_ERR_MSG_MOD(extack, "firmware vlan actions is not supported");
82 NL_SET_ERR_MSG_MOD(extack, "Unexpected action id for VLAN");
95 struct netlink_ext_ack *extack)
106 err = parse_tc_vlan_action(priv, &vlan_act, attr->esw_attr, &attr->action, extack, NULL);
117 err = mlx5e_tc_act_vlan_add_push_action(priv, attr, out_dev, extack);
125 struct netlink_ext_ack *extack)
10 add_vlan_prio_tag_rewrite_action(struct mlx5e_priv *priv, struct mlx5e_tc_flow_parse_attr *parse_attr, u32 *action, struct netlink_ext_ack *extack) argument
33 parse_tc_vlan_action(struct mlx5e_priv *priv, const struct flow_action_entry *act, struct mlx5_esw_flow_attr *attr, u32 *action, struct netlink_ext_ack *extack, struct mlx5e_tc_act_parse_state *parse_state) argument
92 mlx5e_tc_act_vlan_add_push_action(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct net_device **out_dev, struct netlink_ext_ack *extack) argument
123 mlx5e_tc_act_vlan_add_pop_action(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct netlink_ext_ack *extack) argument
180 struct netlink_ext_ack *extack = parse_state->extack; local
[all...]
H A Dpedit.c23 struct netlink_ext_ack *extack)
31 NL_SET_ERR_MSG_MOD(extack,
49 struct netlink_ext_ack *extack)
58 NL_SET_ERR_MSG_MOD(extack, "legacy pedit isn't offloaded");
63 NL_SET_ERR_MSG_MOD(extack, "The pedit offload action is not supported");
71 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd], extack);
96 parse_state->extack);
21 set_pedit_val(u8 hdr_type, u32 mask, u32 val, u32 offset, struct pedit_headers_action *hdrs, struct netlink_ext_ack *extack) argument
46 mlx5e_tc_act_pedit_parse_action(struct mlx5e_priv *priv, const struct flow_action_entry *act, int namespace, struct pedit_headers_action *hdrs, struct netlink_ext_ack *extack) argument
H A Dvlan_mangle.c15 u32 *action, struct netlink_ext_ack *extack)
35 NL_SET_ERR_MSG_MOD(extack, "VLAN rewrite action must have VLAN protocol match");
42 NL_SET_ERR_MSG_MOD(extack, "Changing VLAN prio is not supported");
47 extack);
64 &attr->action, parse_state->extack);
12 mlx5e_tc_act_vlan_add_rewrite_action(struct mlx5e_priv *priv, int namespace, const struct flow_action_entry *act, struct mlx5e_tc_flow_parse_attr *parse_attr, u32 *action, struct netlink_ext_ack *extack) argument
H A Dmark.c14 NL_SET_ERR_MSG_MOD(parse_state->extack, "Bad flow mark, only 16 bit supported");
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c9 struct netlink_ext_ack *extack)
15 NL_SET_ERR_MSG_MOD(extack,
23 NL_SET_ERR_MSG_MOD(extack,
30 NL_SET_ERR_MSG_MOD(extack,
36 NL_SET_ERR_MSG_MOD(extack,
67 struct netlink_ext_ack *extack)
72 NL_SET_ERR_MSG_MOD(extack,
5 lan966x_mirror_port_add(struct lan966x_port *port, struct flow_action_entry *action, unsigned long mirror_id, bool ingress, struct netlink_ext_ack *extack) argument
65 lan966x_mirror_port_del(struct lan966x_port *port, bool ingress, struct netlink_ext_ack *extack) argument
H A Dlan966x_police.c76 struct netlink_ext_ack *extack)
79 NL_SET_ERR_MSG_MOD(extack,
86 NL_SET_ERR_MSG_MOD(extack,
93 NL_SET_ERR_MSG_MOD(extack,
100 NL_SET_ERR_MSG_MOD(extack,
106 NL_SET_ERR_MSG_MOD(extack,
112 NL_SET_ERR_MSG_MOD(extack,
118 NL_SET_ERR_MSG_MOD(extack,
124 NL_SET_ERR_MSG_MOD(extack,
137 struct netlink_ext_ack *extack)
71 lan966x_police_validate(struct lan966x_port *port, const struct flow_action *action, const struct flow_action_entry *act, unsigned long police_id, bool ingress, struct netlink_ext_ack *extack) argument
132 lan966x_police_port_add(struct lan966x_port *port, struct flow_action *action, struct flow_action_entry *act, unsigned long police_id, bool ingress, struct netlink_ext_ack *extack) argument
181 lan966x_police_port_del(struct lan966x_port *port, unsigned long police_id, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/net/bridge/
H A Dbr_mrp_netlink.c32 int cmd, struct netlink_ext_ack *extack)
39 br_mrp_instance_policy, extack);
46 NL_SET_ERR_MSG_MOD(extack,
77 struct netlink_ext_ack *extack)
84 br_mrp_port_state_policy, extack);
89 NL_SET_ERR_MSG_MOD(extack, "Missing attribute: STATE");
106 struct netlink_ext_ack *extack)
113 br_mrp_port_role_policy, extack);
118 NL_SET_ERR_MSG_MOD(extack, "Missing attribute: ROLE");
135 struct netlink_ext_ack *extack)
31 br_mrp_instance_parse(struct net_bridge *br, struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) argument
75 br_mrp_port_state_parse(struct net_bridge_port *p, struct nlattr *attr, struct netlink_ext_ack *extack) argument
104 br_mrp_port_role_parse(struct net_bridge_port *p, struct nlattr *attr, struct netlink_ext_ack *extack) argument
134 br_mrp_ring_state_parse(struct net_bridge *br, struct nlattr *attr, struct netlink_ext_ack *extack) argument
168 br_mrp_ring_role_parse(struct net_bridge *br, struct nlattr *attr, struct netlink_ext_ack *extack) argument
205 br_mrp_start_test_parse(struct net_bridge *br, struct nlattr *attr, struct netlink_ext_ack *extack) argument
248 br_mrp_in_state_parse(struct net_bridge *br, struct nlattr *attr, struct netlink_ext_ack *extack) argument
284 br_mrp_in_role_parse(struct net_bridge *br, struct nlattr *attr, struct netlink_ext_ack *extack) argument
324 br_mrp_start_in_test_parse(struct net_bridge *br, struct nlattr *attr, struct netlink_ext_ack *extack) argument
356 br_mrp_parse(struct net_bridge *br, struct net_bridge_port *p, struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) argument
[all...]
H A Dbr_vlan_options.c93 struct netlink_ext_ack *extack)
100 NL_SET_ERR_MSG_MOD(extack, "Invalid vlan state");
110 NL_SET_ERR_MSG_MOD(extack, "Can't modify vlan state when using kernel STP");
115 NL_SET_ERR_MSG_MOD(extack, "Can't modify vlan state directly when MST is enabled");
140 struct netlink_ext_ack *extack)
148 NL_SET_ERR_MSG_MOD(extack, "Can't modify tunnel mapping of non-port vlans");
152 NL_SET_ERR_MSG_MOD(extack, "Port doesn't have tunnel flag set");
158 br_vlandb_tinfo_pol, extack);
163 NL_SET_ERR_MSG_MOD(extack, "Missing tunnel command attribute");
170 NL_SET_ERR_MSG_MOD(extack, "Missin
89 br_vlan_modify_state(struct net_bridge_vlan_group *vg, struct net_bridge_vlan *v, u8 state, bool *changed, struct netlink_ext_ack *extack) argument
136 br_vlan_modify_tunnel(const struct net_bridge_port *p, struct net_bridge_vlan *v, struct nlattr **tb, bool *changed, struct netlink_ext_ack *extack) argument
193 br_vlan_process_one_opts(const struct net_bridge *br, const struct net_bridge_port *p, struct net_bridge_vlan_group *vg, struct net_bridge_vlan *v, struct nlattr **tb, bool *changed, struct netlink_ext_ack *extack) argument
263 br_vlan_process_options(const struct net_bridge *br, const struct net_bridge_port *p, struct net_bridge_vlan *range_start, struct net_bridge_vlan *range_end, struct nlattr **tb, struct netlink_ext_ack *extack) argument
511 br_vlan_process_global_one_opts(const struct net_bridge *br, struct net_bridge_vlan_group *vg, struct net_bridge_vlan *v, struct nlattr **tb, bool *changed, struct netlink_ext_ack *extack) argument
646 br_vlan_rtm_process_global_options(struct net_device *dev, const struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/net/devlink/
H A Dport.c63 struct netlink_ext_ack *extack)
72 extack);
85 struct netlink_ext_ack *extack)
95 &is_enable, extack);
108 struct netlink_ext_ack *extack)
117 err = devlink_port->ops->port_fn_ipsec_crypto_get(devlink_port, &is_enable, extack);
130 struct netlink_ext_ack *extack)
139 err = devlink_port->ops->port_fn_ipsec_packet_get(devlink_port, &is_enable, extack);
152 struct netlink_ext_ack *extack,
158 err = devlink_port_fn_roce_fill(devlink_port, &caps, extack);
61 devlink_port_fn_roce_fill(struct devlink_port *devlink_port, struct nla_bitfield32 *caps, struct netlink_ext_ack *extack) argument
83 devlink_port_fn_migratable_fill(struct devlink_port *devlink_port, struct nla_bitfield32 *caps, struct netlink_ext_ack *extack) argument
106 devlink_port_fn_ipsec_crypto_fill(struct devlink_port *devlink_port, struct nla_bitfield32 *caps, struct netlink_ext_ack *extack) argument
128 devlink_port_fn_ipsec_packet_fill(struct devlink_port *devlink_port, struct nla_bitfield32 *caps, struct netlink_ext_ack *extack) argument
150 devlink_port_fn_caps_fill(struct devlink_port *devlink_port, struct sk_buff *msg, struct netlink_ext_ack *extack, bool *msg_updated) argument
266 devlink_port_fn_hw_addr_fill(struct devlink_port *port, struct sk_buff *msg, struct netlink_ext_ack *extack, bool *msg_updated) argument
306 devlink_port_fn_state_fill(struct devlink_port *port, struct sk_buff *msg, struct netlink_ext_ack *extack, bool *msg_updated) argument
342 devlink_port_fn_mig_set(struct devlink_port *devlink_port, bool enable, struct netlink_ext_ack *extack) argument
350 devlink_port_fn_roce_set(struct devlink_port *devlink_port, bool enable, struct netlink_ext_ack *extack) argument
358 devlink_port_fn_ipsec_crypto_set(struct devlink_port *devlink_port, bool enable, struct netlink_ext_ack *extack) argument
365 devlink_port_fn_ipsec_packet_set(struct devlink_port *devlink_port, bool enable, struct netlink_ext_ack *extack) argument
371 devlink_port_fn_caps_set(struct devlink_port *devlink_port, const struct nlattr *attr, struct netlink_ext_ack *extack) argument
413 devlink_nl_port_function_attrs_put(struct sk_buff *msg, struct devlink_port *port, struct netlink_ext_ack *extack) argument
446 devlink_nl_port_fill(struct sk_buff *msg, struct devlink_port *devlink_port, enum devlink_command cmd, u32 portid, u32 seq, int flags, struct netlink_ext_ack *extack) argument
625 devlink_port_function_hw_addr_set(struct devlink_port *port, const struct nlattr *attr, struct netlink_ext_ack *extack) argument
653 devlink_port_fn_state_set(struct devlink_port *port, const struct nlattr *attr, struct netlink_ext_ack *extack) argument
663 devlink_port_function_validate(struct devlink_port *devlink_port, struct nlattr **tb, struct netlink_ext_ack *extack) argument
732 devlink_port_function_set(struct devlink_port *port, const struct nlattr *attr, struct netlink_ext_ack *extack) argument
793 struct netlink_ext_ack *extack = info->extack; local
846 struct netlink_ext_ack *extack = info->extack; local
911 struct netlink_ext_ack *extack = info->extack; local
[all...]
H A Drate.c86 int flags, struct netlink_ext_ack *extack)
232 info->extack);
271 info->extack);
275 info->extack);
287 NL_SET_ERR_MSG(info->extack, "Parent to self is not allowed");
293 NL_SET_ERR_MSG(info->extack, "Node is already a parent of parent node.");
300 info->extack);
304 info->extack);
333 rate, info->extack);
336 rate, info->extack);
83 devlink_nl_rate_fill(struct sk_buff *msg, struct devlink_rate *devlink_rate, enum devlink_command cmd, u32 portid, u32 seq, int flags, struct netlink_ext_ack *extack) argument
564 devlink_rate_nodes_check(struct devlink *devlink, u16 mode, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c34 struct netlink_ext_ack *extack)
46 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: BOS field must explicitly be set for MPLS push");
135 struct netlink_ext_ack *extack)
147 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at LAG action");
159 err = nfp_flower_lag_populate_pre_action(app, out_dev, pre_lag, extack);
177 bool pkt_host, struct netlink_ext_ack *extack)
189 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid egress interface for mirred action");
198 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: egress interface does not match the required tunnel type");
203 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: cannot offload more than one tunnel mirred output per filter");
218 NL_SET_ERR_MSG_MOD(extack, "invali
32 nfp_fl_push_mpls(struct nfp_fl_push_mpls *push_mpls, const struct flow_action_entry *act, struct netlink_ext_ack *extack) argument
133 nfp_fl_pre_lag(struct nfp_app *app, const struct flow_action_entry *act, struct nfp_fl_payload *nfp_flow, int act_len, struct netlink_ext_ack *extack) argument
172 nfp_fl_output(struct nfp_app *app, struct nfp_fl_output *output, const struct flow_action_entry *act, struct nfp_fl_payload *nfp_flow, bool last, struct net_device *in_dev, enum nfp_flower_tun_type tun_type, int *tun_out_cnt, bool pkt_host, struct netlink_ext_ack *extack) argument
330 nfp_fl_push_geneve_options(struct nfp_fl_payload *nfp_fl, int *list_len, const struct flow_action_entry *act, struct netlink_ext_ack *extack) argument
400 nfp_fl_set_tun(struct nfp_app *app, struct nfp_fl_set_tun *set_tun, const struct flow_action_entry *act, struct nfp_fl_pre_tunnel *pre_tun, enum nfp_flower_tun_type tun_type, struct net_device *netdev, struct netlink_ext_ack *extack) argument
520 nfp_fl_set_eth(const struct flow_action_entry *act, u32 off, struct nfp_fl_set_eth *set_eth, struct netlink_ext_ack *extack) argument
555 nfp_fl_set_ip4(const struct flow_action_entry *act, u32 off, struct nfp_fl_set_ip4_addrs *set_ip_addr, struct nfp_fl_set_ip4_ttl_tos *set_ip_ttl_tos, struct netlink_ext_ack *extack) argument
655 nfp_fl_set_ip6_hop_limit_flow_label(u32 off, __be32 exact, __be32 mask, struct nfp_fl_set_ipv6_tc_hl_fl *ip_hl_fl, struct netlink_ext_ack *extack) argument
697 nfp_fl_set_ip6(const struct flow_action_entry *act, u32 off, struct nfp_fl_set_ipv6_addr *ip_dst, struct nfp_fl_set_ipv6_addr *ip_src, struct nfp_fl_set_ipv6_tc_hl_fl *ip_hl_fl, struct netlink_ext_ack *extack) argument
737 nfp_fl_set_tport(const struct flow_action_entry *act, u32 off, struct nfp_fl_set_tport *set_tport, int opcode, struct netlink_ext_ack *extack) argument
894 nfp_fl_pedit(const struct flow_action_entry *act, char *nfp_action, int *a_len, u32 *csum_updated, struct nfp_flower_pedit_acts *set_act, struct netlink_ext_ack *extack) argument
943 nfp_flower_meter_action(struct nfp_app *app, const struct flow_action_entry *action, struct nfp_fl_payload *nfp_fl, int *a_len, struct net_device *netdev, struct netlink_ext_ack *extack) argument
973 nfp_flower_output_action(struct nfp_app *app, const struct flow_action_entry *act, struct nfp_fl_payload *nfp_fl, int *a_len, struct net_device *netdev, bool last, enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, int *out_cnt, u32 *csum_updated, bool pkt_host, struct netlink_ext_ack *extack) argument
1026 nfp_flower_loop_action(struct nfp_app *app, const struct flow_action_entry *act, struct flow_rule *rule, struct nfp_fl_payload *nfp_fl, int *a_len, struct net_device *netdev, enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, int *out_cnt, u32 *csum_updated, struct nfp_flower_pedit_acts *set_act, bool *pkt_host, struct netlink_ext_ack *extack, int act_idx) argument
1257 nfp_flower_compile_action(struct nfp_app *app, struct flow_rule *rule, struct net_device *netdev, struct nfp_fl_payload *nfp_flow, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c31 struct netlink_ext_ack *extack,
56 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free");
64 NL_SET_ERR_MSG_MOD(extack,
103 struct netlink_ext_ack *extack,
128 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free");
136 NL_SET_ERR_MSG_MOD(extack,
175 struct netlink_ext_ack *extack,
183 return sja1105_setup_bcast_policer(priv, extack, cookie, port,
186 return sja1105_setup_tc_policer(priv, extack, cookie, port,
190 NL_SET_ERR_MSG_MOD(extack, "Unknow
30 sja1105_setup_bcast_policer(struct sja1105_private *priv, struct netlink_ext_ack *extack, unsigned long cookie, int port, u64 rate_bytes_per_sec, u32 burst) argument
102 sja1105_setup_tc_policer(struct sja1105_private *priv, struct netlink_ext_ack *extack, unsigned long cookie, int port, int tc, u64 rate_bytes_per_sec, u32 burst) argument
174 sja1105_flower_policer(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, u64 rate_bytes_per_sec, u32 burst) argument
195 sja1105_flower_parse_key(struct sja1105_private *priv, struct netlink_ext_ack *extack, struct flow_cls_offload *cls, struct sja1105_key *key) argument
303 sja1105_policer_validate(const struct flow_action *action, const struct flow_action_entry *act, struct netlink_ext_ack *extack) argument
347 struct netlink_ext_ack *extack = cls->common.extack; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c26 struct netlink_ext_ack *extack = f->common.extack; local
38 NL_SET_ERR_MSG_MOD(extack,
67 struct netlink_ext_ack *extack)
128 struct netlink_ext_ack *extack = f->common.extack; local
144 NL_SET_ERR_MSG_MOD(extack, "Matching on GENEVE VNI is not supported");
162 struct netlink_ext_ack *extack = f->common.extack; local
182 NL_SET_ERR_MSG_MOD(extack,
64 mlx5e_tc_tun_init_encap_attr_geneve(struct net_device *tunnel_dev, struct mlx5e_priv *priv, struct mlx5e_encap_entry *e, struct netlink_ext_ack *extack) argument
293 struct netlink_ext_ack *extack = f->common.extack; local
[all...]
H A Dtc_tun_vxlan.c23 struct netlink_ext_ack *extack = f->common.extack; local
35 NL_SET_ERR_MSG_MOD(extack,
64 struct netlink_ext_ack *extack)
71 NL_SET_ERR_MSG_MOD(extack,
115 struct netlink_ext_ack *extack = f->common.extack; local
124 NL_SET_ERR_MSG_MOD(extack, "Matching on VxLAN GBP is not supported");
129 NL_SET_ERR_MSG_MOD(extack, "Wrong VxLAN option type: not GBP");
135 NL_SET_ERR_MSG_MOD(extack, "VxLA
61 mlx5e_tc_tun_init_encap_attr_vxlan(struct net_device *tunnel_dev, struct mlx5e_priv *priv, struct mlx5e_encap_entry *e, struct netlink_ext_ack *extack) argument
164 struct netlink_ext_ack *extack = f->common.extack; local
[all...]
/linux-master/drivers/net/ethernet/amd/pds_core/
H A Dfw.c64 struct netlink_ext_ack *extack)
88 NL_SET_ERR_MSG_MOD(extack, "Firmware wait timed out");
92 NL_SET_ERR_MSG_MOD(extack, "Firmware wait failed");
99 struct netlink_ext_ack *extack)
145 NL_SET_ERR_MSG_MOD(extack, "Segment download failed");
160 NL_SET_ERR_MSG_MOD(extack, "Failed to start firmware install");
167 extack);
176 NL_SET_ERR_MSG_MOD(extack, "Failed to start firmware select");
183 extack);
60 pdsc_fw_status_long_wait(struct pdsc *pdsc, const char *label, unsigned long timeout, u8 fw_cmd, struct netlink_ext_ack *extack) argument
98 pdsc_firmware_update(struct pdsc *pdsc, const struct firmware *fw, struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddevlink.c16 struct netlink_ext_ack *extack)
20 return mlx5_firmware_flash(dev, params->fw, extack);
42 struct netlink_ext_ack *extack)
84 static int mlx5_devlink_reload_fw_activate(struct devlink *devlink, struct netlink_ext_ack *extack) argument
94 NL_SET_ERR_MSG_MOD(extack, "FW activate requires reboot");
99 err = mlx5_fw_reset_set_reset_sync(dev, net_port_alive, extack);
110 NL_SET_ERR_MSG_MOD(extack, "FW activate aborted, PCI reads fail after reset");
116 struct netlink_ext_ack *extack)
126 NL_SET_ERR_MSG_MOD(extack,
137 struct netlink_ext_ack *extack)
14 mlx5_devlink_flash_update(struct devlink *devlink, struct devlink_flash_update_params *params, struct netlink_ext_ack *extack) argument
41 mlx5_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req, struct netlink_ext_ack *extack) argument
115 mlx5_devlink_trigger_fw_live_patch(struct devlink *devlink, struct netlink_ext_ack *extack) argument
134 mlx5_devlink_reload_down(struct devlink *devlink, bool netns_change, enum devlink_reload_action action, enum devlink_reload_limit limit, struct netlink_ext_ack *extack) argument
188 mlx5_devlink_reload_up(struct devlink *devlink, enum devlink_reload_action action, enum devlink_reload_limit limit, u32 *actions_performed, struct netlink_ext_ack *extack) argument
273 mlx5_devlink_trap_action_set(struct devlink *devlink, const struct devlink_trap *trap, enum devlink_trap_action action, struct netlink_ext_ack *extack) argument
403 mlx5_devlink_enable_roce_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
424 mlx5_devlink_large_group_num_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
440 mlx5_devlink_eq_depth_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
448 mlx5_devlink_hairpin_num_queues_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
456 mlx5_devlink_hairpin_queue_size_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
594 mlx5_devlink_enable_rdma_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
709 mlx5_devlink_max_uc_list_validate(struct devlink *devlink, u32 id, union devlink_param_value val, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c57 u32 controller, u32 sfnum, struct netlink_ext_ack *extack)
66 NL_SET_ERR_MSG_MOD(extack, "Invalid controller number");
101 NL_SET_ERR_MSG_MOD(extack, "SF already exist. Choose different sfnum");
148 struct netlink_ext_ack *extack)
162 struct netlink_ext_ack *extack)
169 NL_SET_ERR_MSG_MOD(extack, "SF is inactivated but it is still attached");
201 struct netlink_ext_ack *extack)
209 err = mlx5_sf_activate(dev, sf, extack);
221 struct netlink_ext_ack *extack)
227 return mlx5_sf_state_set(dev, table, sf, state, extack);
56 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, u32 controller, u32 sfnum, struct netlink_ext_ack *extack) argument
145 mlx5_devlink_sf_port_fn_state_get(struct devlink_port *dl_port, enum devlink_port_fn_state *state, enum devlink_port_fn_opstate *opstate, struct netlink_ext_ack *extack) argument
161 mlx5_sf_activate(struct mlx5_core_dev *dev, struct mlx5_sf *sf, struct netlink_ext_ack *extack) argument
198 mlx5_sf_state_set(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, struct mlx5_sf *sf, enum devlink_port_fn_state state, struct netlink_ext_ack *extack) argument
219 mlx5_devlink_sf_port_fn_state_set(struct devlink_port *dl_port, enum devlink_port_fn_state state, struct netlink_ext_ack *extack) argument
230 mlx5_sf_add(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, const struct devlink_port_new_attrs *new_attr, struct netlink_ext_ack *extack, struct devlink_port **dl_port) argument
257 mlx5_sf_new_check_attr(struct mlx5_core_dev *dev, const struct devlink_port_new_attrs *new_attr, struct netlink_ext_ack *extack) argument
292 mlx5_devlink_sf_port_new(struct devlink *devlink, const struct devlink_port_new_attrs *new_attr, struct netlink_ext_ack *extack, struct devlink_port **dl_port) argument
352 mlx5_devlink_sf_port_del(struct devlink *devlink, struct devlink_port *dl_port, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/net/8021q/
H A Dvlan_netlink.c40 struct netlink_ext_ack *extack)
48 NL_SET_ERR_MSG_MOD(extack, "Invalid link address");
52 NL_SET_ERR_MSG_MOD(extack, "Invalid link address");
58 NL_SET_ERR_MSG_MOD(extack, "VLAN properties not specified");
68 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN protocol");
76 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN id");
86 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN flags");
93 NL_SET_ERR_MSG_MOD(extack, "Invalid ingress QOS map");
98 NL_SET_ERR_MSG_MOD(extack, "Invalid egress QOS map");
106 struct netlink_ext_ack *extack)
39 vlan_validate(struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
104 vlan_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
140 vlan_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c20 struct netlink_ext_ack *extack)
23 NL_SET_ERR_MSG_MOD(extack,
30 NL_SET_ERR_MSG_MOD(extack,
37 NL_SET_ERR_MSG_MOD(extack,
44 NL_SET_ERR_MSG_MOD(extack,
50 NL_SET_ERR_MSG_MOD(extack,
62 struct netlink_ext_ack *extack)
72 if (!flow_action_mixed_hw_stats_check(flow_action, extack))
80 err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack);
84 NL_SET_ERR_MSG_MOD(extack, "Unsupporte
18 mlxsw_sp_policer_validate(const struct flow_action *action, const struct flow_action_entry *act, struct netlink_ext_ack *extack) argument
58 mlxsw_sp_flower_parse_actions(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct mlxsw_sp_acl_rule_info *rulei, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
295 mlxsw_sp_flower_parse_meta_iif(struct mlxsw_sp_acl_rule_info *rulei, const struct mlxsw_sp_flow_block *block, const struct flow_match_meta *match, struct netlink_ext_ack *extack) argument
[all...]
H A Dspectrum_nve_vxlan.c22 struct netlink_ext_ack *extack)
25 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Zero UDP checksum must be allowed for TX");
30 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Unsupported flag");
38 struct netlink_ext_ack *extack)
41 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Zero UDP checksum must be allowed for TX");
46 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Zero UDP checksum must be allowed for RX");
51 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Unsupported flag");
60 struct netlink_ext_ack *extack)
66 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Multicast destination IP is not supported");
71 NL_SET_ERR_MSG_MOD(extack, "VxLA
21 mlxsw_sp_nve_vxlan_ipv4_flags_check(const struct vxlan_config *cfg, struct netlink_ext_ack *extack) argument
37 mlxsw_sp_nve_vxlan_ipv6_flags_check(const struct vxlan_config *cfg, struct netlink_ext_ack *extack) argument
58 mlxsw_sp_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve, const struct mlxsw_sp_nve_params *params, struct netlink_ext_ack *extack) argument
119 mlxsw_sp1_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve, const struct mlxsw_sp_nve_params *params, struct netlink_ext_ack *extack) argument
286 mlxsw_sp_nve_vxlan_fdb_replay(const struct net_device *nve_dev, __be32 vni, struct netlink_ext_ack *extack) argument
[all...]
H A Dspectrum_acl.c404 struct netlink_ext_ack *extack)
407 fa_cookie, extack);
419 struct netlink_ext_ack *extack)
427 NL_SET_ERR_MSG_MOD(extack, "Invalid output device");
432 NL_SET_ERR_MSG_MOD(extack, "Invalid output device");
445 local_port, in_port, extack);
452 struct netlink_ext_ack *extack)
458 NL_SET_ERR_MSG_MOD(extack, "Only a single mirror source is allowed");
469 extack);
475 struct netlink_ext_ack *extack)
401 mlxsw_sp_acl_rulei_act_drop(struct mlxsw_sp_acl_rule_info *rulei, bool ingress, const struct flow_action_cookie *fa_cookie, struct netlink_ext_ack *extack) argument
416 mlxsw_sp_acl_rulei_act_fwd(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct net_device *out_dev, struct netlink_ext_ack *extack) argument
448 mlxsw_sp_acl_rulei_act_mirror(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct mlxsw_sp_flow_block *block, struct net_device *out_dev, struct netlink_ext_ack *extack) argument
472 mlxsw_sp_acl_rulei_act_vlan(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u32 action, u16 vid, u16 proto, u8 prio, struct netlink_ext_ack *extack) argument
504 mlxsw_sp_acl_rulei_act_priority(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u32 prio, struct netlink_ext_ack *extack) argument
584 mlxsw_sp_acl_rulei_act_mangle_field(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct mlxsw_sp_acl_mangle_action *mact, u32 val, struct netlink_ext_ack *extack) argument
604 mlxsw_sp1_acl_rulei_act_mangle_field(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct mlxsw_sp_acl_mangle_action *mact, u32 val, struct netlink_ext_ack *extack) argument
620 mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd(struct mlxsw_sp_acl_rule_info *rulei, enum mlxsw_sp_acl_mangle_field field, u32 val, struct netlink_ext_ack *extack) argument
635 mlxsw_sp2_acl_rulei_act_mangle_field(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct mlxsw_sp_acl_mangle_action *mact, u32 val, struct netlink_ext_ack *extack) argument
714 mlxsw_sp_acl_rulei_act_mangle(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, enum flow_action_mangle_base htype, u32 offset, u32 mask, u32 val, struct netlink_ext_ack *extack) argument
740 mlxsw_sp_acl_rulei_act_police(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u32 index, u64 rate_bytes_ps, u32 burst, struct netlink_ext_ack *extack) argument
758 mlxsw_sp_acl_rulei_act_count(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct netlink_ext_ack *extack) argument
772 mlxsw_sp_acl_rulei_act_fid_set(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u16 fid, struct netlink_ext_ack *extack) argument
788 mlxsw_sp_acl_rulei_act_sample(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct mlxsw_sp_flow_block *block, struct psample_group *psample_group, u32 rate, u32 trunc_size, bool truncate, struct netlink_ext_ack *extack) argument
814 mlxsw_sp_acl_rule_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ruleset *ruleset, unsigned long cookie, struct mlxsw_afa_block *afa_block, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/net/ethtool/
H A Dbitset.c380 struct netlink_ext_ack *extack)
386 bit_policy, extack);
395 NL_SET_ERR_MSG_ATTR(extack,
404 NL_SET_ERR_MSG_ATTR(extack, bit_attr,
412 NL_SET_ERR_MSG_ATTR(extack,
418 NL_SET_ERR_MSG_ATTR(extack, bit_attr,
432 struct netlink_ext_ack *extack, bool *mod)
440 NL_SET_ERR_MSG_ATTR(extack, tb[ETHTOOL_A_BITSET_VALUE],
445 NL_SET_ERR_MSG_ATTR(extack, tb[ETHTOOL_A_BITSET_MASK],
459 NL_SET_ERR_MSG_ATTR(extack, bit_att
377 ethnl_parse_bit(unsigned int *index, bool *val, unsigned int nbits, const struct nlattr *bit_attr, bool no_mask, ethnl_string_array_t names, struct netlink_ext_ack *extack) argument
429 ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits, const struct nlattr *attr, struct nlattr **tb, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument
480 ethnl_compact_sanity_checks(unsigned int nbits, const struct nlattr *nest, struct nlattr **tb, struct netlink_ext_ack *extack) argument
552 ethnl_update_bitset32(u32 *bitmap, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument
604 ethnl_parse_bitset(unsigned long *val, unsigned long *mask, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack) argument
771 ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument
825 ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument
[all...]
H A Dpse-pd.c35 struct netlink_ext_ack *extack,
41 NL_SET_ERR_MSG(extack, "No PHY is attached");
46 NL_SET_ERR_MSG(extack, "No PSE is attached");
52 return pse_ethtool_get_status(phydev->psec, extack, &data->status);
67 ret = pse_get_pse_attributes(dev, info->extack, data);
137 NL_SET_ERR_MSG(info->extack, "No PHY is attached");
142 NL_SET_ERR_MSG(info->extack, "No PSE is attached");
147 return pse_ethtool_set_config(phydev->psec, info->extack, &config);
34 pse_get_pse_attributes(struct net_device *dev, struct netlink_ext_ack *extack, struct pse_reply_data *data) argument
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c13 struct netlink_ext_ack *extack)
16 NL_SET_ERR_MSG_MOD(extack,
23 NL_SET_ERR_MSG_MOD(extack,
30 NL_SET_ERR_MSG_MOD(extack,
37 NL_SET_ERR_MSG_MOD(extack,
43 NL_SET_ERR_MSG_MOD(extack,
54 struct netlink_ext_ack *extack = cls->common.extack; local
65 NL_SET_ERR_MSG_MOD(extack,
69 NL_SET_ERR_MSG_MOD(extack,
11 cxgb4_policer_validate(const struct flow_action *action, const struct flow_action_entry *act, struct netlink_ext_ack *extack) argument
178 struct netlink_ext_ack *extack = cls->common.extack; local
242 struct netlink_ext_ack *extack = cls->common.extack; local
303 struct netlink_ext_ack *extack = cls->common.extack; local
407 struct netlink_ext_ack *extack = cls_matchall->common.extack; local
[all...]

Completed in 664 milliseconds

1234567891011>>