Searched refs:netdev_stat_put (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/net/core/ |
D | netdev-genl.c | 490 static int netdev_stat_put(struct sk_buff *rsp, unsigned int attr_id, u64 value) in netdev_stat_put() function 500 if (netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_PACKETS, rx->packets) || in netdev_nl_stats_write_rx() 501 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_BYTES, rx->bytes) || in netdev_nl_stats_write_rx() 502 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_ALLOC_FAIL, rx->alloc_fail) || in netdev_nl_stats_write_rx() 503 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_HW_DROPS, rx->hw_drops) || in netdev_nl_stats_write_rx() 504 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS, rx->hw_drop_overruns) || in netdev_nl_stats_write_rx() 505 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY, rx->csum_unnecessary) || in netdev_nl_stats_write_rx() 506 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_CSUM_NONE, rx->csum_none) || in netdev_nl_stats_write_rx() 507 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_CSUM_BAD, rx->csum_bad) || in netdev_nl_stats_write_rx() 508 netdev_stat_put(rsp, NETDEV_A_QSTATS_RX_HW_GRO_PACKETS, rx->hw_gro_packets) || in netdev_nl_stats_write_rx() [all …]
|