/Linux-v6.6/include/linux/ |
D | netlink.h | 98 #define NL_SET_ERR_MSG(extack, msg) do { \ argument 100 struct netlink_ext_ack *__extack = (extack); \ 111 #define NL_SET_ERR_MSG_FMT(extack, fmt, args...) do { \ argument 112 struct netlink_ext_ack *__extack = (extack); \ 127 #define NL_SET_ERR_MSG_MOD(extack, msg) \ argument 128 NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg) 130 #define NL_SET_ERR_MSG_FMT_MOD(extack, fmt, args...) \ argument 131 NL_SET_ERR_MSG_FMT((extack), KBUILD_MODNAME ": " fmt, ##args) 133 #define NL_SET_ERR_MSG_WEAK(extack, msg) do { \ argument 134 if ((extack) && !(extack)->_msg) \ [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_fsm.c | 33 #define MLXFW_ERR_MSG(fwdev, extack, msg, err) do { \ argument 35 NL_SET_ERR_MSG_MOD(extack, MLXFW_ERR_PRFX msg); \ 39 struct netlink_ext_ack *extack, in mlxfw_fsm_state_err() argument 49 MLXFW_ERR_MSG(mlxfw_dev, extack, "general error", err); in mlxfw_fsm_state_err() 52 MLXFW_ERR_MSG(mlxfw_dev, extack, "component hash mismatch", err); in mlxfw_fsm_state_err() 55 MLXFW_ERR_MSG(mlxfw_dev, extack, "component not applicable", err); in mlxfw_fsm_state_err() 58 MLXFW_ERR_MSG(mlxfw_dev, extack, "unknown key", err); in mlxfw_fsm_state_err() 61 MLXFW_ERR_MSG(mlxfw_dev, extack, "authentication failed", err); in mlxfw_fsm_state_err() 64 MLXFW_ERR_MSG(mlxfw_dev, extack, "component was not signed", err); in mlxfw_fsm_state_err() 67 MLXFW_ERR_MSG(mlxfw_dev, extack, "key not applicable", err); in mlxfw_fsm_state_err() [all …]
|
/Linux-v6.6/net/bridge/ |
D | br_cfm_netlink.c | 91 struct netlink_ext_ack *extack) in br_mep_create_parse() argument 99 br_cfm_mep_create_policy, extack); in br_mep_create_parse() 104 NL_SET_ERR_MSG_MOD(extack, "Missing INSTANCE attribute"); in br_mep_create_parse() 108 NL_SET_ERR_MSG_MOD(extack, "Missing DOMAIN attribute"); in br_mep_create_parse() 112 NL_SET_ERR_MSG_MOD(extack, "Missing DIRECTION attribute"); in br_mep_create_parse() 116 NL_SET_ERR_MSG_MOD(extack, "Missing IFINDEX attribute"); in br_mep_create_parse() 127 return br_cfm_mep_create(br, instance, &create, extack); in br_mep_create_parse() 131 struct netlink_ext_ack *extack) in br_mep_delete_parse() argument 138 br_cfm_mep_delete_policy, extack); in br_mep_delete_parse() 143 NL_SET_ERR_MSG_MOD(extack, in br_mep_delete_parse() [all …]
|
D | br_mrp_netlink.c | 32 int cmd, struct netlink_ext_ack *extack) in br_mrp_instance_parse() argument 39 br_mrp_instance_policy, extack); in br_mrp_instance_parse() 46 NL_SET_ERR_MSG_MOD(extack, in br_mrp_instance_parse() 77 struct netlink_ext_ack *extack) in br_mrp_port_state_parse() argument 84 br_mrp_port_state_policy, extack); in br_mrp_port_state_parse() 89 NL_SET_ERR_MSG_MOD(extack, "Missing attribute: STATE"); in br_mrp_port_state_parse() 106 struct netlink_ext_ack *extack) in br_mrp_port_role_parse() argument 113 br_mrp_port_role_policy, extack); in br_mrp_port_role_parse() 118 NL_SET_ERR_MSG_MOD(extack, "Missing attribute: ROLE"); in br_mrp_port_role_parse() 135 struct netlink_ext_ack *extack) in br_mrp_ring_state_parse() argument [all …]
|
D | br_mdb.c | 642 struct netlink_ext_ack *extack) in is_valid_mdb_source() argument 647 NL_SET_ERR_MSG_MOD(extack, "IPv4 invalid source address length"); in is_valid_mdb_source() 651 NL_SET_ERR_MSG_MOD(extack, "IPv4 multicast source address is not allowed"); in is_valid_mdb_source() 660 NL_SET_ERR_MSG_MOD(extack, "IPv6 invalid source address length"); in is_valid_mdb_source() 665 NL_SET_ERR_MSG_MOD(extack, "IPv6 multicast source address is not allowed"); in is_valid_mdb_source() 672 NL_SET_ERR_MSG_MOD(extack, "Invalid protocol used with source address"); in is_valid_mdb_source() 682 struct netlink_ext_ack *extack) in __br_mdb_choose_context() argument 693 NL_SET_ERR_MSG_MOD(extack, "Cannot add an entry without a vlan when vlan snooping is enabled"); in __br_mdb_choose_context() 699 NL_SET_ERR_MSG_MOD(extack, "Vlan is not configured"); in __br_mdb_choose_context() 703 NL_SET_ERR_MSG_MOD(extack, "Vlan's multicast processing is disabled"); in __br_mdb_choose_context() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/ice/ |
D | ice_fw_update.c | 15 struct netlink_ext_ack *extack; member 51 struct netlink_ext_ack *extack = priv->extack; in ice_send_package_data() local 71 NL_SET_ERR_MSG_MOD(extack, "Failed to record package data to firmware"); in ice_send_package_data() 95 struct netlink_ext_ack *extack) in ice_check_component_response() argument 134 NL_SET_ERR_MSG_MOD(extack, "Component comparison stamp is identical to running image"); in ice_check_component_response() 139 NL_SET_ERR_MSG_MOD(extack, "Component comparison stamp is lower than running image"); in ice_check_component_response() 144 NL_SET_ERR_MSG_MOD(extack, "Component comparison stamp is invalid"); in ice_check_component_response() 149 NL_SET_ERR_MSG_MOD(extack, "Component table conflict occurred"); in ice_check_component_response() 154 NL_SET_ERR_MSG_MOD(extack, "Component pre-requisites not met"); in ice_check_component_response() 159 NL_SET_ERR_MSG_MOD(extack, "Component not supported"); in ice_check_component_response() [all …]
|
D | ice_devlink.c | 253 struct netlink_ext_ack *extack) in ice_devlink_info_get() argument 264 NL_SET_ERR_MSG_MOD(extack, "Device is busy resetting"); in ice_devlink_info_get() 277 NL_SET_ERR_MSG_MOD(extack, "Unable to discover device capabilities"); in ice_devlink_info_get() 318 NL_SET_ERR_MSG_MOD(extack, "Unable to set serial number"); in ice_devlink_info_get() 346 NL_SET_ERR_MSG_MOD(extack, "Unable to set fixed version"); in ice_devlink_info_get() 353 NL_SET_ERR_MSG_MOD(extack, "Unable to set running version"); in ice_devlink_info_get() 360 NL_SET_ERR_MSG_MOD(extack, "Unable to set stored version"); in ice_devlink_info_get() 388 struct netlink_ext_ack *extack) in ice_devlink_reload_empr_start() argument 395 err = ice_get_pending_updates(pf, &pending, extack); in ice_devlink_reload_empr_start() 405 NL_SET_ERR_MSG_MOD(extack, "No pending firmware update"); in ice_devlink_reload_empr_start() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | qos.c | 45 u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) in esw_qos_group_config() argument 55 NL_SET_ERR_MSG_MOD(extack, "E-Switch modify group TSAR element failed"); in esw_qos_group_config() 65 struct netlink_ext_ack *extack) in esw_qos_vport_config() argument 80 NL_SET_ERR_MSG_MOD(extack, "E-Switch modify TSAR vport element failed"); in esw_qos_vport_config() 136 struct netlink_ext_ack *extack) in esw_qos_normalize_vports_min_rate() argument 153 err = esw_qos_vport_config(esw, evport, evport->qos.max_rate, bw_share, extack); in esw_qos_normalize_vports_min_rate() 164 struct netlink_ext_ack *extack) in esw_qos_normalize_groups_min_rate() argument 177 err = esw_qos_group_config(esw, group, group->max_rate, bw_share, extack); in esw_qos_normalize_groups_min_rate() 186 err = esw_qos_normalize_vports_min_rate(esw, group, extack); in esw_qos_normalize_groups_min_rate() 196 u32 min_rate, struct netlink_ext_ack *extack) in esw_qos_set_vport_min_rate() argument [all …]
|
/Linux-v6.6/drivers/net/can/dev/ |
D | bittiming.c | 19 const struct can_bittiming_const *btc, struct netlink_ext_ack *extack) in can_sjw_check() argument 22 NL_SET_ERR_MSG_FMT(extack, "sjw: %u greater than max sjw: %u", in can_sjw_check() 28 NL_SET_ERR_MSG_FMT(extack, in can_sjw_check() 35 NL_SET_ERR_MSG_FMT(extack, in can_sjw_check() 51 struct netlink_ext_ack *extack) in can_fixup_bittiming() argument 59 NL_SET_ERR_MSG_FMT(extack, "prop-seg + phase-seg1: %u less than tseg1-min: %u", in can_fixup_bittiming() 64 NL_SET_ERR_MSG_FMT(extack, "prop-seg + phase-seg1: %u greater than tseg1-max: %u", in can_fixup_bittiming() 69 NL_SET_ERR_MSG_FMT(extack, "phase-seg2: %u less than tseg2-min: %u", in can_fixup_bittiming() 74 NL_SET_ERR_MSG_FMT(extack, "phase-seg2: %u greater than tseg2-max: %u", in can_fixup_bittiming() 81 err = can_sjw_check(dev, bt, btc, extack); in can_fixup_bittiming() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 175 struct netlink_ext_ack *extack) in ocelot_flower_parse_ingress_vlan_modify() argument 180 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_ingress_vlan_modify() 186 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_ingress_vlan_modify() 203 struct netlink_ext_ack *extack) in ocelot_flower_parse_egress_vlan_modify() argument 215 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_egress_vlan_modify() 236 struct netlink_ext_ack *extack = f->common.extack; in ocelot_flower_parse_action() local 246 f->common.extack)) in ocelot_flower_parse_action() 252 NL_SET_ERR_MSG_MOD(extack, "Cannot offload to this chain"); in ocelot_flower_parse_action() 267 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_action() 272 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_action() [all …]
|
/Linux-v6.6/net/devlink/ |
D | port.c | 63 struct netlink_ext_ack *extack) in devlink_port_fn_roce_fill() argument 72 extack); in devlink_port_fn_roce_fill() 85 struct netlink_ext_ack *extack) in devlink_port_fn_migratable_fill() argument 95 &is_enable, extack); in devlink_port_fn_migratable_fill() 108 struct netlink_ext_ack *extack) in devlink_port_fn_ipsec_crypto_fill() argument 117 err = devlink_port->ops->port_fn_ipsec_crypto_get(devlink_port, &is_enable, extack); in devlink_port_fn_ipsec_crypto_fill() 130 struct netlink_ext_ack *extack) in devlink_port_fn_ipsec_packet_fill() argument 139 err = devlink_port->ops->port_fn_ipsec_packet_get(devlink_port, &is_enable, extack); in devlink_port_fn_ipsec_packet_fill() 152 struct netlink_ext_ack *extack, in devlink_port_fn_caps_fill() argument 158 err = devlink_port_fn_roce_fill(devlink_port, &caps, extack); in devlink_port_fn_caps_fill() [all …]
|
/Linux-v6.6/drivers/net/dsa/sja1105/ |
D | sja1105_vl.h | 12 struct netlink_ext_ack *extack, unsigned long cookie, 18 struct netlink_ext_ack *extack); 21 struct netlink_ext_ack *extack, unsigned long cookie, 28 struct netlink_ext_ack *extack); 33 struct netlink_ext_ack *extack, in sja1105_vl_redirect() argument 39 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in"); in sja1105_vl_redirect() 45 struct netlink_ext_ack *extack) in sja1105_vl_delete() argument 47 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in"); in sja1105_vl_delete() 52 struct netlink_ext_ack *extack, in sja1105_vl_gate() argument 59 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in"); in sja1105_vl_gate() [all …]
|
D | sja1105_flower.c | 31 struct netlink_ext_ack *extack, in sja1105_setup_bcast_policer() argument 56 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free"); in sja1105_setup_bcast_policer() 64 NL_SET_ERR_MSG_MOD(extack, in sja1105_setup_bcast_policer() 103 struct netlink_ext_ack *extack, in sja1105_setup_tc_policer() argument 128 NL_SET_ERR_MSG_MOD(extack, "No more L2 policers free"); in sja1105_setup_tc_policer() 136 NL_SET_ERR_MSG_MOD(extack, in sja1105_setup_tc_policer() 175 struct netlink_ext_ack *extack, in sja1105_flower_policer() argument 183 return sja1105_setup_bcast_policer(priv, extack, cookie, port, in sja1105_flower_policer() 186 return sja1105_setup_tc_policer(priv, extack, cookie, port, in sja1105_flower_policer() 190 NL_SET_ERR_MSG_MOD(extack, "Unknown keys for policing"); in sja1105_flower_policer() [all …]
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/ |
D | action.c | 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() [all …]
|
D | qos_conf.c | 122 struct netlink_ext_ack *extack, in nfp_policer_validate() argument 126 NL_SET_ERR_MSG_MOD(extack, in nfp_policer_validate() 134 NL_SET_ERR_MSG_MOD(extack, in nfp_policer_validate() 141 NL_SET_ERR_MSG_MOD(extack, in nfp_policer_validate() 149 NL_SET_ERR_MSG_MOD(extack, in nfp_policer_validate() 156 NL_SET_ERR_MSG_MOD(extack, in nfp_policer_validate() 167 struct netlink_ext_ack *extack) in nfp_flower_install_rate_limiter() argument 185 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on higher le… in nfp_flower_install_rate_limiter() 194 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on shared bl… in nfp_flower_install_rate_limiter() 199 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on non-VF po… in nfp_flower_install_rate_limiter() [all …]
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 22 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_check_knode() argument 28 NL_SET_ERR_MSG_MOD(extack, "action offload not supported"); in nfp_abm_u32_check_knode() 32 NL_SET_ERR_MSG_MOD(extack, "linking not supported"); in nfp_abm_u32_check_knode() 36 NL_SET_ERR_MSG_MOD(extack, in nfp_abm_u32_check_knode() 42 NL_SET_ERR_MSG_MOD(extack, "variable offsetting not supported"); in nfp_abm_u32_check_knode() 46 NL_SET_ERR_MSG_MOD(extack, "hashing not supported"); in nfp_abm_u32_check_knode() 50 NL_SET_ERR_MSG_MOD(extack, "matching on mark not supported"); in nfp_abm_u32_check_knode() 54 NL_SET_ERR_MSG_MOD(extack, "setting non-0 class not supported"); in nfp_abm_u32_check_knode() 58 NL_SET_ERR_MSG_MOD(extack, in nfp_abm_u32_check_knode() 63 NL_SET_ERR_MSG_MOD(extack, "exactly one key required"); in nfp_abm_u32_check_knode() [all …]
|
/Linux-v6.6/drivers/net/ethernet/sfc/ |
D | tc.c | 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 277 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported match on control.flags %#x", in efx_tc_flower_parse_match() 300 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported flower keys %#llx", in efx_tc_flower_parse_match() 316 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match() 367 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match() 392 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported match on enc_control.flags %#x", in efx_tc_flower_parse_match() 397 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported enc addr_type mask %u (key %u)", in efx_tc_flower_parse_match() 418 NL_SET_ERR_MSG_FMT_MOD(extack, in efx_tc_flower_parse_match() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | goto.c | 13 struct netlink_ext_ack *extack) in validate_goto_chain() argument 32 NL_SET_ERR_MSG_MOD(extack, "Goto action is not supported"); in validate_goto_chain() 38 NL_SET_ERR_MSG_MOD(extack, "Goto lower numbered chain isn't supported"); in validate_goto_chain() 43 NL_SET_ERR_MSG_MOD(extack, in validate_goto_chain() 51 NL_SET_ERR_MSG_MOD(extack, in validate_goto_chain() 65 struct netlink_ext_ack *extack = parse_state->extack; in tc_act_can_offload_goto() local 68 if (validate_goto_chain(flow->priv, flow, attr, act, extack)) in tc_act_can_offload_goto() 92 struct netlink_ext_ack *extack = parse_state->extack; in tc_act_post_parse_goto() local 107 NL_SET_ERR_MSG_MOD(extack, "Decap with goto isn't supported"); in tc_act_post_parse_goto() 113 NL_SET_ERR_MSG_MOD(extack, "Mirroring goto chain rules isn't supported"); in tc_act_post_parse_goto()
|
D | mirred.c | 26 struct netlink_ext_ack *extack) in verify_uplink_forwarding() argument 47 NL_SET_ERR_MSG_MOD(extack, in verify_uplink_forwarding() 51 NL_SET_ERR_MSG_MOD(extack, in verify_uplink_forwarding() 62 struct netlink_ext_ack *extack) in is_duplicated_output_device() argument 68 NL_SET_ERR_MSG_MOD(extack, "can't duplicate output to same device"); in is_duplicated_output_device() 106 struct netlink_ext_ack *extack = parse_state->extack; in tc_act_can_offload_mirred() local 125 NL_SET_ERR_MSG_MOD(extack, "mpls is supported only through a bareudp device"); in tc_act_can_offload_mirred() 130 NL_SET_ERR_MSG_MOD(extack, "vlan pop eth is supported only with mpls push"); in tc_act_can_offload_mirred() 135 NL_SET_ERR_MSG_MOD(extack, "mpls pop is only supported with vlan eth push"); in tc_act_can_offload_mirred() 148 NL_SET_ERR_MSG_MOD(extack, in tc_act_can_offload_mirred() [all …]
|
D | vlan.c | 12 u32 *action, struct netlink_ext_ack *extack) in add_vlan_prio_tag_rewrite_action() argument 29 extack); in add_vlan_prio_tag_rewrite_action() 37 struct netlink_ext_ack *extack, in parse_tc_vlan_action() argument 43 NL_SET_ERR_MSG_MOD(extack, "Total vlans used is greater than supported"); in parse_tc_vlan_action() 48 NL_SET_ERR_MSG_MOD(extack, "firmware vlan actions is not supported"); in parse_tc_vlan_action() 82 NL_SET_ERR_MSG_MOD(extack, "Unexpected action id for VLAN"); in parse_tc_vlan_action() 95 struct netlink_ext_ack *extack) in mlx5e_tc_act_vlan_add_push_action() argument 106 err = parse_tc_vlan_action(priv, &vlan_act, attr->esw_attr, &attr->action, extack, NULL); in mlx5e_tc_act_vlan_add_push_action() 117 err = mlx5e_tc_act_vlan_add_push_action(priv, attr, out_dev, extack); in mlx5e_tc_act_vlan_add_push_action() 125 struct netlink_ext_ack *extack) in mlx5e_tc_act_vlan_add_pop_action() argument [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.h | 31 struct netlink_ext_ack *extack); 36 int *p_span_id, struct netlink_ext_ack *extack); 60 struct netlink_ext_ack *extack); 68 struct netlink_ext_ack *extack); 71 struct netlink_ext_ack *extack); 74 struct netlink_ext_ack *extack); 77 struct netlink_ext_ack *extack); 80 struct netlink_ext_ack *extack); 82 u8 dscp, struct netlink_ext_ack *extack); 84 u8 ecn, struct netlink_ext_ack *extack); [all …]
|
D | spectrum_flower.c | 20 struct netlink_ext_ack *extack) in mlxsw_sp_policer_validate() argument 23 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate() 30 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate() 37 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate() 44 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate() 50 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate() 62 struct netlink_ext_ack *extack) in mlxsw_sp_flower_parse_actions() argument 72 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions() 80 err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack); in mlxsw_sp_flower_parse_actions() 84 NL_SET_ERR_MSG_MOD(extack, "Unsupported action HW stats type"); in mlxsw_sp_flower_parse_actions() [all …]
|
D | spectrum_matchall.c | 28 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_mirror_add() argument 37 NL_SET_ERR_MSG(extack, "Could not find requested device"); in mlxsw_sp_mall_port_mirror_add() 45 NL_SET_ERR_MSG(extack, "Failed to get SPAN agent"); in mlxsw_sp_mall_port_mirror_add() 52 NL_SET_ERR_MSG(extack, "Failed to get analyzed port"); in mlxsw_sp_mall_port_mirror_add() 63 NL_SET_ERR_MSG(extack, "Failed to bind SPAN agent"); in mlxsw_sp_mall_port_mirror_add() 105 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_sample_add() argument 118 extack); in mlxsw_sp_mall_port_sample_add() 123 mall_entry, extack); in mlxsw_sp_mall_port_sample_add() 153 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_rule_add() argument 158 extack); in mlxsw_sp_mall_port_rule_add() [all …]
|
/Linux-v6.6/net/sched/ |
D | act_tunnel_key.c | 89 struct netlink_ext_ack *extack) in tunnel_key_copy_geneve_opt() argument 97 nla, geneve_opt_policy, extack); in tunnel_key_copy_geneve_opt() 104 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt() 111 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt() 115 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt() 141 struct netlink_ext_ack *extack) in tunnel_key_copy_vxlan_opt() argument 147 vxlan_opt_policy, extack); in tunnel_key_copy_vxlan_opt() 152 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in tunnel_key_copy_vxlan_opt() 168 struct netlink_ext_ack *extack) in tunnel_key_copy_erspan_opt() argument 175 erspan_opt_policy, extack); in tunnel_key_copy_erspan_opt() [all …]
|
/Linux-v6.6/net/ipv4/ |
D | nexthop.c | 226 struct netlink_ext_ack *extack) in call_nexthop_notifiers() argument 230 .extack = extack, in call_nexthop_notifiers() 241 NL_SET_ERR_MSG(extack, "Failed to initialize nexthop notifier info"); in call_nexthop_notifiers() 329 struct netlink_ext_ack *extack) in __call_nexthop_res_bucket_notifiers() argument 333 .extack = extack, in __call_nexthop_res_bucket_notifiers() 381 struct netlink_ext_ack *extack) in call_nexthop_res_bucket_notifiers() argument 387 force, oldi, newi, extack); in call_nexthop_res_bucket_notifiers() 391 struct netlink_ext_ack *extack) in call_nexthop_res_table_notifiers() argument 395 .extack = extack, in call_nexthop_res_table_notifiers() 412 NL_SET_ERR_MSG(extack, "Failed to initialize nexthop notifier info"); in call_nexthop_res_table_notifiers() [all …]
|