Home
last modified time | relevance | path

Searched refs:NL_SET_ERR_MSG_MOD (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/net/8021q/
Dvlan_netlink.c51 NL_SET_ERR_MSG_MOD(extack, "Invalid link address"); in vlan_validate()
55 NL_SET_ERR_MSG_MOD(extack, "Invalid link address"); in vlan_validate()
61 NL_SET_ERR_MSG_MOD(extack, "VLAN properties not specified"); in vlan_validate()
71 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN protocol"); in vlan_validate()
79 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN id"); in vlan_validate()
88 NL_SET_ERR_MSG_MOD(extack, "Invalid VLAN flags"); in vlan_validate()
95 NL_SET_ERR_MSG_MOD(extack, "Invalid ingress QOS map"); in vlan_validate()
100 NL_SET_ERR_MSG_MOD(extack, "Invalid egress QOS map"); in vlan_validate()
145 NL_SET_ERR_MSG_MOD(extack, "VLAN id not specified"); in vlan_newlink()
150 NL_SET_ERR_MSG_MOD(extack, "link not specified"); in vlan_newlink()
[all …]
Dvlan.c128 NL_SET_ERR_MSG_MOD(extack, "VLANs not supported on device"); in vlan_check_real_dev()
133 NL_SET_ERR_MSG_MOD(extack, "VLAN device already exists"); in vlan_check_real_dev()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c38 NL_SET_ERR_MSG_MOD(extack, "Cannot append terminate action"); in mlxsw_sp_flower_parse_actions()
44 NL_SET_ERR_MSG_MOD(extack, "Cannot append drop action"); in mlxsw_sp_flower_parse_actions()
50 NL_SET_ERR_MSG_MOD(extack, "Cannot append trap action"); in mlxsw_sp_flower_parse_actions()
67 NL_SET_ERR_MSG_MOD(extack, "Cannot append jump action"); in mlxsw_sp_flower_parse_actions()
105 NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); in mlxsw_sp_flower_parse_actions()
182 NL_SET_ERR_MSG_MOD(f->common.extack, "Only UDP and TCP keys are supported"); in mlxsw_sp_flower_parse_ports()
211 NL_SET_ERR_MSG_MOD(f->common.extack, "TCP keys supported only for TCP"); in mlxsw_sp_flower_parse_tcp()
238 NL_SET_ERR_MSG_MOD(f->common.extack, "IP keys supported only for IPv4/6"); in mlxsw_sp_flower_parse_ip()
283 NL_SET_ERR_MSG_MOD(f->common.extack, "Unsupported key"); in mlxsw_sp_flower_parse()
358 NL_SET_ERR_MSG_MOD(f->common.extack, "vlan_id key is not supported on egress"); in mlxsw_sp_flower_parse()
Dcore_acl_flex_actions.c739 NL_SET_ERR_MSG_MOD(extack, "Cannot append vlan_modify action"); in mlxsw_afa_block_append_vlan_modify()
944 NL_SET_ERR_MSG_MOD(extack, "Cannot create mirror action"); in mlxsw_afa_block_append_mirror()
949 NL_SET_ERR_MSG_MOD(extack, "Cannot append mirror action"); in mlxsw_afa_block_append_mirror()
1010 NL_SET_ERR_MSG_MOD(extack, "Forwarding to ingress port is not supported"); in mlxsw_afa_block_append_fwd()
1015 NL_SET_ERR_MSG_MOD(extack, "Cannot create forward action"); in mlxsw_afa_block_append_fwd()
1023 NL_SET_ERR_MSG_MOD(extack, "Cannot append forward action"); in mlxsw_afa_block_append_fwd()
1097 NL_SET_ERR_MSG_MOD(extack, "Cannot create count action"); in mlxsw_afa_block_append_counter()
1104 NL_SET_ERR_MSG_MOD(extack, "Cannot append count action"); in mlxsw_afa_block_append_counter()
1156 NL_SET_ERR_MSG_MOD(extack, "Cannot append fid_set action"); in mlxsw_afa_block_append_fid_set()
Dspectrum_acl.c530 NL_SET_ERR_MSG_MOD(extack, "Invalid output device"); in mlxsw_sp_acl_rulei_act_fwd()
535 NL_SET_ERR_MSG_MOD(extack, "Invalid output device"); in mlxsw_sp_acl_rulei_act_fwd()
561 NL_SET_ERR_MSG_MOD(extack, "Only a single mirror source is allowed"); in mlxsw_sp_acl_rulei_act_mirror()
591 NL_SET_ERR_MSG_MOD(extack, "Unsupported VLAN protocol"); in mlxsw_sp_acl_rulei_act_vlan()
601 NL_SET_ERR_MSG_MOD(extack, "Unsupported VLAN action"); in mlxsw_sp_acl_rulei_act_vlan()
Dspectrum.c3196 NL_SET_ERR_MSG_MOD(extack, "Port number does not exist"); in mlxsw_sp_port_split()
3205 NL_SET_ERR_MSG_MOD(extack, "Port can only be split into 2 or 4 ports"); in mlxsw_sp_port_split()
3211 NL_SET_ERR_MSG_MOD(extack, "Port cannot be split further"); in mlxsw_sp_port_split()
3220 NL_SET_ERR_MSG_MOD(extack, "Invalid split configuration"); in mlxsw_sp_port_split()
3228 NL_SET_ERR_MSG_MOD(extack, "Invalid split configuration"); in mlxsw_sp_port_split()
3263 NL_SET_ERR_MSG_MOD(extack, "Port number does not exist"); in mlxsw_sp_port_unsplit()
3269 NL_SET_ERR_MSG_MOD(extack, "Port was not split"); in mlxsw_sp_port_unsplit()
4330 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported LAG devices"); in mlxsw_sp_master_lag_check()
4334 NL_SET_ERR_MSG_MOD(extack, "LAG device using unsupported Tx type"); in mlxsw_sp_master_lag_check()
4577 NL_SET_ERR_MSG_MOD(extack, "Unknown upper device type"); in mlxsw_sp_netdevice_port_upper_event()
[all …]
Dcore.c737 NL_SET_ERR_MSG_MOD(extack, "Port index exceeds maximum number of ports"); in mlxsw_devlink_port_split()
753 NL_SET_ERR_MSG_MOD(extack, "Port index exceeds maximum number of ports"); in mlxsw_devlink_port_unsplit()
Dspectrum_switchdev.c1929 NL_SET_ERR_MSG_MOD(extack, "Can not enslave a VLAN device to a VLAN-aware bridge"); in mlxsw_sp_bridge_8021q_port_join()
2001 NL_SET_ERR_MSG_MOD(extack, "Can not bridge VLAN uppers of the same port"); in mlxsw_sp_bridge_8021d_port_join()
Dspectrum_router.c768 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported virtual routers"); in mlxsw_sp_vr_create()
5899 NL_SET_ERR_MSG_MOD(extack, "FIB rules not supported"); in mlxsw_sp_router_fib_rule_event()
5931 NL_SET_ERR_MSG_MOD(info->extack, "FIB offload was aborted. Not configuring route"); in mlxsw_sp_router_fib_event()
6158 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported router interfaces"); in mlxsw_sp_rif_create()
6502 NL_SET_ERR_MSG_MOD(extack, "macvlan is only supported on top of router interfaces"); in mlxsw_sp_rif_macvlan_add()
7042 NL_SET_ERR_MSG_MOD(extack, "Couldn't determine bridge PVID"); in mlxsw_sp_rif_vlan_fid_get()
/Linux-v4.19/drivers/net/netdevsim/
Dfib.c95 NL_SET_ERR_MSG_MOD(extack, "New size is less than current occupancy"); in nsim_fib_set_max()
114 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported fib rule entries"); in nsim_fib_rule_account()
151 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported fib entries"); in nsim_fib_account()
Dnetdevsim.h27 #define NSIM_EA(extack, msg) NL_SET_ERR_MSG_MOD((extack), msg)
/Linux-v4.19/net/sched/
Dcls_u32.c697 NL_SET_ERR_MSG_MOD(extack, "Not allowed to delete root node"); in u32_delete()
704 NL_SET_ERR_MSG_MOD(extack, "Can not delete in-use filter"); in u32_delete()
787 NL_SET_ERR_MSG_MOD(extack, "u32 Link handle must be a hash table"); in u32_set_parms()
795 NL_SET_ERR_MSG_MOD(extack, "Link hash table not found"); in u32_set_parms()
925 NL_SET_ERR_MSG_MOD(extack, "Filter handle requires options"); in u32_change()
939 NL_SET_ERR_MSG_MOD(extack, "Invalid filter flags"); in u32_change()
949 NL_SET_ERR_MSG_MOD(extack, "Key node id cannot be zero"); in u32_change()
955 NL_SET_ERR_MSG_MOD(extack, "Key node flags do not match passed flags"); in u32_change()
992 NL_SET_ERR_MSG_MOD(extack, "Exceeded maximum 256 hash buckets"); in u32_change()
996 NL_SET_ERR_MSG_MOD(extack, "Divisor can only be used on a hash table"); in u32_change()
[all …]
Dact_mirred.c109 NL_SET_ERR_MSG_MOD(extack, "Mirred requires attributes to be passed"); in tcf_mirred_init()
116 NL_SET_ERR_MSG_MOD(extack, "Missing required mirred parameters"); in tcf_mirred_init()
139 NL_SET_ERR_MSG_MOD(extack, "Unknown mirred option"); in tcf_mirred_init()
146 NL_SET_ERR_MSG_MOD(extack, "Specified device does not exist"); in tcf_mirred_init()
Dact_pedit.c154 NL_SET_ERR_MSG_MOD(extack, "Pedit requires attributes to be passed"); in tcf_pedit_init()
166NL_SET_ERR_MSG_MOD(extack, "Missing required TCA_PEDIT_PARMS or TCA_PEDIT_PARMS_EX pedit attribute… in tcf_pedit_init()
185 NL_SET_ERR_MSG_MOD(extack, "Pedit requires keys to be passed"); in tcf_pedit_init()
Dcls_flower.c1152 NL_SET_ERR_MSG_MOD(extack, "Mask does not fit the template"); in fl_set_parms()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c142 NL_SET_ERR_MSG_MOD(cls_bpf->common.extack, in nfp_bpf_setup_tc_block_cb()
149 NL_SET_ERR_MSG_MOD(cls_bpf->common.extack, in nfp_bpf_setup_tc_block_cb()
154 NL_SET_ERR_MSG_MOD(cls_bpf->common.extack, in nfp_bpf_setup_tc_block_cb()
162 NL_SET_ERR_MSG_MOD(cls_bpf->common.extack, in nfp_bpf_setup_tc_block_cb()
Doffload.c520NL_SET_ERR_MSG_MOD(extack, "BPF offload not supported with MTU larger than HW packet split boundar… in nfp_net_bpf_load()
542 NL_SET_ERR_MSG_MOD(extack, in nfp_net_bpf_load()
562 NL_SET_ERR_MSG_MOD(extack, in nfp_net_bpf_start()
590 NL_SET_ERR_MSG_MOD(extack, in nfp_net_bpf_offload()
/Linux-v4.19/drivers/net/
Dveth.c921 NL_SET_ERR_MSG_MOD(extack, "Cannot set XDP when peer is detached"); in veth_xdp_set()
930 NL_SET_ERR_MSG_MOD(extack, "Peer MTU is too large to set XDP"); in veth_xdp_set()
936 NL_SET_ERR_MSG_MOD(extack, "XDP expects number of rx queues not less than peer tx queues"); in veth_xdp_set()
944 NL_SET_ERR_MSG_MOD(extack, "Setup for XDP failed"); in veth_xdp_set()
Dvirtio_net.c2320 NL_SET_ERR_MSG_MOD(extack, "Can't set XDP while host is implementing LRO, disable LRO first"); in virtnet_xdp_set()
2325 NL_SET_ERR_MSG_MOD(extack, "XDP expects header/data in single page, any_header_sg required"); in virtnet_xdp_set()
2330 NL_SET_ERR_MSG_MOD(extack, "MTU too large to enable XDP"); in virtnet_xdp_set()
2341 NL_SET_ERR_MSG_MOD(extack, "Too few free TX rings available"); in virtnet_xdp_set()
/Linux-v4.19/include/linux/
Dnetlink.h95 #define NL_SET_ERR_MSG_MOD(extack, msg) \ macro
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c2591 NL_SET_ERR_MSG_MOD(extack, in igb_parse_cls_flower()
2608 NL_SET_ERR_MSG_MOD(extack, "Only full masks are supported for destination MAC address"); in igb_parse_cls_flower()
2619 NL_SET_ERR_MSG_MOD(extack, "Only full masks are supported for source MAC address"); in igb_parse_cls_flower()
2641 NL_SET_ERR_MSG_MOD(extack, "Only full mask is supported for EtherType filter"); in igb_parse_cls_flower()
2662 NL_SET_ERR_MSG_MOD(extack, "Only full mask is supported for VLAN priority"); in igb_parse_cls_flower()
2686 NL_SET_ERR_MSG_MOD(extack, "Invalid traffic class"); in igb_configure_clsflower()
2703 NL_SET_ERR_MSG_MOD(extack, in igb_configure_clsflower()
2712 NL_SET_ERR_MSG_MOD(extack, in igb_configure_clsflower()
2720 NL_SET_ERR_MSG_MOD(extack, "Could not add filter to the adapter"); in igb_configure_clsflower()
/Linux-v4.19/net/core/
Ddevlink.c2411 NL_SET_ERR_MSG_MOD(extack, "Size larger than maximum"); in devlink_resource_validate_size()
2416 NL_SET_ERR_MSG_MOD(extack, "Size smaller than minimum"); in devlink_resource_validate_size()
2422 NL_SET_ERR_MSG_MOD(extack, "Wrong granularity"); in devlink_resource_validate_size()
2651 NL_SET_ERR_MSG_MOD(info->extack, "resources size validation failed"); in devlink_nl_cmd_reload()
/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot.c1555 NL_SET_ERR_MSG_MOD(extack, "LAG device using unsupported Tx type"); in ocelot_netdevice_event()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c3013 NL_SET_ERR_MSG_MOD(extack, "MTU too large w/ XDP enabled"); in nfp_net_check_config()
3017 NL_SET_ERR_MSG_MOD(extack, "Insufficient number of TX rings w/ XDP enabled"); in nfp_net_check_config()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c226 NL_SET_ERR_MSG_MOD(extack, "max_macs supported must be power of 2"); in mlx4_devlink_max_macs_validate()