Searched refs:hwstats (Results 1 – 4 of 4) sorted by relevance
10 nsim_dev_hwstats_get_list_head(struct nsim_dev_hwstats *hwstats, in nsim_dev_hwstats_get_list_head() argument15 return &hwstats->l3_list; in nsim_dev_hwstats_get_list_head()22 static void nsim_dev_hwstats_traffic_bump(struct nsim_dev_hwstats *hwstats, in nsim_dev_hwstats_traffic_bump() argument28 hwsdev_list = nsim_dev_hwstats_get_list_head(hwstats, type); in nsim_dev_hwstats_traffic_bump()44 struct nsim_dev_hwstats *hwstats; in nsim_dev_hwstats_traffic_work() local46 hwstats = container_of(work, struct nsim_dev_hwstats, traffic_dw.work); in nsim_dev_hwstats_traffic_work()47 mutex_lock(&hwstats->hwsdev_list_lock); in nsim_dev_hwstats_traffic_work()48 nsim_dev_hwstats_traffic_bump(hwstats, NETDEV_OFFLOAD_XSTATS_TYPE_L3); in nsim_dev_hwstats_traffic_work()49 mutex_unlock(&hwstats->hwsdev_list_lock); in nsim_dev_hwstats_traffic_work()51 schedule_delayed_work(&hwstats->traffic_dw, in nsim_dev_hwstats_traffic_work()[all …]
354 struct nsim_dev_hwstats hwstats; member
89 echo $ifindex > $(DEBUGFS_DIR $instance)/hwstats/$type/$action
3054 struct wx_hw_stats *hwstats; in wx_get_stats64() local3095 hwstats = &wx->stats; in wx_get_stats64()3096 stats->rx_errors = hwstats->crcerrs + hwstats->rlec; in wx_get_stats64()3097 stats->multicast = hwstats->qmprc; in wx_get_stats64()3098 stats->rx_length_errors = hwstats->rlec; in wx_get_stats64()3099 stats->rx_crc_errors = hwstats->crcerrs; in wx_get_stats64()