Lines Matching full:caps
312 static void print_odp_caps(const struct ibv_odp_caps *caps) in print_odp_caps() argument
316 /* general odp caps */ in print_odp_caps()
318 if (caps->general_caps & IBV_ODP_SUPPORT) in print_odp_caps()
320 if (caps->general_caps & unknown_general_caps) in print_odp_caps()
322 caps->general_caps & unknown_general_caps); in print_odp_caps()
326 print_odp_trans_caps(caps->per_transport_caps.rc_odp_caps); in print_odp_caps()
328 print_odp_trans_caps(caps->per_transport_caps.uc_odp_caps); in print_odp_caps()
330 print_odp_trans_caps(caps->per_transport_caps.ud_odp_caps); in print_odp_caps()
345 static void print_tso_caps(const struct ibv_tso_caps *caps) in print_tso_caps() argument
350 printf("\tmax_tso:\t\t\t%d\n", caps->max_tso); in print_tso_caps()
352 if (caps->max_tso) { in print_tso_caps()
354 if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_RAW_PACKET)) in print_tso_caps()
356 if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_UD)) in print_tso_caps()
358 if (caps->supported_qpts & unknown_general_caps) in print_tso_caps()
360 caps->supported_qpts & unknown_general_caps); in print_tso_caps()
364 static void print_rss_caps(const struct ibv_rss_caps *caps) in print_rss_caps() argument
369 printf("\t\tmax_rwq_indirection_tables:\t\t\t%u\n", caps->max_rwq_indirection_tables); in print_rss_caps()
370 printf("\t\tmax_rwq_indirection_table_size:\t\t\t%u\n", caps->max_rwq_indirection_table_size); in print_rss_caps()
371 printf("\t\trx_hash_function:\t\t\t\t0x%x\n", caps->rx_hash_function); in print_rss_caps()
372 printf("\t\trx_hash_fields_mask:\t\t\t\t0x%" PRIX64 "\n", caps->rx_hash_fields_mask); in print_rss_caps()
374 if (caps->supported_qpts) { in print_rss_caps()
376 if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_RAW_PACKET)) in print_rss_caps()
378 if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_UD)) in print_rss_caps()
380 if (caps->supported_qpts & unknown_general_caps) in print_rss_caps()
382 caps->supported_qpts & unknown_general_caps); in print_rss_caps()
386 static void print_packet_pacing_caps(const struct ibv_packet_pacing_caps *caps) in print_packet_pacing_caps() argument
391 printf("\t\tqp_rate_limit_min:\t%ukbps\n", caps->qp_rate_limit_min); in print_packet_pacing_caps()
392 printf("\t\tqp_rate_limit_max:\t%ukbps\n", caps->qp_rate_limit_max); in print_packet_pacing_caps()
394 if (caps->qp_rate_limit_max) { in print_packet_pacing_caps()
396 if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_RAW_PACKET)) in print_packet_pacing_caps()
398 if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_UD)) in print_packet_pacing_caps()
400 if (caps->supported_qpts & unknown_general_caps) in print_packet_pacing_caps()
402 caps->supported_qpts & unknown_general_caps); in print_packet_pacing_caps()
408 printf("\traw packet caps:\n"); in print_raw_packet_caps()