/linux/drivers/net/ethernet/mellanox/mlxfw/ |
A D | mlxfw_fsm.c | 86 struct netlink_ext_ack *extack) in mlxfw_fsm_state_wait() argument 107 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_fsm_state_wait() 167 struct netlink_ext_ack *extack, in mlxfw_fsm_reactivate() argument 183 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_fsm_reactivate() 234 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_flash_component() 290 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_flash_component() 319 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_flash_components() 339 reactivate_supp, extack); in mlxfw_flash_components() 357 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_firmware_flash() 365 MLXFW_ERR_MSG(mlxfw_dev, extack, in mlxfw_firmware_flash() [all …]
|
/linux/net/bridge/ |
A D | br_cfm_netlink.c | 143 NL_SET_ERR_MSG_MOD(extack, in br_mep_delete_parse() 291 struct netlink_ext_ack *extack) in br_cc_rdi_parse() argument 392 br_cfm_policy, extack); in br_cfm_parse() 398 extack); in br_cfm_parse() 405 extack); in br_cfm_parse() 412 extack); in br_cfm_parse() 419 extack); in br_cfm_parse() 426 extack); in br_cfm_parse() 433 extack); in br_cfm_parse() 440 extack); in br_cfm_parse() [all …]
|
A D | br_mrp_netlink.c | 46 NL_SET_ERR_MSG_MOD(extack, in br_mrp_instance_parse() 148 NL_SET_ERR_MSG_MOD(extack, in br_mrp_ring_state_parse() 380 cmd, extack); in br_mrp_parse() 387 extack); in br_mrp_parse() 394 extack); in br_mrp_parse() 402 extack); in br_mrp_parse() 409 extack); in br_mrp_parse() 417 extack); in br_mrp_parse() 424 extack); in br_mrp_parse() 431 extack); in br_mrp_parse() [all …]
|
A D | br_mdb.c | 382 struct netlink_ext_ack *extack) in br_mdb_valid_dump_req() argument 665 struct netlink_ext_ack *extack) in is_valid_mdb_entry() argument 712 struct netlink_ext_ack *extack) in is_valid_mdb_source() argument 800 if (!is_valid_mdb_entry(entry, extack)) in br_mdb_parse() 807 br_mdbe_attrs_pol, extack); in br_mdb_parse() 812 entry->addr.proto, extack)) in br_mdb_parse() 825 struct netlink_ext_ack *extack) in __br_mdb_choose_context() argument 857 struct netlink_ext_ack *extack) in br_mdb_add_group() argument 969 struct netlink_ext_ack *extack) in __br_mdb_add() argument 981 struct netlink_ext_ack *extack) in br_mdb_add() argument [all …]
|
A D | br_vlan_options.c | 81 struct netlink_ext_ack *extack) in br_vlan_modify_state() argument 123 struct netlink_ext_ack *extack) in br_vlan_modify_tunnel() argument 141 br_vlandb_tinfo_pol, extack); in br_vlan_modify_tunnel() 182 struct netlink_ext_ack *extack) in br_vlan_process_one_opts() argument 220 struct netlink_ext_ack *extack) in br_vlan_process_options() argument 253 extack); in br_vlan_process_options() 463 struct netlink_ext_ack *extack) in br_vlan_process_global_one_opts() argument 586 struct netlink_ext_ack *extack) in br_vlan_rtm_process_global_options() argument 609 br_vlan_db_gpol, extack); in br_vlan_rtm_process_global_options() 618 if (!br_vlan_valid_id(vid, extack)) in br_vlan_rtm_process_global_options() [all …]
|
A D | br_switchdev.c | 100 &info.info, extack); in br_switchdev_set_port_flag() 106 if (extack && !extack->_msg) in br_switchdev_set_port_flag() 107 NL_SET_ERR_MSG_MOD(extack, in br_switchdev_set_port_flag() 117 if (extack && !extack->_msg) in br_switchdev_set_port_flag() 118 NL_SET_ERR_MSG_MOD(extack, in br_switchdev_set_port_flag() 236 NL_SET_ERR_MSG_MOD(extack, in nbp_switchdev_add() 343 .extack = extack, in br_switchdev_vlan_replay_one() 413 action, extack); in br_switchdev_vlan_replay() 514 .extack = extack, in br_switchdev_mdb_replay_one() 685 extack); in nbp_switchdev_sync_objs() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_fw_update.c | 15 struct netlink_ext_ack *extack; member 39 struct netlink_ext_ack *extack = priv->extack; in ice_send_package_data() local 84 struct netlink_ext_ack *extack) in ice_check_component_response() argument 200 struct netlink_ext_ack *extack = priv->extack; in ice_send_component_table() local 251 comp_response_code, extack); in ice_send_component_table() 274 struct netlink_ext_ack *extack) in ice_write_one_nvm_block() argument 397 block, last_cmd, extack); in ice_write_nvm_module() 579 struct netlink_ext_ack *extack = priv->extack; in ice_flash_component() local 635 struct netlink_ext_ack *extack = priv->extack; in ice_finalize_update() local 691 priv.extack = extack; in ice_flash_pldm_image() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | qos.c | 67 struct netlink_ext_ack *extack) in esw_qos_vport_config() argument 148 struct netlink_ext_ack *extack) in esw_qos_normalize_vports_min_rate() argument 176 struct netlink_ext_ack *extack) in esw_qos_normalize_groups_min_rate() argument 210 struct netlink_ext_ack *extack) in mlx5_esw_qos_set_vport_min_rate() argument 237 struct netlink_ext_ack *extack) in mlx5_esw_qos_set_vport_max_rate() argument 323 NL_SET_ERR_MSG_MOD(extack, in esw_qos_set_group_max_rate() 367 struct netlink_ext_ack *extack) in esw_qos_update_group_scheduling_element() argument 794 struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_new() argument 806 NL_SET_ERR_MSG_MOD(extack, in mlx5_esw_devlink_rate_node_new() 825 struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_del() argument [all …]
|
A D | qos.h | 12 struct netlink_ext_ack *extack); 16 struct netlink_ext_ack *extack); 24 u64 tx_share, struct netlink_ext_ack *extack); 26 u64 tx_max, struct netlink_ext_ack *extack); 28 u64 tx_share, struct netlink_ext_ack *extack); 30 u64 tx_max, struct netlink_ext_ack *extack); 32 struct netlink_ext_ack *extack); 34 struct netlink_ext_ack *extack); 38 struct netlink_ext_ack *extack);
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_flower.c | 154 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_ingress_vlan_modify() 160 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_ingress_vlan_modify() 189 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_egress_vlan_modify() 209 struct netlink_ext_ack *extack = f->common.extack; in ocelot_flower_parse_action() local 218 f->common.extack)) in ocelot_flower_parse_action() 339 extack); in ocelot_flower_parse_action() 342 extack); in ocelot_flower_parse_action() 434 struct netlink_ext_ack *extack = f->common.extack; in ocelot_flower_parse_indev() local 455 NL_SET_ERR_MSG_MOD(extack, in ocelot_flower_parse_indev() 485 struct netlink_ext_ack *extack = f->common.extack; in ocelot_flower_parse_key() local [all …]
|
/linux/include/linux/ |
A D | netlink.h | 91 #define NL_SET_ERR_MSG(extack, msg) do { \ argument 105 if ((extack)) { \ 106 (extack)->bad_attr = (attr); \ 107 (extack)->policy = (pol); \ 111 #define NL_SET_BAD_ATTR(extack, attr) NL_SET_BAD_ATTR_POLICY(extack, attr, NULL) argument 132 if (!extack) in nl_set_extack_cookie_u64() 135 extack->cookie_len = sizeof(cookie); in nl_set_extack_cookie_u64() 141 if (!extack) in nl_set_extack_cookie_u32() 144 extack->cookie_len = sizeof(cookie); in nl_set_extack_cookie_u32() 152 const struct netlink_ext_ack *extack); [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | action.c | 34 struct netlink_ext_ack *extack) in nfp_fl_push_mpls() argument 135 struct netlink_ext_ack *extack) in nfp_fl_pre_lag() argument 331 struct netlink_ext_ack *extack) in nfp_fl_push_geneve_options() argument 716 ip_hl_fl, extack); in nfp_fl_set_ip6() 737 struct netlink_ext_ack *extack) in nfp_fl_set_tport() argument 895 struct netlink_ext_ack *extack) in nfp_fl_pedit() argument 932 struct netlink_ext_ack *extack) in nfp_flower_output_action() argument 953 tun_out_cnt, pkt_host, extack); in nfp_flower_output_action() 1006 extack); in nfp_flower_loop_action() 1015 extack); in nfp_flower_loop_action() [all …]
|
A D | qos_conf.c | 111 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 117 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 131 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 137 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 144 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 149 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 166 NL_SET_ERR_MSG_MOD(extack, in nfp_flower_install_rate_limiter() 422 struct netlink_ext_ack *extack = flow->common.extack; in nfp_flower_setup_qos_offload() local 433 extack); in nfp_flower_setup_qos_offload() 436 extack); in nfp_flower_setup_qos_offload() [all …]
|
/linux/net/sched/ |
A D | act_tunnel_key.c | 140 struct netlink_ext_ack *extack) in tunnel_key_copy_vxlan_opt() argument 225 enc_opts_policy, extack); in tunnel_key_copy_opts() 237 dst_len, extack); in tunnel_key_copy_opts() 257 dst_len, extack); in tunnel_key_copy_opts() 269 dst_len, extack); in tunnel_key_copy_opts() 306 opts_len, extack); in tunnel_key_opts_set() 314 opts_len, extack); in tunnel_key_opts_set() 322 opts_len, extack); in tunnel_key_opts_set() 385 tunnel_key_policy, extack); in tunnel_key_init() 427 extack); in tunnel_key_init() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/abm/ |
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() 46 NL_SET_ERR_MSG_MOD(extack, "hashing 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() 172 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_knode_replace() argument 237 NL_SET_ERR_MSG_MOD(cls_u32->common.extack, in nfp_abm_setup_tc_block_cb() 246 NL_SET_ERR_MSG_MOD(cls_u32->common.extack, in nfp_abm_setup_tc_block_cb() [all …]
|
/linux/drivers/net/dsa/sja1105/ |
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 …]
|
A D | sja1105_flower.c | 64 NL_SET_ERR_MSG_MOD(extack, in sja1105_setup_bcast_policer() 136 NL_SET_ERR_MSG_MOD(extack, in sja1105_setup_tc_policer() 212 NL_SET_ERR_MSG_MOD(extack, in sja1105_flower_parse_key() 222 NL_SET_ERR_MSG_MOD(extack, in sja1105_flower_parse_key() 237 NL_SET_ERR_MSG_MOD(extack, in sja1105_flower_parse_key() 243 NL_SET_ERR_MSG_MOD(extack, in sja1105_flower_parse_key() 259 NL_SET_ERR_MSG_MOD(extack, in sja1105_flower_parse_key() 266 NL_SET_ERR_MSG_MOD(extack, in sja1105_flower_parse_key() 307 struct netlink_ext_ack *extack = cls->common.extack; in sja1105_cls_flower_add() local 393 NL_SET_ERR_MSG_MOD(extack, in sja1105_cls_flower_add() [all …]
|
/linux/net/ipv4/ |
A D | nexthop.c | 229 .extack = extack, in call_nexthop_notifiers() 332 .extack = extack, in __call_nexthop_res_bucket_notifiers() 394 .extack = extack, in call_nexthop_res_table_notifiers() 430 .extack = extack, in call_nexthop_notifier() 1959 extack); in replace_nexthop_grp() 2057 extack); in replace_nexthop_single_notify_res() 2096 extack); in replace_nexthop_single_notify() 2145 extack); in replace_nexthop_single() 2567 extack); in nh_create_ipv6() 2740 extack); in rtm_to_nh_config_grp_res() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_acl_flex_actions.h | 31 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); 89 struct netlink_ext_ack *extack); 91 struct netlink_ext_ack *extack); 96 struct netlink_ext_ack *extack); 100 struct netlink_ext_ack *extack); [all …]
|
A D | spectrum_matchall.c | 28 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_mirror_add() argument 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() 161 extack); in mlxsw_sp_mall_port_rule_add() 287 mall_entry, f->common.extack); in mlxsw_sp_mall_replace() 336 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_bind() argument 343 extack); in mlxsw_sp_mall_port_bind() [all …]
|
A D | spectrum_flower.c | 66 act->cookie, extack); in mlxsw_sp_flower_parse_actions() 126 fid_index, extack); in mlxsw_sp_flower_parse_actions() 132 out_dev, extack); in mlxsw_sp_flower_parse_actions() 147 extack); in mlxsw_sp_flower_parse_actions() 159 proto, prio, extack); in mlxsw_sp_flower_parse_actions() 167 extack); in mlxsw_sp_flower_parse_actions() 181 mask, val, extack); in mlxsw_sp_flower_parse_actions() 208 burst, extack); in mlxsw_sp_flower_parse_actions() 225 extack); in mlxsw_sp_flower_parse_actions() 552 f->common.extack); in mlxsw_sp_flower_parse() [all …]
|
/linux/lib/ |
A D | nlattr.c | 58 struct netlink_ext_ack *extack, 404 NL_SET_BAD_ATTR(extack, nla); in validate_nla() 468 validate, extack, NULL, in validate_nla() 492 extack, validate, depth); in validate_nla() 505 NL_SET_ERR_MSG_ATTR(extack, nla, in validate_nla() 544 err = pt->validate(nla, extack); in validate_nla() 561 struct netlink_ext_ack *extack, in __nla_validate_parse() argument 568 NL_SET_ERR_MSG(extack, in __nla_validate_parse() 631 extack, NULL, 0); in __nla_validate() 683 struct netlink_ext_ack *extack) in __nla_parse() argument [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
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() 489 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_cls_flower_replace_acl() local 534 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_flower_parse_mirror_key() local 573 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_cls_flower_replace_mirror() local 632 extack); in dpaa2_switch_cls_flower_replace_mirror() 639 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_cls_flower_replace() local 687 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_cls_matchall_replace_acl() local 727 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_cls_matchall_replace_mirror() local 778 extack); in dpaa2_switch_cls_matchall_replace_mirror() [all …]
|
/linux/net/ethtool/ |
A D | bitset.c | 386 bit_policy, extack); in ethnl_parse_bit() 395 NL_SET_ERR_MSG_ATTR(extack, in ethnl_parse_bit() 412 NL_SET_ERR_MSG_ATTR(extack, in ethnl_parse_bit() 464 names, extack); in ethnl_update_bitset32_verbose() 495 NL_SET_ERR_MSG_ATTR(extack, nest, in ethnl_compact_sanity_checks() 500 NL_SET_ERR_MSG_ATTR(extack, nest, in ethnl_compact_sanity_checks() 505 NL_SET_ERR_MSG_ATTR(extack, nest, in ethnl_compact_sanity_checks() 564 bitset_policy, extack); in ethnl_update_bitset32() 570 names, extack, mod); in ethnl_update_bitset32() 618 bitset_policy, extack); in ethnl_parse_bitset() [all …]
|
/linux/net/8021q/ |
A D | vlan_netlink.c | 40 struct netlink_ext_ack *extack) in vlan_validate() argument 48 NL_SET_ERR_MSG_MOD(extack, "Invalid link address"); in vlan_validate() 52 NL_SET_ERR_MSG_MOD(extack, "Invalid link address"); in vlan_validate() 76 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN id"); in vlan_validate() 86 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN flags"); in vlan_validate() 106 struct netlink_ext_ack *extack) in vlan_changelink() argument 138 struct netlink_ext_ack *extack) in vlan_newlink() argument 152 NL_SET_ERR_MSG_MOD(extack, "link not specified"); in vlan_newlink() 174 extack); in vlan_newlink() 185 err = vlan_changelink(dev, tb, data, extack); in vlan_newlink() [all …]
|