Searched refs:proto_stats (Results 1 – 2 of 2) sorted by relevance
993 struct qed_fcoe_stats proto_stats; in qed_get_protocol_stats_fcoe() local996 memset(&proto_stats, 0, sizeof(proto_stats)); in qed_get_protocol_stats_fcoe()997 if (qed_fcoe_stats_context(cdev, &proto_stats, is_atomic)) { in qed_get_protocol_stats_fcoe()1004 stats->rx_pkts = proto_stats.fcoe_rx_data_pkt_cnt + in qed_get_protocol_stats_fcoe()1005 proto_stats.fcoe_rx_xfer_pkt_cnt + in qed_get_protocol_stats_fcoe()1006 proto_stats.fcoe_rx_other_pkt_cnt; in qed_get_protocol_stats_fcoe()1007 stats->tx_pkts = proto_stats.fcoe_tx_data_pkt_cnt + in qed_get_protocol_stats_fcoe()1008 proto_stats.fcoe_tx_xfer_pkt_cnt + in qed_get_protocol_stats_fcoe()1009 proto_stats.fcoe_tx_other_pkt_cnt; in qed_get_protocol_stats_fcoe()1010 stats->fcs_err = proto_stats.fcoe_silent_drop_pkt_crc_error_cnt; in qed_get_protocol_stats_fcoe()
1372 struct qed_iscsi_stats proto_stats; in qed_get_protocol_stats_iscsi() local1375 memset(&proto_stats, 0, sizeof(proto_stats)); in qed_get_protocol_stats_iscsi()1376 if (qed_iscsi_stats_context(cdev, &proto_stats, is_atomic)) { in qed_get_protocol_stats_iscsi()1383 stats->rx_pdus = proto_stats.iscsi_rx_total_pdu_cnt; in qed_get_protocol_stats_iscsi()1384 stats->tx_pdus = proto_stats.iscsi_tx_total_pdu_cnt; in qed_get_protocol_stats_iscsi()1385 stats->rx_bytes = proto_stats.iscsi_rx_bytes_cnt; in qed_get_protocol_stats_iscsi()1386 stats->tx_bytes = proto_stats.iscsi_tx_bytes_cnt; in qed_get_protocol_stats_iscsi()