Lines Matching refs:pr_name

148 static int hxge_m_setprop(void *barg, const char *pr_name, mac_prop_id_t pr_num,
150 static int hxge_m_getprop(void *barg, const char *pr_name, mac_prop_id_t pr_num,
152 static void hxge_m_propinfo(void *barg, const char *pr_name,
154 static int hxge_set_priv_prop(p_hxge_t hxgep, const char *pr_name,
156 static int hxge_get_priv_prop(p_hxge_t hxgep, const char *pr_name,
3135 hxge_m_setprop(void *barg, const char *pr_name, mac_prop_id_t pr_num,
3237 err = hxge_set_priv_prop(hxgep, pr_name, pr_valsize,
3255 hxge_m_getprop(void *barg, const char *pr_name, mac_prop_id_t pr_num,
3320 err = hxge_get_priv_prop(hxgep, pr_name, pr_valsize,
3335 hxge_m_propinfo(void *arg, const char *pr_name,
3360 if (strcmp(pr_name, "_rxdma_intr_time") == 0) {
3363 } else if (strcmp(pr_name, "_rxdma_intr_pkts") == 0) {
3368 } else if (strcmp(pr_name, "_class_opt_ipv4_tcp") == 0 ||
3369 strcmp(pr_name, "_class_opt_ipv4_udp") == 0 ||
3370 strcmp(pr_name, "_class_opt_ipv4_ah") == 0 ||
3371 strcmp(pr_name, "_class_opt_ipv4_sctp") == 0 ||
3372 strcmp(pr_name, "_class_opt_ipv6_tcp") == 0 ||
3373 strcmp(pr_name, "_class_opt_ipv6_udp") == 0 ||
3374 strcmp(pr_name, "_class_opt_ipv6_ah") == 0 ||
3375 strcmp(pr_name, "_class_opt_ipv6_sctp") == 0) {
3390 hxge_set_priv_prop(p_hxge_t hxgep, const char *pr_name, uint_t pr_valsize,
3397 "==> hxge_set_priv_prop: name %s (value %s)", pr_name, pr_val));
3404 if (strcmp(pr_name, "_rxdma_intr_time") == 0) {
3407 } else if (strcmp(pr_name, "_rxdma_intr_pkts") == 0) {
3412 } else if (strcmp(pr_name, "_class_opt_ipv4_tcp") == 0) {
3415 } else if (strcmp(pr_name, "_class_opt_ipv4_udp") == 0) {
3418 } else if (strcmp(pr_name, "_class_opt_ipv4_ah") == 0) {
3421 } else if (strcmp(pr_name, "_class_opt_ipv4_sctp") == 0) {
3424 } else if (strcmp(pr_name, "_class_opt_ipv6_tcp") == 0) {
3427 } else if (strcmp(pr_name, "_class_opt_ipv6_udp") == 0) {
3430 } else if (strcmp(pr_name, "_class_opt_ipv6_ah") == 0) {
3433 } else if (strcmp(pr_name, "_class_opt_ipv6_sctp") == 0) {
3447 hxge_get_priv_prop(p_hxge_t hxgep, const char *pr_name, uint_t pr_valsize,
3457 "==> hxge_get_priv_prop: property %s", pr_name));
3460 if (strcmp(pr_name, "_rxdma_intr_time") == 0) {
3462 } else if (strcmp(pr_name, "_rxdma_intr_pkts") == 0) {
3466 } else if (strcmp(pr_name, "_class_opt_ipv4_tcp") == 0) {
3471 } else if (strcmp(pr_name, "_class_opt_ipv4_udp") == 0) {
3476 } else if (strcmp(pr_name, "_class_opt_ipv4_ah") == 0) {
3481 } else if (strcmp(pr_name, "_class_opt_ipv4_sctp") == 0) {
3486 } else if (strcmp(pr_name, "_class_opt_ipv6_tcp") == 0) {
3491 } else if (strcmp(pr_name, "_class_opt_ipv6_udp") == 0) {
3496 } else if (strcmp(pr_name, "_class_opt_ipv6_ah") == 0) {
3501 } else if (strcmp(pr_name, "_class_opt_ipv6_sctp") == 0) {