Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_virtchnl.c2293 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()
[all …]