Home
last modified time | relevance | path

Searched refs:p_common (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c311 struct qede_stats_common *p_common = &edev->stats.common; in qede_fill_by_demand_stats() local
316 p_common->no_buff_discards = stats.common.no_buff_discards; in qede_fill_by_demand_stats()
317 p_common->packet_too_big_discard = stats.common.packet_too_big_discard; in qede_fill_by_demand_stats()
318 p_common->ttl0_discard = stats.common.ttl0_discard; in qede_fill_by_demand_stats()
319 p_common->rx_ucast_bytes = stats.common.rx_ucast_bytes; in qede_fill_by_demand_stats()
320 p_common->rx_mcast_bytes = stats.common.rx_mcast_bytes; in qede_fill_by_demand_stats()
321 p_common->rx_bcast_bytes = stats.common.rx_bcast_bytes; in qede_fill_by_demand_stats()
322 p_common->rx_ucast_pkts = stats.common.rx_ucast_pkts; in qede_fill_by_demand_stats()
323 p_common->rx_mcast_pkts = stats.common.rx_mcast_pkts; in qede_fill_by_demand_stats()
324 p_common->rx_bcast_pkts = stats.common.rx_bcast_pkts; in qede_fill_by_demand_stats()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1762 struct qed_eth_stats_common *p_common = &p_stats->common; in __qed_get_vport_port_stats() local
1773 p_common->rx_64_byte_packets += port_stats.eth.r64; in __qed_get_vport_port_stats()
1774 p_common->rx_65_to_127_byte_packets += port_stats.eth.r127; in __qed_get_vport_port_stats()
1775 p_common->rx_128_to_255_byte_packets += port_stats.eth.r255; in __qed_get_vport_port_stats()
1776 p_common->rx_256_to_511_byte_packets += port_stats.eth.r511; in __qed_get_vport_port_stats()
1777 p_common->rx_512_to_1023_byte_packets += port_stats.eth.r1023; in __qed_get_vport_port_stats()
1778 p_common->rx_1024_to_1518_byte_packets += port_stats.eth.r1518; in __qed_get_vport_port_stats()
1779 p_common->rx_crc_errors += port_stats.eth.rfcs; in __qed_get_vport_port_stats()
1780 p_common->rx_mac_crtl_frames += port_stats.eth.rxcf; in __qed_get_vport_port_stats()
1781 p_common->rx_pause_frames += port_stats.eth.rxpf; in __qed_get_vport_port_stats()
[all …]
Dqed_main.c3090 struct qed_eth_stats_common *p_common; in qed_fill_generic_tlv_data() local
3112 p_common = &stats.common; in qed_fill_generic_tlv_data()
3113 tlv->rx_frames = p_common->rx_ucast_pkts + p_common->rx_mcast_pkts + in qed_fill_generic_tlv_data()
3114 p_common->rx_bcast_pkts; in qed_fill_generic_tlv_data()
3116 tlv->rx_bytes = p_common->rx_ucast_bytes + p_common->rx_mcast_bytes + in qed_fill_generic_tlv_data()
3117 p_common->rx_bcast_bytes; in qed_fill_generic_tlv_data()
3119 tlv->tx_frames = p_common->tx_ucast_pkts + p_common->tx_mcast_pkts + in qed_fill_generic_tlv_data()
3120 p_common->tx_bcast_pkts; in qed_fill_generic_tlv_data()
3122 tlv->tx_bytes = p_common->tx_ucast_bytes + p_common->tx_mcast_bytes + in qed_fill_generic_tlv_data()
3123 p_common->tx_bcast_bytes; in qed_fill_generic_tlv_data()