Searched refs:proto_stats (Results 1 – 2 of 2) sorted by relevance
984 struct qed_fcoe_stats proto_stats; in qed_get_protocol_stats_fcoe() local987 memset(&proto_stats, 0, sizeof(proto_stats)); in qed_get_protocol_stats_fcoe()988 if (qed_fcoe_stats(cdev, &proto_stats)) { in qed_get_protocol_stats_fcoe()995 stats->rx_pkts = proto_stats.fcoe_rx_data_pkt_cnt + in qed_get_protocol_stats_fcoe()996 proto_stats.fcoe_rx_xfer_pkt_cnt + in qed_get_protocol_stats_fcoe()997 proto_stats.fcoe_rx_other_pkt_cnt; in qed_get_protocol_stats_fcoe()998 stats->tx_pkts = proto_stats.fcoe_tx_data_pkt_cnt + in qed_get_protocol_stats_fcoe()999 proto_stats.fcoe_tx_xfer_pkt_cnt + in qed_get_protocol_stats_fcoe()1000 proto_stats.fcoe_tx_other_pkt_cnt; in qed_get_protocol_stats_fcoe()1001 stats->fcs_err = proto_stats.fcoe_silent_drop_pkt_crc_error_cnt; in qed_get_protocol_stats_fcoe()
1363 struct qed_iscsi_stats proto_stats; in qed_get_protocol_stats_iscsi() local1366 memset(&proto_stats, 0, sizeof(proto_stats)); in qed_get_protocol_stats_iscsi()1367 if (qed_iscsi_stats(cdev, &proto_stats)) { in qed_get_protocol_stats_iscsi()1374 stats->rx_pdus = proto_stats.iscsi_rx_total_pdu_cnt; in qed_get_protocol_stats_iscsi()1375 stats->tx_pdus = proto_stats.iscsi_tx_total_pdu_cnt; in qed_get_protocol_stats_iscsi()1376 stats->rx_bytes = proto_stats.iscsi_rx_bytes_cnt; in qed_get_protocol_stats_iscsi()1377 stats->tx_bytes = proto_stats.iscsi_tx_bytes_cnt; in qed_get_protocol_stats_iscsi()