| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_counters.c | 90 cache->lastuse = jiffies; in update_counter_cache() 146 if (time_after64(bulk_query_time, counter->cache.lastuse)) in mlx5_fc_stats_query_all_counters() 269 counter->cache.lastuse = jiffies; in mlx5_fc_create() 369 return counter->cache.lastuse; in mlx5_fc_query_lastuse() 373 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument 381 *lastuse = c.lastuse; in mlx5_fc_query_cached() 388 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached_raw() argument 394 *lastuse = c.lastuse; in mlx5_fc_query_cached_raw()
|
| A D | fs_core.h | 337 u64 lastuse; member
|
| A D | en_tc.c | 4936 u64 lastuse = 0; in mlx5e_stats_flower() local 4961 mlx5_fc_query_cached(counter, &bytes, &packets, &lastuse); in mlx5e_stats_flower() 4994 lastuse = max_t(u64, lastuse, lastuse2); in mlx5e_stats_flower() 5002 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in mlx5e_stats_flower()
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | bridge_debugfs.c | 44 u64 packets, bytes, lastuse; in mlx5_esw_bridge_debugfs_show() local 53 mlx5_fc_query_cached_raw(entry->ingress_counter, &bytes, &packets, &lastuse); in mlx5_esw_bridge_debugfs_show() 55 entry->dev->name, entry->key.addr, entry->key.vid, packets, bytes, lastuse, in mlx5_esw_bridge_debugfs_show()
|
| A D | bridge_priv.h | 155 unsigned long lastuse; member
|
| A D | bridge.c | 1376 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_entry_init() 1750 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_update_used() 1834 unsigned long lastuse = in mlx5_esw_bridge_update() local 1841 if (time_after(lastuse, entry->lastuse)) in mlx5_esw_bridge_update() 1844 time_is_before_jiffies(entry->lastuse + bridge->ageing_time)) in mlx5_esw_bridge_update()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A D | police.c | 175 u64 bytes, packets, drops, lastuse; in tc_act_police_stats() local 184 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse); in tc_act_police_stats() 185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | meter.h | 73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
|
| A D | meter.c | 583 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse) in mlx5e_tc_meter_get_stats() argument 594 *lastuse = max_t(u64, lastuse1, lastuse2); in mlx5e_tc_meter_get_stats()
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_flower.c | 559 u64 lastuse; in prestera_flower_stats() local 575 &bytes, &lastuse); in prestera_flower_stats() 579 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in prestera_flower_stats()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ipsec.c | 1067 u64 packets, bytes, lastuse; in mlx5e_xfrm_update_stats() local 1079 &auth_packets, &lastuse); in mlx5e_xfrm_update_stats() 1084 &trailer_packets, &lastuse); in mlx5e_xfrm_update_stats() 1093 &replay_packets, &lastuse); in mlx5e_xfrm_update_stats() 1098 mlx5_fc_query_cached(ipsec_rule->fc, &bytes, &packets, &lastuse); in mlx5e_xfrm_update_stats()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_flower.c | 821 u64 lastuse; in mlxsw_sp_flower_stats() local 837 &drops, &lastuse, &used_hw_stats); in mlxsw_sp_flower_stats() 841 flow_stats_update(&f->stats, bytes, packets, drops, lastuse, in mlxsw_sp_flower_stats()
|
| A D | spectrum_mr.c | 1007 WRITE_ONCE(mr_route->mfc->mfc_un.res.lastuse, jiffies); in mlxsw_sp_mr_route_stats_update()
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
| A D | bridge_tracepoint.h | 30 __entry->used = jiffies_to_msecs(jiffies - fdb->lastuse)
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | tc_tun_encap.c | 399 u64 lastuse; in mlx5e_tc_update_neigh_used_value() local 430 lastuse = mlx5_fc_query_lastuse(counter); in mlx5e_tc_update_neigh_used_value() 431 if (time_after((unsigned long)lastuse, nhe->reported_lastuse)) { in mlx5e_tc_update_neigh_used_value()
|
| A D | tc_ct.c | 1331 u64 lastuse, packets, bytes; in mlx5_tc_ct_block_flow_offload_stats() local 1347 mlx5_fc_query_cached(entry->counter->counter, &bytes, &packets, &lastuse); in mlx5_tc_ct_block_flow_offload_stats() 1348 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in mlx5_tc_ct_block_flow_offload_stats()
|