Home
last modified time | relevance | path

Searched refs:proto_stats (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c985 struct qed_fcoe_stats proto_stats; in qed_get_protocol_stats_fcoe() local
988 memset(&proto_stats, 0, sizeof(proto_stats)); in qed_get_protocol_stats_fcoe()
989 if (qed_fcoe_stats(cdev, &proto_stats)) { in qed_get_protocol_stats_fcoe()
996 stats->rx_pkts = proto_stats.fcoe_rx_data_pkt_cnt + in qed_get_protocol_stats_fcoe()
997 proto_stats.fcoe_rx_xfer_pkt_cnt + in qed_get_protocol_stats_fcoe()
998 proto_stats.fcoe_rx_other_pkt_cnt; in qed_get_protocol_stats_fcoe()
999 stats->tx_pkts = proto_stats.fcoe_tx_data_pkt_cnt + in qed_get_protocol_stats_fcoe()
1000 proto_stats.fcoe_tx_xfer_pkt_cnt + in qed_get_protocol_stats_fcoe()
1001 proto_stats.fcoe_tx_other_pkt_cnt; in qed_get_protocol_stats_fcoe()
1002 stats->fcs_err = proto_stats.fcoe_silent_drop_pkt_crc_error_cnt; in qed_get_protocol_stats_fcoe()
Dqed_iscsi.c1364 struct qed_iscsi_stats proto_stats; in qed_get_protocol_stats_iscsi() local
1367 memset(&proto_stats, 0, sizeof(proto_stats)); in qed_get_protocol_stats_iscsi()
1368 if (qed_iscsi_stats(cdev, &proto_stats)) { in qed_get_protocol_stats_iscsi()
1375 stats->rx_pdus = proto_stats.iscsi_rx_total_pdu_cnt; in qed_get_protocol_stats_iscsi()
1376 stats->tx_pdus = proto_stats.iscsi_tx_total_pdu_cnt; in qed_get_protocol_stats_iscsi()
1377 stats->rx_bytes = proto_stats.iscsi_rx_bytes_cnt; in qed_get_protocol_stats_iscsi()
1378 stats->tx_bytes = proto_stats.iscsi_tx_bytes_cnt; in qed_get_protocol_stats_iscsi()