Home
last modified time | relevance | path

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

123

/xnu-12377.61.12/bsd/skywalk/nexus/
H A Dnexus_traffic_rule_inet.c194 SK_ERR("cls_len == 0"); in fill_inet_td()
205 SK_ERR("cls_len < sizeof(struct ip) (%d < %lu)", in fill_inet_td()
212 SK_ERR("l3hlen < sizeof(struct ip) (%d < %lu)", in fill_inet_td()
218 SK_ERR("cls_len < l3hlen (%d < %d)", cls_len, l3hlen); in fill_inet_td()
224 SK_ERR("l3tlen < l3hlen (%d < %d)", l3tlen, l3hlen); in fill_inet_td()
229 SK_ERR("pkt_len < l3tlen (%zu < %d)", pkt_len, l3tlen); in fill_inet_td()
243 SK_ERR("cls_len < l3hlen (%d < %d)", cls_len, l3hlen); in fill_inet_td()
249 SK_ERR("pkt_len < l3tlen (%zu < %d)", pkt_len, l3tlen); in fill_inet_td()
261 SK_ERR("ipv == %d", ipv); in fill_inet_td()
269 SK_ERR("cls_len < l3hlen + sizeof(*tcph) || ulen < sizeof(*tcph) " in fill_inet_td()
[all …]
H A Dnexus_traffic_rule_eth.c145 SK_ERR("cls_len == 0"); in parse_eth_hdr()
197 SK_ERR("invalid ifname: %s", ifname); in eth_traffic_rule_validate()
201 SK_ERR("invalid td len: expected %lu, actual %d", in eth_traffic_rule_validate()
209 SK_ERR("invalid td flags: 0x%x", td->itd_flags); in eth_traffic_rule_validate()
219 SK_ERR("invalid eth mask: 0x%x", tdi->eth_mask); in eth_traffic_rule_validate()
225 SK_ERR("invalid eth type 0x%x", tdi->eth_type); in eth_traffic_rule_validate()
232 SK_ERR("eth raddr cannot be unspecified"); in eth_traffic_rule_validate()
237 SK_ERR("invalid ra len: expected %lu, actual %d", in eth_traffic_rule_validate()
626 SK_ERR("size: actual %d, expected %lu", size, sizeof(info)); in eth_traffic_rule_get_all()
634 SK_ERR("count: given %d, require: %d", *count, rs->res_count); in eth_traffic_rule_get_all()
[all …]
H A Dnexus_traffic_rule.c376 SK_ERR("rule type %x not found", td->itd_type); in add_traffic_rule()
385 SK_ERR("other types of rules are added to the same ifname"); in add_traffic_rule()
393 SK_ERR("rule validate failed: %d", err); in add_traffic_rule()
398 SK_ERR("rule already exists"); in add_traffic_rule()
403 SK_ERR("rule find failed: %d", err); in add_traffic_rule()
408 SK_ERR("rule create failed: %d", err); in add_traffic_rule()
435 SK_ERR("traffic rule not found"); in remove_traffic_rule()
545 SK_ERR("rule type %x not found", args->gtr_type); in nxioctl_get_traffic_rules()
H A Dnexus_ioctl.c52 SK_ERR("invalid command %lx", cmd); in nxioctl_check_entitlement()
71 SK_ERR("invalid command %lx", cmd); in _nxioctl()
H A Dnexus.c1725 SK_ERR("Failed to allocate nxprov_params"); in nxprov_alloc()
1731 SK_ERR("Failed to allocate nxprov"); in nxprov_alloc()
1826 SK_ERR("Rejecting \"%s\" built-in pp", pp->pp_name); in nx_check_pp()
1838 SK_ERR("Mismatch in metadata type/subtype " in nx_check_pp()
1854 SK_ERR("Memory config mismatch: monolithic mode"); in nx_check_pp()
1890 SK_ERR("Provider not found or has been closed"); in nx_create()
1898 SK_ERR("Mismatch in domain type (0x%u != 0x%u)", in nx_create()
1909 SK_ERR("TX/RX packet pool is required for netif logical link " in nx_create()
2571 SK_ERR("port unavail in [%u, %u)", first, last); in nx_port_find()
2603 SK_ERR("can't grow, total %u grow %u (new %u > dom_max %u)", in nx_port_grow()
[all …]
/xnu-12377.61.12/bsd/skywalk/nexus/netif/
H A Dnx_netif_netagent.c124 SK_ERR("invalid source family"); in validate_ipv6_sockaddr()
128 SK_ERR("invalid source length"); in validate_ipv6_sockaddr()
138 SK_ERR("address unspecified"); in validate_ipv6_sockaddr()
196 SK_ERR("ethertype 0x%x not allowed", ethertype); in validate_ethertype()
201 SK_ERR("ethertype <= ETHERMTU"); in validate_ethertype()
284 SK_ERR("process for pid %d doesn't exist", pid); in nx_netif_netagent_flow_bind()
318 SK_ERR("%s(%d) failed to bind flow_uuid %s to a " in nx_netif_netagent_flow_bind()
343 SK_ERR("nxdom_unbind_port failed: %d", err); in nx_netif_netagent_flow_unbind()
357 SK_ERR("no agent added"); in nx_netif_netagent_check_flags()
362 SK_ERR("filter: incompatible with other features"); in nx_netif_netagent_check_flags()
[all …]
H A Dnx_netif_filter_vp.c341 SK_ERR("failed to create filter pp"); in netif_filter_na_mem_new()
410 SK_ERR("packet got dropped by internalize"); in netif_filter_na_txsync()
419 SK_ERR("dropped zero length packet"); in netif_filter_na_txsync()
528 SK_ERR("ifnet not yet attached"); in netif_filter_na_create()
534 SK_ERR("user packet pool required"); in netif_filter_na_create()
538 SK_ERR("event ring is not supported for netif filter channel"); in netif_filter_na_create()
546 SK_ERR("filter vp not supported"); in netif_filter_na_create()
647 SK_ERR("filter NA creation failed, err(%d)", err); in netif_filter_na_create()
H A Dnx_netif_llink.c456 SK_ERR("duplicate llink_id 0x%llu", in nx_netif_llink_add()
894 SK_ERR("default llink flag incompatible: default_llink(%s), " in nx_netif_validate_llink_config()
901 SK_ERR("num qsets is zero"); in nx_netif_validate_llink_config()
905 SK_ERR("qsets is NULL"); in nx_netif_validate_llink_config()
912 SK_ERR("has more than one default qset"); in nx_netif_validate_llink_config()
918 SK_ERR("num_txqs == 0"); in nx_netif_validate_llink_config()
924 SK_ERR("invalid wmm mode"); in nx_netif_validate_llink_config()
949 SK_ERR("failed to alloc kern_nexus_netif_llink_qset_init"); in nx_netif_default_llink_config()
1003 SK_ERR("nx: %p, qset: %d, qset init err %d", in nx_netif_llink_ext_init_queues()
1017 SK_ERR("nx: %p qset: %d queue_init err %d", in nx_netif_llink_ext_init_queues()
[all …]
H A Dnx_netif_vp.c348 SK_ERR("%s: failed to open nx %p (err %d)", in netif_hwna_setup()
414 SK_ERR("port info not found: %d", err); in netif_vp_na_activate_on()
611 SK_ERR("enqueue failed: %d", err); in netif_vp_send_pkt_chain_common()
699 SK_ERR("packet got dropped by internalize"); in netif_vp_na_txsync()
708 SK_ERR("dropped zero length packet"); in netif_vp_na_txsync()
755 SK_ERR("send failed: %d\n", err); in netif_vp_na_txsync()
867 SK_ERR("only one channel is supported for zero copy"); in netif_vp_region_params_setup()
970 SK_ERR("ifnet not yet attached"); in netif_vp_na_create()
975 SK_ERR("user packet pool required"); in netif_vp_na_create()
983 SK_ERR("demux vp not supported"); in netif_vp_na_create()
[all …]
H A Dnx_netif.c560 SK_ERR("buf size too small, min (%d)", in nx_netif_prov_params_adjust()
643 SK_ERR("llink mode not enabled"); in nx_netif_get_llink_info()
649 SK_ERR("zero llink cnt"); in nx_netif_get_llink_info()
657 SK_ERR("buffer too small"); in nx_netif_get_llink_info()
663 SK_ERR("failed to allocate nlir"); in nx_netif_get_llink_info()
669 SK_ERR("copyin failed: %d", err); in nx_netif_get_llink_info()
673 SK_ERR("nlir version mismatch: %d != %d", in nx_netif_get_llink_info()
714 SK_ERR("sooptcopyout failed: %d", err); in nx_netif_get_llink_info()
1661 SK_ERR("invalid cmd %u", nc_cmd); in nx_netif_ctl()
1767 SK_ERR("kr %p ifp %s (%p), interface not attached", in nx_netif_na_txsync()
[all …]
/xnu-12377.61.12/bsd/skywalk/nexus/kpipe/
H A Dnx_kpipe_loopback.c70 SK_ERR("injecting error %d, returning ENOMEM", (_err)); \
561 SK_ERR("failed to register kpipe_loopback domain %d", error); in kpipe_loopback_start()
573 SK_ERR("Failed to create nexus controller %d", error); in kpipe_loopback_start()
588 SK_ERR("Failed to find kernel pipe domain %d", error); in kpipe_loopback_start()
599 SK_ERR("Failed to create nexus_attr %d", error); in kpipe_loopback_start()
606 SK_ERR("Failed to %s anonymous attribute %d", in kpipe_loopback_start()
617 SK_ERR("Failed to register nexus provider %d", error); in kpipe_loopback_start()
629 SK_ERR("Failed to read nexus provider attributes %d", error); in kpipe_loopback_start()
635 SK_ERR("Failed to retrieve NEXUS_ATTR_TX_RINGS %d", error); in kpipe_loopback_start()
640 SK_ERR("Failed to retrieve NEXUS_ATTR_TX_SLOTS %d", error); in kpipe_loopback_start()
[all …]
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_flow.c78 SK_ERR("netagent detached"); in fsw_flow_add()
91 SK_ERR("process for pid %d doesn't exist", pid); in fsw_flow_add()
111 SK_ERR("%s(%d) binding for uuid %s was interrupted", in fsw_flow_add()
122 SK_ERR("%s(%d) binding for flow_uuid %s aborted due to " in fsw_flow_add()
166 SK_ERR("%s(%d) failed to bind flow_uuid %s to a " in fsw_flow_add()
190 SK_ERR("%s(%d) binding for flow_uuid %s aborted " in fsw_flow_add()
303 SK_ERR("%s(%d) failed to add flow_uuid %s (err %d)", in fsw_flow_add()
341 SK_ERR("%s(%d) failed to add RX steering rule for " in fsw_flow_add()
401 SK_ERR("netagent detached"); in fsw_flow_del()
503 SK_ERR("can't find flow"); in fsw_flow_config()
[all …]
H A Dfsw_ethernet.c144 SK_ERR("failed to configure route to %s on %s (err %d)", in fsw_ethernet_resolve()
162 SK_ERR("invalid route for %s on %s (err %d)", in fsw_ethernet_resolve()
196 SK_ERR("failed to allocate mbuf while " in fsw_ethernet_resolve()
214 SK_ERR("bad gateway route %s on %s (err %d)", in fsw_ethernet_resolve()
313 SK_ERR("route unavailable for %s on %s (err %d)", in fsw_ethernet_resolve()
358 SK_ERR("invalid permanent route %s on %s" in fsw_ethernet_resolve()
478 SK_ERR("route to %s on %s can't be resolved (err %d)", in fsw_ethernet_resolve()
502 SK_ERR("fr %p source MAC address updated on %s, " in fsw_ethernet_frame()
564 SK_ERR("unrecognized pkt, len %u", pkt->pkt_length); in fsw_ethernet_demux()
569 SK_ERR("ethernet header overrun 1st buflet"); in fsw_ethernet_demux()
H A Dfsw_vp.c227 SK_ERR("kr \"%s\" (%p) krflags 0x%x in drop mode (err %d)", in fsw_vp_na_txsync()
347 SK_ERR("VP adapter can't be used by kernel"); in fsw_vp_na_create()
351 SK_ERR("user packet pool required"); in fsw_vp_na_create()
629 SK_ERR("non VPNA port"); in fsw_find_port_vpna()
634 SK_ERR("%s[%d] port no longer valid", in fsw_find_port_vpna()
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_manager.c535 SK_ERR("netns for %s.%u failed", in flow_req_prepare_namespace()
551 SK_ERR("netns flow info mismatch, " in flow_req_prepare_namespace()
576 SK_ERR("custom ipsec %u reserve %s failed", in flow_req_prepare_namespace()
590 SK_ERR("protocol %u namespace failed", in flow_req_prepare_namespace()
600 SK_ERR("protons token pid mismatch"); in flow_req_prepare_namespace()
612 SK_ERR("perparation failed (err %d)", err); in flow_req_prepare_namespace()
632 SK_ERR("invalid saddr af %d daddr af %d", saf, daf); in flow_req_prepare()
653 SK_ERR("sin_len invalid"); in flow_req_prepare()
659 SK_ERR("multicast flow not yet supported"); in flow_req_prepare()
682 SK_ERR("sin_len invalid"); in flow_req_prepare()
[all …]
H A Dflow_namespace.c60 SK_ERR("netns is not enabled"); in flow_namespace_create()
85 SK_ERR("invalid protocol (%d)", protocol); in flow_namespace_create()
102 SK_ERR("invalid src address family (%d)", laddr->sa.sa_family); in flow_namespace_create()
H A Dflow_route.c413 SK_ERR("no route to %s on %s (err %d)", in flow_route_configure()
427 SK_ERR("route to %s on %s != %s (err %d)", in flow_route_configure()
476 SK_ERR("no gw route to %s on %s (err %d)", in flow_route_configure()
533 SK_ERR("no usable src address to reach %s on %s " in flow_route_configure()
539 SK_ERR("src address is now %s (was %s) to reach %s " in flow_route_configure()
611 SK_ERR("fr %p error re-configuring dst %s " in flow_route_find()
645 SK_ERR("fr %p error re-configuring dst %s " in flow_route_find()
694 SK_ERR("fr %p error configuring dst %s on %s (err %d)", in flow_route_find()
747 SK_ERR("fr %p resolve %s gw %s on %s (err %d)", in flow_route_find()
752 SK_ERR("fr %p resolve %s dst %s on %s (err %d)", in flow_route_find()
[all …]
H A Dflow_entry.c217 SK_ERR("child entry add failed, parent fe \"%s\" non viable", in flow_entry_add_child()
227 SK_ERR("child entry \"%s\" already exists", in flow_entry_add_child()
451 SK_ERR("invalid request (err %d)", err); in flow_entry_alloc()
464 SK_ERR("entry \"%s\" already exists", in flow_entry_alloc()
474 SK_ERR("parent entry \"%s\" does not exist", uuid_str); in flow_entry_alloc()
481 SK_ERR("failed to alloc flowadv index for flow %s", in flow_entry_alloc()
665 SK_ERR("flow table add failed (err %d)", err); in flow_entry_alloc()
719 SK_ERR("Invalid parameters: fsw=%p, fe=%p", SK_KVA(fsw), SK_KVA(fe)); in flow_entry_add_rx_steering_rule()
728 SK_ERR("Device channel not available for RX flow steering"); in flow_entry_add_rx_steering_rule()
735 SK_ERR("Nexus not available for RX flow steering"); in flow_entry_add_rx_steering_rule()
[all …]
H A Dflow_classifier.c39 SK_ERR("%s %s", if_name(ifp), sk_dump("buf", \
419 SK_ERR("packet is too long (%u), trimming to " in flow_pkt_classify()
427 SK_ERR("dropped; length (%u) exceeds MTU (%d) " in flow_pkt_classify()
431 SK_ERR("%s", sk_dump("buf", l3_hdr, cls_len, in flow_pkt_classify()
/xnu-12377.61.12/bsd/skywalk/mem/
H A Dskmem_test.c235 SK_ERR("flags 0x%x", flags); in skmem_buflet_tests()
310 SK_ERR("[a] retrying alloc for packet %u", in skmem_buflet_tests()
343 SK_ERR("[a] retrying alloc for packet %u", in skmem_buflet_tests()
371 SK_ERR("retrying batch alloc for %u packets", phcnt); in skmem_buflet_tests()
374 SK_ERR("batch alloc for %u packets only returned %u", in skmem_buflet_tests()
783 SK_ERR("flags 0x%x", flags); in skmem_packet_tests()
927 SK_ERR("pkt_copypkt_sum: csum_eeo_mismatch 0x%x, " in skmem_packet_tests()
943 SK_ERR("pkt_copypkt_sum: csum_eoe_mismatch 0x%x, " in skmem_packet_tests()
958 SK_ERR("pkt_copypkt_sum: csum_eoo_mismatch 0x%x, " in skmem_packet_tests()
973 SK_ERR("pkt_copypkt_sum: csum_oeo_mismatch 0x%x, " in skmem_packet_tests()
[all …]
/xnu-12377.61.12/bsd/skywalk/channel/
H A Dchannel_ring.c388 SK_ERR("kr \"%s\" (0x%p) krflags 0x%x", kring->ckr_name, SK_KVA(kring), in kr_log_bad_ring()
416 SK_ERR("total %d errors", errors); in kr_log_bad_ring()
417 SK_ERR("kr \"%s\" (0x%p) krflags 0x%x crash, " in kr_log_bad_ring()
485 SK_ERR("qum index mismatch"); in kr_txprologue()
493 SK_ERR("%s(%d) kr \"%s\" (%p) slot %u dropped " in kr_txprologue()
541 SK_ERR("%s(%d) kr \"%s\" (%p) slot %u " in kr_txprologue_upp()
551 SK_ERR("%s(%d) kr \"%s\" (%p) slot %u " in kr_txprologue_upp()
566 SK_ERR("qum index mismatch"); in kr_txprologue_upp()
576 SK_ERR("%s(%d) kr \"%s\" (%p) slot %u dropped " in kr_txprologue_upp()
610 #define NM_FAIL_ON(t, reason) if (__improbable(t)) { SK_ERR("fail " #t); \
[all …]
H A Dchannel_kern.c353 SK_ERR("invalid limits plim %d, blim %d", in kern_channel_tx_refill_common()
360 SK_ERR("hwna %p ifp %s (%p), interface not attached", in kern_channel_tx_refill_common()
385 SK_ERR("hw-kr %p stopped", SK_KVA(hw_kring)); in kern_channel_tx_refill_common()
522 SK_ERR("channel token 0x%x fidx %u on %s not found", in _kern_channel_flowadv_signal()
594 SK_ERR("channel token 0x%x fidx %u on %s not found", in kern_channel_flowadv_report_congestion_event()
/xnu-12377.61.12/bsd/skywalk/lib/
H A Dcuckoo_hashtable_test.c194 SK_ERR("start"); in cht_basic_tests()
311 SK_ERR("done"); in cht_basic_tests()
611 SK_ERR("start, nthreads %d", nthreads); in cht_concurrent_tests()
664 SK_ERR("done"); in cht_concurrent_tests()
722 SK_ERR("failed to get new sysctl value"); in sysctl_cuckoo_test()
728 SK_ERR("previous cuckoo test instance is still active"); in sysctl_cuckoo_test()
740 SK_ERR("failed to create cuckoo test action thread"); in sysctl_cuckoo_test()
745 SK_ERR("waiting for %s to complete", in sysctl_cuckoo_test()
767 SK_ERR("exited from msleep"); in sysctl_cuckoo_test()
/xnu-12377.61.12/bsd/skywalk/
H A Dos_skywalk_private.h252 #define SK_ERR(_fmt, ...) _SK_LOG(OS_LOG_TYPE_ERROR, SK_VERB_ERROR, _fmt, ##__VA_ARGS__) macro
256 SK_ERR("%s(%d): " _fmt, sk_proc_name(_p), sk_proc_pid(_p), ##__VA_ARGS__); \
293 #define SK_ERR(_fmt, ...) do { ((void)0); } while (0) macro
/xnu-12377.61.12/bsd/skywalk/packet/
H A Dpbufpool.c662 SK_ERR("pp \"%s\" MTBF failure", pp->pp_name); in pp_metadata_ctor_common()
1185 SK_ERR("\"%s\" (%p) failed to create %s region", in pp_create()
1192 SK_ERR("\"%s\" (%p) failed to create %s region", in pp_create()
1218 SK_ERR("\"%s\" (%p) failed to create %s region", in pp_create()
1227 SK_ERR("\"%s\" (%p) failed to create %s region", in pp_create()
1256 SK_ERR("\"%s\" (%p) failed to create \"%s\" cache", in pp_create()
1273 SK_ERR("\"%s\" (%p) failed to create \"%s\" cache", in pp_create()
1290 SK_ERR("\"%s\" (%p) failed to " in pp_create()
1300 SK_ERR("\"%s\" (%p) failed to create %s region", in pp_create()
1309 SK_ERR("\"%s\" (%p) failed to create %s region", in pp_create()
[all …]

123