Lines Matching refs:string
531 static void bnad_get_txf_strings(u8 **string, int f_num) in bnad_get_txf_strings() argument
533 ethtool_sprintf(string, "txf%d_ucast_octets", f_num); in bnad_get_txf_strings()
534 ethtool_sprintf(string, "txf%d_ucast", f_num); in bnad_get_txf_strings()
535 ethtool_sprintf(string, "txf%d_ucast_vlan", f_num); in bnad_get_txf_strings()
536 ethtool_sprintf(string, "txf%d_mcast_octets", f_num); in bnad_get_txf_strings()
537 ethtool_sprintf(string, "txf%d_mcast", f_num); in bnad_get_txf_strings()
538 ethtool_sprintf(string, "txf%d_mcast_vlan", f_num); in bnad_get_txf_strings()
539 ethtool_sprintf(string, "txf%d_bcast_octets", f_num); in bnad_get_txf_strings()
540 ethtool_sprintf(string, "txf%d_bcast", f_num); in bnad_get_txf_strings()
541 ethtool_sprintf(string, "txf%d_bcast_vlan", f_num); in bnad_get_txf_strings()
542 ethtool_sprintf(string, "txf%d_errors", f_num); in bnad_get_txf_strings()
543 ethtool_sprintf(string, "txf%d_filter_vlan", f_num); in bnad_get_txf_strings()
544 ethtool_sprintf(string, "txf%d_filter_mac_sa", f_num); in bnad_get_txf_strings()
547 static void bnad_get_rxf_strings(u8 **string, int f_num) in bnad_get_rxf_strings() argument
549 ethtool_sprintf(string, "rxf%d_ucast_octets", f_num); in bnad_get_rxf_strings()
550 ethtool_sprintf(string, "rxf%d_ucast", f_num); in bnad_get_rxf_strings()
551 ethtool_sprintf(string, "rxf%d_ucast_vlan", f_num); in bnad_get_rxf_strings()
552 ethtool_sprintf(string, "rxf%d_mcast_octets", f_num); in bnad_get_rxf_strings()
553 ethtool_sprintf(string, "rxf%d_mcast", f_num); in bnad_get_rxf_strings()
554 ethtool_sprintf(string, "rxf%d_mcast_vlan", f_num); in bnad_get_rxf_strings()
555 ethtool_sprintf(string, "rxf%d_bcast_octets", f_num); in bnad_get_rxf_strings()
556 ethtool_sprintf(string, "rxf%d_bcast", f_num); in bnad_get_rxf_strings()
557 ethtool_sprintf(string, "rxf%d_bcast_vlan", f_num); in bnad_get_rxf_strings()
558 ethtool_sprintf(string, "rxf%d_frame_drops", f_num); in bnad_get_rxf_strings()
561 static void bnad_get_cq_strings(u8 **string, int q_num) in bnad_get_cq_strings() argument
563 ethtool_sprintf(string, "cq%d_producer_index", q_num); in bnad_get_cq_strings()
564 ethtool_sprintf(string, "cq%d_consumer_index", q_num); in bnad_get_cq_strings()
565 ethtool_sprintf(string, "cq%d_hw_producer_index", q_num); in bnad_get_cq_strings()
566 ethtool_sprintf(string, "cq%d_intr", q_num); in bnad_get_cq_strings()
567 ethtool_sprintf(string, "cq%d_poll", q_num); in bnad_get_cq_strings()
568 ethtool_sprintf(string, "cq%d_schedule", q_num); in bnad_get_cq_strings()
569 ethtool_sprintf(string, "cq%d_keep_poll", q_num); in bnad_get_cq_strings()
570 ethtool_sprintf(string, "cq%d_complete", q_num); in bnad_get_cq_strings()
573 static void bnad_get_rxq_strings(u8 **string, int q_num) in bnad_get_rxq_strings() argument
575 ethtool_sprintf(string, "rxq%d_packets", q_num); in bnad_get_rxq_strings()
576 ethtool_sprintf(string, "rxq%d_bytes", q_num); in bnad_get_rxq_strings()
577 ethtool_sprintf(string, "rxq%d_packets_with_error", q_num); in bnad_get_rxq_strings()
578 ethtool_sprintf(string, "rxq%d_allocbuf_failed", q_num); in bnad_get_rxq_strings()
579 ethtool_sprintf(string, "rxq%d_mapbuf_failed", q_num); in bnad_get_rxq_strings()
580 ethtool_sprintf(string, "rxq%d_producer_index", q_num); in bnad_get_rxq_strings()
581 ethtool_sprintf(string, "rxq%d_consumer_index", q_num); in bnad_get_rxq_strings()
584 static void bnad_get_txq_strings(u8 **string, int q_num) in bnad_get_txq_strings() argument
586 ethtool_sprintf(string, "txq%d_packets", q_num); in bnad_get_txq_strings()
587 ethtool_sprintf(string, "txq%d_bytes", q_num); in bnad_get_txq_strings()
588 ethtool_sprintf(string, "txq%d_producer_index", q_num); in bnad_get_txq_strings()
589 ethtool_sprintf(string, "txq%d_consumer_index", q_num); in bnad_get_txq_strings()
590 ethtool_sprintf(string, "txq%d_hw_consumer_index", q_num); in bnad_get_txq_strings()
594 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 *string) in bnad_get_strings() argument
607 ethtool_sprintf(&string, bnad_net_stats_strings[i]); in bnad_get_strings()
613 bnad_get_txf_strings(&string, i); in bnad_get_strings()
620 bnad_get_rxf_strings(&string, i); in bnad_get_strings()
629 bnad_get_cq_strings(&string, q_num++); in bnad_get_strings()
637 bnad_get_rxq_strings(&string, q_num++); in bnad_get_strings()
641 bnad_get_rxq_strings(&string, q_num++); in bnad_get_strings()
650 bnad_get_txq_strings(&string, q_num++); in bnad_get_strings()