Lines Matching refs:drvs

423 	struct be_drv_stats *drvs = &adapter->drv_stats;  in populate_be_v0_stats()  local
426 drvs->rx_pause_frames = port_stats->rx_pause_frames; in populate_be_v0_stats()
427 drvs->rx_crc_errors = port_stats->rx_crc_errors; in populate_be_v0_stats()
428 drvs->rx_control_frames = port_stats->rx_control_frames; in populate_be_v0_stats()
429 drvs->rx_in_range_errors = port_stats->rx_in_range_errors; in populate_be_v0_stats()
430 drvs->rx_frame_too_long = port_stats->rx_frame_too_long; in populate_be_v0_stats()
431 drvs->rx_dropped_runt = port_stats->rx_dropped_runt; in populate_be_v0_stats()
432 drvs->rx_ip_checksum_errs = port_stats->rx_ip_checksum_errs; in populate_be_v0_stats()
433 drvs->rx_tcp_checksum_errs = port_stats->rx_tcp_checksum_errs; in populate_be_v0_stats()
434 drvs->rx_udp_checksum_errs = port_stats->rx_udp_checksum_errs; in populate_be_v0_stats()
435 drvs->rxpp_fifo_overflow_drop = port_stats->rx_fifo_overflow; in populate_be_v0_stats()
436 drvs->rx_dropped_tcp_length = port_stats->rx_dropped_tcp_length; in populate_be_v0_stats()
437 drvs->rx_dropped_too_small = port_stats->rx_dropped_too_small; in populate_be_v0_stats()
438 drvs->rx_dropped_too_short = port_stats->rx_dropped_too_short; in populate_be_v0_stats()
439 drvs->rx_out_range_errors = port_stats->rx_out_range_errors; in populate_be_v0_stats()
440 drvs->rx_input_fifo_overflow_drop = port_stats->rx_input_fifo_overflow; in populate_be_v0_stats()
441 drvs->rx_dropped_header_too_small = in populate_be_v0_stats()
443 drvs->rx_address_filtered = in populate_be_v0_stats()
446 drvs->rx_alignment_symbol_errors = in populate_be_v0_stats()
449 drvs->tx_pauseframes = port_stats->tx_pauseframes; in populate_be_v0_stats()
450 drvs->tx_controlframes = port_stats->tx_controlframes; in populate_be_v0_stats()
453 drvs->jabber_events = rxf_stats->port1_jabber_events; in populate_be_v0_stats()
455 drvs->jabber_events = rxf_stats->port0_jabber_events; in populate_be_v0_stats()
456 drvs->rx_drops_no_pbuf = rxf_stats->rx_drops_no_pbuf; in populate_be_v0_stats()
457 drvs->rx_drops_no_erx_descr = rxf_stats->rx_drops_no_erx_descr; in populate_be_v0_stats()
458 drvs->forwarded_packets = rxf_stats->forwarded_packets; in populate_be_v0_stats()
459 drvs->rx_drops_mtu = rxf_stats->rx_drops_mtu; in populate_be_v0_stats()
460 drvs->rx_drops_no_tpre_descr = rxf_stats->rx_drops_no_tpre_descr; in populate_be_v0_stats()
461 drvs->rx_drops_too_many_frags = rxf_stats->rx_drops_too_many_frags; in populate_be_v0_stats()
472 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v1_stats() local
475 drvs->pmem_fifo_overflow_drop = port_stats->pmem_fifo_overflow_drop; in populate_be_v1_stats()
476 drvs->rx_priority_pause_frames = port_stats->rx_priority_pause_frames; in populate_be_v1_stats()
477 drvs->rx_pause_frames = port_stats->rx_pause_frames; in populate_be_v1_stats()
478 drvs->rx_crc_errors = port_stats->rx_crc_errors; in populate_be_v1_stats()
479 drvs->rx_control_frames = port_stats->rx_control_frames; in populate_be_v1_stats()
480 drvs->rx_in_range_errors = port_stats->rx_in_range_errors; in populate_be_v1_stats()
481 drvs->rx_frame_too_long = port_stats->rx_frame_too_long; in populate_be_v1_stats()
482 drvs->rx_dropped_runt = port_stats->rx_dropped_runt; in populate_be_v1_stats()
483 drvs->rx_ip_checksum_errs = port_stats->rx_ip_checksum_errs; in populate_be_v1_stats()
484 drvs->rx_tcp_checksum_errs = port_stats->rx_tcp_checksum_errs; in populate_be_v1_stats()
485 drvs->rx_udp_checksum_errs = port_stats->rx_udp_checksum_errs; in populate_be_v1_stats()
486 drvs->rx_dropped_tcp_length = port_stats->rx_dropped_tcp_length; in populate_be_v1_stats()
487 drvs->rx_dropped_too_small = port_stats->rx_dropped_too_small; in populate_be_v1_stats()
488 drvs->rx_dropped_too_short = port_stats->rx_dropped_too_short; in populate_be_v1_stats()
489 drvs->rx_out_range_errors = port_stats->rx_out_range_errors; in populate_be_v1_stats()
490 drvs->rx_dropped_header_too_small = in populate_be_v1_stats()
492 drvs->rx_input_fifo_overflow_drop = in populate_be_v1_stats()
494 drvs->rx_address_filtered = port_stats->rx_address_filtered; in populate_be_v1_stats()
495 drvs->rx_alignment_symbol_errors = in populate_be_v1_stats()
497 drvs->rxpp_fifo_overflow_drop = port_stats->rxpp_fifo_overflow_drop; in populate_be_v1_stats()
498 drvs->tx_pauseframes = port_stats->tx_pauseframes; in populate_be_v1_stats()
499 drvs->tx_controlframes = port_stats->tx_controlframes; in populate_be_v1_stats()
500 drvs->tx_priority_pauseframes = port_stats->tx_priority_pauseframes; in populate_be_v1_stats()
501 drvs->jabber_events = port_stats->jabber_events; in populate_be_v1_stats()
502 drvs->rx_drops_no_pbuf = rxf_stats->rx_drops_no_pbuf; in populate_be_v1_stats()
503 drvs->rx_drops_no_erx_descr = rxf_stats->rx_drops_no_erx_descr; in populate_be_v1_stats()
504 drvs->forwarded_packets = rxf_stats->forwarded_packets; in populate_be_v1_stats()
505 drvs->rx_drops_mtu = rxf_stats->rx_drops_mtu; in populate_be_v1_stats()
506 drvs->rx_drops_no_tpre_descr = rxf_stats->rx_drops_no_tpre_descr; in populate_be_v1_stats()
507 drvs->rx_drops_too_many_frags = rxf_stats->rx_drops_too_many_frags; in populate_be_v1_stats()
518 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v2_stats() local
521 drvs->pmem_fifo_overflow_drop = port_stats->pmem_fifo_overflow_drop; in populate_be_v2_stats()
522 drvs->rx_priority_pause_frames = port_stats->rx_priority_pause_frames; in populate_be_v2_stats()
523 drvs->rx_pause_frames = port_stats->rx_pause_frames; in populate_be_v2_stats()
524 drvs->rx_crc_errors = port_stats->rx_crc_errors; in populate_be_v2_stats()
525 drvs->rx_control_frames = port_stats->rx_control_frames; in populate_be_v2_stats()
526 drvs->rx_in_range_errors = port_stats->rx_in_range_errors; in populate_be_v2_stats()
527 drvs->rx_frame_too_long = port_stats->rx_frame_too_long; in populate_be_v2_stats()
528 drvs->rx_dropped_runt = port_stats->rx_dropped_runt; in populate_be_v2_stats()
529 drvs->rx_ip_checksum_errs = port_stats->rx_ip_checksum_errs; in populate_be_v2_stats()
530 drvs->rx_tcp_checksum_errs = port_stats->rx_tcp_checksum_errs; in populate_be_v2_stats()
531 drvs->rx_udp_checksum_errs = port_stats->rx_udp_checksum_errs; in populate_be_v2_stats()
532 drvs->rx_dropped_tcp_length = port_stats->rx_dropped_tcp_length; in populate_be_v2_stats()
533 drvs->rx_dropped_too_small = port_stats->rx_dropped_too_small; in populate_be_v2_stats()
534 drvs->rx_dropped_too_short = port_stats->rx_dropped_too_short; in populate_be_v2_stats()
535 drvs->rx_out_range_errors = port_stats->rx_out_range_errors; in populate_be_v2_stats()
536 drvs->rx_dropped_header_too_small = in populate_be_v2_stats()
538 drvs->rx_input_fifo_overflow_drop = in populate_be_v2_stats()
540 drvs->rx_address_filtered = port_stats->rx_address_filtered; in populate_be_v2_stats()
541 drvs->rx_alignment_symbol_errors = in populate_be_v2_stats()
543 drvs->rxpp_fifo_overflow_drop = port_stats->rxpp_fifo_overflow_drop; in populate_be_v2_stats()
544 drvs->tx_pauseframes = port_stats->tx_pauseframes; in populate_be_v2_stats()
545 drvs->tx_controlframes = port_stats->tx_controlframes; in populate_be_v2_stats()
546 drvs->tx_priority_pauseframes = port_stats->tx_priority_pauseframes; in populate_be_v2_stats()
547 drvs->jabber_events = port_stats->jabber_events; in populate_be_v2_stats()
548 drvs->rx_drops_no_pbuf = rxf_stats->rx_drops_no_pbuf; in populate_be_v2_stats()
549 drvs->rx_drops_no_erx_descr = rxf_stats->rx_drops_no_erx_descr; in populate_be_v2_stats()
550 drvs->forwarded_packets = rxf_stats->forwarded_packets; in populate_be_v2_stats()
551 drvs->rx_drops_mtu = rxf_stats->rx_drops_mtu; in populate_be_v2_stats()
552 drvs->rx_drops_no_tpre_descr = rxf_stats->rx_drops_no_tpre_descr; in populate_be_v2_stats()
553 drvs->rx_drops_too_many_frags = rxf_stats->rx_drops_too_many_frags; in populate_be_v2_stats()
556 drvs->rx_roce_bytes_lsd = port_stats->roce_bytes_received_lsd; in populate_be_v2_stats()
557 drvs->rx_roce_bytes_msd = port_stats->roce_bytes_received_msd; in populate_be_v2_stats()
558 drvs->rx_roce_frames = port_stats->roce_frames_received; in populate_be_v2_stats()
559 drvs->roce_drops_crc = port_stats->roce_drops_crc; in populate_be_v2_stats()
560 drvs->roce_drops_payload_len = in populate_be_v2_stats()
567 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_lancer_stats() local
571 drvs->rx_pause_frames = pport_stats->rx_pause_frames_lo; in populate_lancer_stats()
572 drvs->rx_crc_errors = pport_stats->rx_crc_errors_lo; in populate_lancer_stats()
573 drvs->rx_control_frames = pport_stats->rx_control_frames_lo; in populate_lancer_stats()
574 drvs->rx_in_range_errors = pport_stats->rx_in_range_errors; in populate_lancer_stats()
575 drvs->rx_frame_too_long = pport_stats->rx_frames_too_long_lo; in populate_lancer_stats()
576 drvs->rx_dropped_runt = pport_stats->rx_dropped_runt; in populate_lancer_stats()
577 drvs->rx_ip_checksum_errs = pport_stats->rx_ip_checksum_errors; in populate_lancer_stats()
578 drvs->rx_tcp_checksum_errs = pport_stats->rx_tcp_checksum_errors; in populate_lancer_stats()
579 drvs->rx_udp_checksum_errs = pport_stats->rx_udp_checksum_errors; in populate_lancer_stats()
580 drvs->rx_dropped_tcp_length = in populate_lancer_stats()
582 drvs->rx_dropped_too_small = pport_stats->rx_dropped_too_small; in populate_lancer_stats()
583 drvs->rx_dropped_too_short = pport_stats->rx_dropped_too_short; in populate_lancer_stats()
584 drvs->rx_out_range_errors = pport_stats->rx_out_of_range_errors; in populate_lancer_stats()
585 drvs->rx_dropped_header_too_small = in populate_lancer_stats()
587 drvs->rx_input_fifo_overflow_drop = pport_stats->rx_fifo_overflow; in populate_lancer_stats()
588 drvs->rx_address_filtered = in populate_lancer_stats()
591 drvs->rx_alignment_symbol_errors = pport_stats->rx_symbol_errors_lo; in populate_lancer_stats()
592 drvs->rxpp_fifo_overflow_drop = pport_stats->rx_fifo_overflow; in populate_lancer_stats()
593 drvs->tx_pauseframes = pport_stats->tx_pause_frames_lo; in populate_lancer_stats()
594 drvs->tx_controlframes = pport_stats->tx_control_frames_lo; in populate_lancer_stats()
595 drvs->jabber_events = pport_stats->rx_jabbers; in populate_lancer_stats()
596 drvs->forwarded_packets = pport_stats->num_forwards_lo; in populate_lancer_stats()
597 drvs->rx_drops_mtu = pport_stats->rx_drops_mtu_lo; in populate_lancer_stats()
598 drvs->rx_drops_too_many_frags = in populate_lancer_stats()
657 struct be_drv_stats *drvs = &adapter->drv_stats; in be_get_stats64() local
692 stats->rx_errors = drvs->rx_crc_errors + in be_get_stats64()
693 drvs->rx_alignment_symbol_errors + in be_get_stats64()
694 drvs->rx_in_range_errors + in be_get_stats64()
695 drvs->rx_out_range_errors + in be_get_stats64()
696 drvs->rx_frame_too_long + in be_get_stats64()
697 drvs->rx_dropped_too_small + in be_get_stats64()
698 drvs->rx_dropped_too_short + in be_get_stats64()
699 drvs->rx_dropped_header_too_small + in be_get_stats64()
700 drvs->rx_dropped_tcp_length + in be_get_stats64()
701 drvs->rx_dropped_runt; in be_get_stats64()
704 stats->rx_length_errors = drvs->rx_in_range_errors + in be_get_stats64()
705 drvs->rx_out_range_errors + in be_get_stats64()
706 drvs->rx_frame_too_long; in be_get_stats64()
708 stats->rx_crc_errors = drvs->rx_crc_errors; in be_get_stats64()
711 stats->rx_frame_errors = drvs->rx_alignment_symbol_errors; in be_get_stats64()
715 stats->rx_fifo_errors = drvs->rxpp_fifo_overflow_drop + in be_get_stats64()
716 drvs->rx_input_fifo_overflow_drop + in be_get_stats64()
717 drvs->rx_drops_no_pbuf; in be_get_stats64()