Searched refs:hwsdev (Results 1 – 1 of 1) sorted by relevance
25 struct nsim_dev_hwstats_netdev *hwsdev; in nsim_dev_hwstats_traffic_bump() local32 list_for_each_entry(hwsdev, hwsdev_list, list) { in nsim_dev_hwstats_traffic_bump()33 if (hwsdev->enabled) { in nsim_dev_hwstats_traffic_bump()34 hwsdev->stats.rx_packets += 1; in nsim_dev_hwstats_traffic_bump()35 hwsdev->stats.tx_packets += 2; in nsim_dev_hwstats_traffic_bump()36 hwsdev->stats.rx_bytes += 100; in nsim_dev_hwstats_traffic_bump()37 hwsdev->stats.tx_bytes += 300; in nsim_dev_hwstats_traffic_bump()59 struct nsim_dev_hwstats_netdev *hwsdev; in nsim_dev_hwslist_find_hwsdev() local61 list_for_each_entry(hwsdev, hwsdev_list, list) { in nsim_dev_hwslist_find_hwsdev()62 if (hwsdev->netdev->ifindex == ifindex) in nsim_dev_hwslist_find_hwsdev()[all …]