Lines Matching refs:stat_put
181 static int stat_put(struct sk_buff *skb, u16 attrtype, u64 val) in stat_put() function
218 if (stat_put(skb, ETHTOOL_A_STATS_ETH_PHY_5_SYM_ERR, in stats_put_phy_stats()
227 if (stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_2_TX_PKT, in stats_put_mac_stats()
229 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_3_SINGLE_COL, in stats_put_mac_stats()
231 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_4_MULTI_COL, in stats_put_mac_stats()
233 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_5_RX_PKT, in stats_put_mac_stats()
235 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_6_FCS_ERR, in stats_put_mac_stats()
237 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_7_ALIGN_ERR, in stats_put_mac_stats()
239 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_8_TX_BYTES, in stats_put_mac_stats()
241 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_9_TX_DEFER, in stats_put_mac_stats()
243 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_10_LATE_COL, in stats_put_mac_stats()
245 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_11_XS_COL, in stats_put_mac_stats()
247 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_12_TX_INT_ERR, in stats_put_mac_stats()
249 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_13_CS_ERR, in stats_put_mac_stats()
251 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_14_RX_BYTES, in stats_put_mac_stats()
253 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_15_RX_INT_ERR, in stats_put_mac_stats()
255 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_18_TX_MCAST, in stats_put_mac_stats()
257 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_19_TX_BCAST, in stats_put_mac_stats()
259 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_20_XS_DEFER, in stats_put_mac_stats()
261 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_21_RX_MCAST, in stats_put_mac_stats()
263 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_22_RX_BCAST, in stats_put_mac_stats()
265 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_23_IR_LEN_ERR, in stats_put_mac_stats()
267 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_24_OOR_LEN, in stats_put_mac_stats()
269 stat_put(skb, ETHTOOL_A_STATS_ETH_MAC_25_TOO_LONG_ERR, in stats_put_mac_stats()
278 if (stat_put(skb, ETHTOOL_A_STATS_ETH_CTRL_3_TX, in stats_put_ctrl_stats()
280 stat_put(skb, ETHTOOL_A_STATS_ETH_CTRL_4_RX, in stats_put_ctrl_stats()
282 stat_put(skb, ETHTOOL_A_STATS_ETH_CTRL_5_RX_UNSUP, in stats_put_ctrl_stats()
334 if (stat_put(skb, ETHTOOL_A_STATS_RMON_UNDERSIZE, in stats_put_rmon_stats()
336 stat_put(skb, ETHTOOL_A_STATS_RMON_OVERSIZE, in stats_put_rmon_stats()
338 stat_put(skb, ETHTOOL_A_STATS_RMON_FRAG, in stats_put_rmon_stats()
340 stat_put(skb, ETHTOOL_A_STATS_RMON_JABBER, in stats_put_rmon_stats()