| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_fw_update.c | 15 struct netlink_ext_ack *extack; member 74 struct netlink_ext_ack *extack) in ixgbe_check_component_response() argument 83 NL_SET_ERR_MSG_MOD(extack, in ixgbe_check_component_response() 87 NL_SET_ERR_MSG_MOD(extack, "Firmware has rejected updating."); in ixgbe_check_component_response() 98 NL_SET_ERR_MSG_MOD(extack, in ixgbe_check_component_response() 102 NL_SET_ERR_MSG_MOD(extack, in ixgbe_check_component_response() 106 NL_SET_ERR_MSG_MOD(extack, in ixgbe_check_component_response() 110 NL_SET_ERR_MSG_MOD(extack, in ixgbe_check_component_response() 114 NL_SET_ERR_MSG_MOD(extack, "Component pre-requisites not met"); in ixgbe_check_component_response() 117 NL_SET_ERR_MSG_MOD(extack, "Component not supported"); in ixgbe_check_component_response() [all …]
|
| /linux/net/bridge/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | br_mdb.c | 670 struct netlink_ext_ack *extack) in is_valid_mdb_source() 675 NL_SET_ERR_MSG_MOD(extack, "IPv4 invalid source address length"); in is_valid_mdb_source() 679 NL_SET_ERR_MSG_MOD(extack, "IPv4 multicast source address is not allowed"); in is_valid_mdb_source() 688 NL_SET_ERR_MSG_MOD(extack, "IPv6 invalid source address length"); 693 NL_SET_ERR_MSG_MOD(extack, "IPv6 multicast source address is not allowed"); in __br_mdb_choose_context() 700 NL_SET_ERR_MSG_MOD(extack, "Invalid protocol used with source address"); in __br_mdb_choose_context() 710 struct netlink_ext_ack *extack) in __br_mdb_choose_context() 721 NL_SET_ERR_MSG_MOD(extack, "Cannot add an entry without a vlan when vlan snooping is enabled"); in br_mdb_replace_group_sg() 727 NL_SET_ERR_MSG_MOD(extack, "Vlan is not configured"); in br_mdb_replace_group_sg() 731 NL_SET_ERR_MSG_MOD(extack, "Vla in br_mdb_replace_group_sg() 652 is_valid_mdb_source(struct nlattr * attr,__be16 proto,struct netlink_ext_ack * extack) is_valid_mdb_source() argument 692 __br_mdb_choose_context(struct net_bridge * br,const struct br_mdb_entry * entry,struct netlink_ext_ack * extack) __br_mdb_choose_context() argument 746 br_mdb_add_group_sg(const struct br_mdb_config * cfg,struct net_bridge_mdb_entry * mp,struct net_bridge_mcast * brmctx,unsigned char flags,struct netlink_ext_ack * extack) br_mdb_add_group_sg() argument 798 br_mdb_add_group_src_fwd(const struct br_mdb_config * cfg,struct br_ip * src_ip,struct net_bridge_mcast * brmctx,struct netlink_ext_ack * extack) br_mdb_add_group_src_fwd() argument 834 br_mdb_add_group_src(const struct br_mdb_config * cfg,struct net_bridge_port_group * pg,struct net_bridge_mcast * brmctx,struct br_mdb_src_entry * src,struct netlink_ext_ack * extack) br_mdb_add_group_src() argument 886 br_mdb_add_group_srcs(const struct br_mdb_config * cfg,struct net_bridge_port_group * pg,struct net_bridge_mcast * brmctx,struct netlink_ext_ack * extack) br_mdb_add_group_srcs() argument 908 br_mdb_replace_group_srcs(const struct br_mdb_config * cfg,struct net_bridge_port_group * pg,struct net_bridge_mcast * brmctx,struct netlink_ext_ack * extack) br_mdb_replace_group_srcs() argument 939 br_mdb_replace_group_star_g(const struct br_mdb_config * cfg,struct net_bridge_mdb_entry * mp,struct net_bridge_port_group * pg,struct net_bridge_mcast * brmctx,unsigned char flags,struct netlink_ext_ack * extack) br_mdb_replace_group_star_g() argument 970 br_mdb_add_group_star_g(const struct br_mdb_config * cfg,struct net_bridge_mdb_entry * mp,struct net_bridge_mcast * brmctx,unsigned char flags,struct netlink_ext_ack * extack) br_mdb_add_group_star_g() argument 1023 br_mdb_add_group(const struct br_mdb_config * cfg,struct netlink_ext_ack * extack) br_mdb_add_group() argument 1064 __br_mdb_add(const struct br_mdb_config * cfg,struct netlink_ext_ack * extack) __br_mdb_add() argument 1078 br_mdb_config_src_entry_init(struct nlattr * src_entry,struct br_mdb_src_entry * src,__be16 proto,struct netlink_ext_ack * extack) br_mdb_config_src_entry_init() argument 1103 br_mdb_config_src_list_init(struct nlattr * src_list,struct br_mdb_config * cfg,struct netlink_ext_ack * extack) br_mdb_config_src_list_init() argument 1147 br_mdb_config_attrs_init(struct nlattr * set_attrs,struct br_mdb_config * cfg,struct netlink_ext_ack * extack) br_mdb_config_attrs_init() argument 1215 br_mdb_config_init(struct br_mdb_config * cfg,struct net_device * dev,struct nlattr * tb[],u16 nlmsg_flags,struct netlink_ext_ack * extack) br_mdb_config_init() argument 1280 br_mdb_add(struct net_device * dev,struct nlattr * tb[],u16 nlmsg_flags,struct netlink_ext_ack * extack) br_mdb_add() argument 1382 br_mdb_del(struct net_device * dev,struct nlattr * tb[],struct netlink_ext_ack * extack) br_mdb_del() argument 1430 br_mdb_flush_desc_init(struct br_mdb_flush_desc * desc,struct nlattr * tb[],struct netlink_ext_ack * extack) br_mdb_flush_desc_init() argument 1533 br_mdb_del_bulk(struct net_device * dev,struct nlattr * tb[],struct netlink_ext_ack * extack) br_mdb_del_bulk() argument 1555 br_mdb_get_parse(struct net_device * dev,struct nlattr * tb[],struct br_ip * group,struct netlink_ext_ack * extack) br_mdb_get_parse() argument 1658 br_mdb_get(struct net_device * dev,struct nlattr * tb[],u32 portid,u32 seq,struct netlink_ext_ack * extack) br_mdb_get() argument [all...] |
| /linux/drivers/dpll/ |
| H A D | dpll_netlink.c | 111 struct netlink_ext_ack *extack) in dpll_msg_add_mode() argument 117 ret = ops->mode_get(dpll, dpll_priv(dpll), &mode, extack); in dpll_msg_add_mode() 128 struct netlink_ext_ack *extack) in dpll_msg_add_mode_supported() argument 137 extack); in dpll_msg_add_mode_supported() 144 ret = ops->mode_get(dpll, dpll_priv(dpll), &mode, extack); in dpll_msg_add_mode_supported() 160 struct netlink_ext_ack *extack) in dpll_msg_add_phase_offset_monitor() 168 &state, extack); in dpll_msg_add_phase_offset_avg_factor() 181 struct netlink_ext_ack *extack) in dpll_msg_add_phase_offset_avg_factor() 189 &factor, extack); in dpll_msg_add_lock_status() 201 struct netlink_ext_ack *extack) in dpll_msg_add_lock_status() 149 dpll_msg_add_phase_offset_monitor(struct sk_buff * msg,struct dpll_device * dpll,struct netlink_ext_ack * extack) dpll_msg_add_phase_offset_monitor() argument 170 dpll_msg_add_phase_offset_avg_factor(struct sk_buff * msg,struct dpll_device * dpll,struct netlink_ext_ack * extack) dpll_msg_add_phase_offset_avg_factor() argument 190 dpll_msg_add_lock_status(struct sk_buff * msg,struct dpll_device * dpll,struct netlink_ext_ack * extack) dpll_msg_add_lock_status() argument 214 dpll_msg_add_temp(struct sk_buff * msg,struct dpll_device * dpll,struct netlink_ext_ack * extack) dpll_msg_add_temp() argument 233 dpll_msg_add_clock_quality_level(struct sk_buff * msg,struct dpll_device * dpll,struct netlink_ext_ack * extack) dpll_msg_add_clock_quality_level() argument 255 dpll_msg_add_pin_prio(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_prio() argument 277 dpll_msg_add_pin_on_dpll_state(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_on_dpll_state() argument 299 dpll_msg_add_pin_direction(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_direction() argument 319 dpll_msg_add_pin_phase_adjust(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_phase_adjust() argument 342 dpll_msg_add_phase_offset(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_phase_offset() argument 365 dpll_msg_add_ffo(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_ffo() argument 386 dpll_msg_add_pin_freq(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_freq() argument 427 dpll_msg_add_pin_esync(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_esync() argument 473 dpll_msg_add_pin_ref_sync(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_ref_sync() argument 525 dpll_msg_add_pin_parents(struct sk_buff * msg,struct dpll_pin * pin,struct dpll_pin_ref * dpll_ref,struct netlink_ext_ack * extack) dpll_msg_add_pin_parents() argument 567 dpll_msg_add_pin_dplls(struct sk_buff * msg,struct dpll_pin * pin,struct netlink_ext_ack * extack) dpll_msg_add_pin_dplls() argument 605 dpll_cmd_pin_get_one(struct sk_buff * msg,struct dpll_pin * pin,struct netlink_ext_ack * extack) dpll_cmd_pin_get_one() argument 673 dpll_device_get_one(struct dpll_device * dpll,struct sk_buff * msg,struct netlink_ext_ack * extack) dpll_device_get_one() argument 847 dpll_phase_offset_monitor_set(struct dpll_device * dpll,struct nlattr * a,struct netlink_ext_ack * extack) dpll_phase_offset_monitor_set() argument 872 dpll_phase_offset_avg_factor_set(struct dpll_device * dpll,struct nlattr * a,struct netlink_ext_ack * extack) dpll_phase_offset_avg_factor_set() argument 889 dpll_pin_freq_set(struct dpll_pin * pin,struct nlattr * a,struct netlink_ext_ack * extack) dpll_pin_freq_set() argument 953 dpll_pin_esync_set(struct dpll_pin * pin,struct nlattr * a,struct netlink_ext_ack * extack) dpll_pin_esync_set() argument 1032 dpll_pin_ref_sync_state_set(struct dpll_pin * pin,unsigned long ref_sync_pin_idx,const enum dpll_pin_state state,struct netlink_ext_ack * extack) dpll_pin_ref_sync_state_set() argument 1107 dpll_pin_ref_sync_set(struct dpll_pin * pin,struct nlattr * nest,struct netlink_ext_ack * extack) dpll_pin_ref_sync_set() argument 1133 dpll_pin_on_pin_state_set(struct dpll_pin * pin,u32 parent_idx,enum dpll_pin_state state,struct netlink_ext_ack * extack) dpll_pin_on_pin_state_set() argument 1173 dpll_pin_state_set(struct dpll_device * dpll,struct dpll_pin * pin,enum dpll_pin_state state,struct netlink_ext_ack * extack) dpll_pin_state_set() argument 1200 dpll_pin_prio_set(struct dpll_device * dpll,struct dpll_pin * pin,u32 prio,struct netlink_ext_ack * extack) dpll_pin_prio_set() argument 1228 dpll_pin_direction_set(struct dpll_pin * pin,struct dpll_device * dpll,enum dpll_pin_direction direction,struct netlink_ext_ack * extack) dpll_pin_direction_set() argument 1255 dpll_pin_phase_adj_set(struct dpll_pin * pin,struct nlattr * phase_adj_attr,struct netlink_ext_ack * extack) dpll_pin_phase_adj_set() argument 1333 dpll_pin_parent_device_set(struct dpll_pin * pin,struct nlattr * parent_nest,struct netlink_ext_ack * extack) dpll_pin_parent_device_set() argument 1383 dpll_pin_parent_pin_set(struct dpll_pin * pin,struct nlattr * parent_nest,struct netlink_ext_ack * extack) dpll_pin_parent_pin_set() argument 1457 dpll_pin_find(u64 clock_id,struct nlattr * mod_name_attr,enum dpll_pin_type type,struct nlattr * board_label,struct nlattr * panel_label,struct nlattr * package_label,struct netlink_ext_ack * extack) dpll_pin_find() argument 1664 dpll_device_find(u64 clock_id,struct nlattr * mod_name_attr,enum dpll_type type,struct netlink_ext_ack * extack) dpll_device_find() argument [all...] |
| /linux/drivers/net/dsa/sja1105/ |
| H A 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 …]
|
| H A 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/drivers/net/ethernet/netronome/nfp/flower/ |
| H A 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 …]
|
| H A 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/drivers/net/ethernet/netronome/nfp/abm/ |
| H A 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/drivers/net/ethernet/mellanox/mlxsw/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | port.c | 127 struct netlink_ext_ack *extack) in ice_devlink_aq_set_port_option() argument 136 NL_SET_ERR_MSG_MOD(extack, "Port split request failed"); in ice_devlink_aq_set_port_option() 144 NL_SET_ERR_MSG_MOD(extack, "Failed to acquire NVM semaphore"); in ice_devlink_aq_set_port_option() 152 NL_SET_ERR_MSG_MOD(extack, "Port split request failed to save data"); in ice_devlink_aq_set_port_option() 159 NL_SET_ERR_MSG_MOD(extack, "Reboot required to finish port split"); in ice_devlink_aq_set_port_option() 183 unsigned int count, struct netlink_ext_ack *extack) in ice_devlink_port_split() argument 199 NL_SET_ERR_MSG_MOD(extack, "Failed to get available port split options"); in ice_devlink_port_split() 221 NL_SET_ERR_MSG_MOD(extack, "Requested split count is already set"); in ice_devlink_port_split() 228 NL_SET_ERR_MSG_MOD(extack, "Port split requested unsupported port config"); in ice_devlink_port_split() 233 status = ice_devlink_aq_set_port_option(pf, new_option, extack); in ice_devlink_port_split() [all …]
|
| H A D | devlink.c | 273 struct netlink_ext_ack *extack) in ice_devlink_info_get() argument 284 NL_SET_ERR_MSG_MOD(extack, "Device is busy resetting"); in ice_devlink_info_get() 297 NL_SET_ERR_MSG_MOD(extack, "Unable to discover device capabilities"); in ice_devlink_info_get() 338 NL_SET_ERR_MSG_MOD(extack, "Unable to set serial number"); in ice_devlink_info_get() 366 NL_SET_ERR_MSG_MOD(extack, "Unable to set fixed version"); in ice_devlink_info_get() 375 NL_SET_ERR_MSG_MOD(extack, "Unable to set running version"); in ice_devlink_info_get() 384 NL_SET_ERR_MSG_MOD(extack, "Unable to set stored version"); in ice_devlink_info_get() 412 struct netlink_ext_ack *extack) in ice_devlink_reload_empr_start() argument 419 err = ice_get_pending_updates(pf, &pending, extack); in ice_devlink_reload_empr_start() 429 NL_SET_ERR_MSG_MOD(extack, "No pending firmware update"); in ice_devlink_reload_empr_start() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| H A 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()
|
| H A 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 …]
|
| H A 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 108 &attr->action, extack, NULL); in mlx5e_tc_act_vlan_add_push_action() 126 struct netlink_ext_ack *extack) in mlx5e_tc_act_vlan_add_pop_action() argument 137 extack, NULL); in mlx5e_tc_act_vlan_add_pop_action() [all …]
|
| /linux/drivers/net/can/dev/ |
| H A D | netlink.c | 56 struct netlink_ext_ack *extack, in can_validate_bittiming() argument 69 NL_SET_ERR_MSG(extack, "sample point must be between 0 and 100%"); in can_validate_bittiming() 77 struct netlink_ext_ack *extack, u32 tdc_flags) in can_validate_tdc() argument 84 NL_SET_ERR_MSG(extack, in can_validate_tdc() 93 NL_SET_ERR_MSG(extack, "TDC parameters are missing"); in can_validate_tdc() 97 NL_SET_ERR_MSG(extack, "TDC mode (auto or manual) is missing"); in can_validate_tdc() 108 data_tdc, can_tdc_policy, extack); in can_validate_tdc() 114 NL_SET_ERR_MSG(extack, in can_validate_tdc() 120 NL_SET_ERR_MSG(extack, in can_validate_tdc() 127 NL_SET_ERR_MSG(extack, "TDCO is missing"); in can_validate_tdc() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_tc_flower.c | 28 struct netlink_ext_ack *extack, in ksz9477_flower_parse_key_l2() argument 47 NL_SET_ERR_MSG_MOD(extack, in ksz9477_flower_parse_key_l2() 80 NL_SET_ERR_MSG_MOD(extack, "ACL entry limit reached"); in ksz9477_flower_parse_key_l2() 90 NL_SET_ERR_MSG_MOD(extack, "MAC address mask must be a full mask"); in ksz9477_flower_parse_key_l2() 111 struct netlink_ext_ack *extack, in ksz9477_flower_parse_key() argument 122 NL_SET_ERR_MSG_MOD(extack, in ksz9477_flower_parse_key() 127 if (flow_rule_match_has_control_flags(rule, extack)) in ksz9477_flower_parse_key() 132 ret = ksz9477_flower_parse_key_l2(dev, port, extack, rule, in ksz9477_flower_parse_key() 158 struct netlink_ext_ack *extack, in ksz9477_flower_parse_action() argument 171 NL_SET_ERR_MSG_MOD(extack, "hw_tc is not supported. Use: action skbedit prio"); in ksz9477_flower_parse_action() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A 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 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() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | qos.h | 21 u64 tx_share, struct netlink_ext_ack *extack); 23 u64 tx_max, struct netlink_ext_ack *extack); 27 struct netlink_ext_ack *extack); 31 struct netlink_ext_ack *extack); 33 u64 tx_share, struct netlink_ext_ack *extack); 35 u64 tx_max, struct netlink_ext_ack *extack); 37 struct netlink_ext_ack *extack); 39 struct netlink_ext_ack *extack); 43 struct netlink_ext_ack *extack); 47 struct netlink_ext_ack *extack);
|
| /linux/drivers/net/ovpn/ |
| H A D | netlink.c | 52 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_get_dev_from_attrs() 59 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_get_dev_from_attrs() 61 NL_SET_BAD_ATTR(info->extack, info->attrs[OVPN_A_IFINDEX]); in ovpn_get_dev_from_attrs() 188 if (NL_REQ_ATTR_CHECK(info->extack, info->attrs[OVPN_A_PEER], attrs, in ovpn_nl_peer_precheck() 193 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_nl_peer_precheck() 200 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_nl_peer_precheck() 208 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_nl_peer_precheck() 215 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_nl_peer_precheck() 222 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_nl_peer_precheck() 238 NL_SET_ERR_MSG_MOD(info->extack, in ovpn_nl_peer_precheck() [all …]
|
| /linux/net/sched/ |
| H A D | sch_api.c | 340 struct netlink_ext_ack *extack) in qdisc_leaf() argument 346 NL_SET_ERR_MSG(extack, "Parent qdisc is not classful"); in qdisc_leaf() 352 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_leaf() 421 struct netlink_ext_ack *extack) in qdisc_get_rtab() argument 428 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab() 450 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab() 483 struct netlink_ext_ack *extack) in qdisc_get_stab() argument 493 extack); in qdisc_get_stab() 497 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab() 505 NL_SET_ERR_MSG(extack, "Siz in qdisc_get_stab() 840 qdisc_offload_graft_helper(struct net_device * dev,struct Qdisc * sch,struct Qdisc * new,struct Qdisc * old,enum tc_setup_type type,void * type_data,struct netlink_ext_ack * extack) qdisc_offload_graft_helper() argument 885 qdisc_offload_graft_root(struct net_device * dev,struct Qdisc * new,struct Qdisc * old,struct netlink_ext_ack * extack) qdisc_offload_graft_root() argument 900 tc_fill_qdisc(struct sk_buff * skb,struct Qdisc * q,u32 clid,u32 portid,u32 seq,u16 flags,int event,struct netlink_ext_ack * extack) tc_fill_qdisc() argument 994 qdisc_get_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,u32 clid,struct Qdisc * q,struct netlink_ext_ack * extack) qdisc_get_notify() argument 1021 qdisc_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,u32 clid,struct Qdisc * old,struct Qdisc * new,struct netlink_ext_ack * extack) qdisc_notify() argument 1056 notify_and_destroy(struct net * net,struct sk_buff * skb,struct nlmsghdr * n,u32 clid,struct Qdisc * old,struct Qdisc * new,struct netlink_ext_ack * extack) notify_and_destroy() argument 1090 qdisc_graft(struct net_device * dev,struct Qdisc * parent,struct sk_buff * skb,struct nlmsghdr * n,u32 classid,struct Qdisc * new,struct Qdisc * old,struct netlink_ext_ack * extack) qdisc_graft() argument 1205 qdisc_block_indexes_set(struct Qdisc * sch,struct nlattr ** tca,struct netlink_ext_ack * extack) qdisc_block_indexes_set() argument 1248 qdisc_create(struct net_device * dev,struct netdev_queue * dev_queue,u32 parent,u32 handle,struct nlattr ** tca,int * errp,struct netlink_ext_ack * extack) qdisc_create() argument 1367 qdisc_change(struct Qdisc * sch,struct nlattr ** tca,struct netlink_ext_ack * extack) qdisc_change() argument 1468 __tc_get_qdisc(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack,struct net_device * dev,struct nlattr * tca[TCA_MAX+1],struct tcmsg * tcm) __tc_get_qdisc() argument 1538 tc_get_qdisc(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack) tc_get_qdisc() argument 1582 __tc_modify_qdisc(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack,struct net_device * dev,struct nlattr * tca[TCA_MAX+1],struct tcmsg * tcm) __tc_modify_qdisc() argument 1796 tc_modify_qdisc(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack) tc_modify_qdisc() argument 1944 tc_fill_tclass(struct sk_buff * skb,struct Qdisc * q,unsigned long cl,u32 portid,u32 seq,u16 flags,int event,struct netlink_ext_ack * extack) tc_fill_tclass() argument 1995 tclass_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct Qdisc * q,unsigned long cl,int event,struct netlink_ext_ack * extack) tclass_notify() argument 2018 tclass_get_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct Qdisc * q,unsigned long cl,struct netlink_ext_ack * extack) tclass_get_notify() argument 2041 tclass_del_notify(struct net * net,const struct Qdisc_class_ops * cops,struct sk_buff * oskb,struct nlmsghdr * n,struct Qdisc * q,unsigned long cl,struct netlink_ext_ack * extack) tclass_del_notify() argument 2161 __tc_ctl_tclass(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack,struct net_device * dev,struct nlattr * tca[TCA_MAX+1],struct tcmsg * tcm) __tc_ctl_tclass() argument 2291 tc_ctl_tclass(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack) tc_ctl_tclass() argument [all...] |
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch-flower.c | 16 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_flower_parse_key() local 28 NL_SET_ERR_MSG_MOD(extack, in dpaa2_switch_flower_parse_key() 36 if (flow_rule_match_has_control_flags(rule, extack)) in dpaa2_switch_flower_parse_key() 99 NL_SET_ERR_MSG_MOD(extack, in dpaa2_switch_flower_parse_key() 105 NL_SET_ERR_MSG_MOD(extack, in dpaa2_switch_flower_parse_key() 368 struct netlink_ext_ack *extack) in dpaa2_switch_tc_parse_action_acl() argument 378 NL_SET_ERR_MSG_MOD(extack, in dpaa2_switch_tc_parse_action_acl() 390 NL_SET_ERR_MSG_MOD(extack, in dpaa2_switch_tc_parse_action_acl() 403 u16 to, struct netlink_ext_ack *extack) in dpaa2_switch_block_add_mirror() argument 434 NL_SET_ERR_MSG(extack, in dpaa2_switch_block_add_mirror() [all …]
|