Lines Matching refs:stats_msg
2293 struct virtchnl2_vport_stats stats_msg = {}; in idpf_send_get_stats_msg() local
2302 stats_msg.vport_id = cpu_to_le32(vport->vport_id); in idpf_send_get_stats_msg()
2305 xn_params.send_buf.iov_base = &stats_msg; in idpf_send_get_stats_msg()
2306 xn_params.send_buf.iov_len = sizeof(stats_msg); in idpf_send_get_stats_msg()
2313 if (reply_sz < sizeof(stats_msg)) in idpf_send_get_stats_msg()
2318 netstats->rx_packets = le64_to_cpu(stats_msg.rx_unicast) + in idpf_send_get_stats_msg()
2319 le64_to_cpu(stats_msg.rx_multicast) + in idpf_send_get_stats_msg()
2320 le64_to_cpu(stats_msg.rx_broadcast); in idpf_send_get_stats_msg()
2321 netstats->tx_packets = le64_to_cpu(stats_msg.tx_unicast) + in idpf_send_get_stats_msg()
2322 le64_to_cpu(stats_msg.tx_multicast) + in idpf_send_get_stats_msg()
2323 le64_to_cpu(stats_msg.tx_broadcast); in idpf_send_get_stats_msg()
2324 netstats->rx_bytes = le64_to_cpu(stats_msg.rx_bytes); in idpf_send_get_stats_msg()
2325 netstats->tx_bytes = le64_to_cpu(stats_msg.tx_bytes); in idpf_send_get_stats_msg()
2326 netstats->rx_errors = le64_to_cpu(stats_msg.rx_errors); in idpf_send_get_stats_msg()
2327 netstats->tx_errors = le64_to_cpu(stats_msg.tx_errors); in idpf_send_get_stats_msg()
2328 netstats->rx_dropped = le64_to_cpu(stats_msg.rx_discards); in idpf_send_get_stats_msg()
2329 netstats->tx_dropped = le64_to_cpu(stats_msg.tx_discards); in idpf_send_get_stats_msg()
2331 vport->port_stats.vport_stats = stats_msg; in idpf_send_get_stats_msg()