Searched refs:stats_bitmap (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 3070 struct mlx4_en_stats_bitmap *stats_bitmap, in mlx4_en_update_pfc_stats_bitmap() argument 3078 mutex_lock(&stats_bitmap->mutex); in mlx4_en_update_pfc_stats_bitmap() 3079 bitmap_clear(stats_bitmap->bitmap, last_i, NUM_FLOW_STATS); in mlx4_en_update_pfc_stats_bitmap() 3082 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap() 3087 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap() 3092 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap() 3097 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap() 3101 mutex_unlock(&stats_bitmap->mutex); in mlx4_en_update_pfc_stats_bitmap() 3106 struct mlx4_en_stats_bitmap *stats_bitmap, in mlx4_en_set_stats_bitmap() argument 3112 mutex_init(&stats_bitmap->mutex); in mlx4_en_set_stats_bitmap() [all …]
|
D | en_ethtool.c | 311 unsigned long *stats_bitmap; member 318 unsigned long *stats_bitmap, in bitmap_iterator_init() argument 322 h->advance_array = !bitmap_empty(stats_bitmap, count); in bitmap_iterator_init() 323 h->count = h->advance_array ? bitmap_weight(stats_bitmap, count) in bitmap_iterator_init() 325 h->stats_bitmap = stats_bitmap; in bitmap_iterator_init() 330 return !h->advance_array ? 1 : test_bit(h->iterator, h->stats_bitmap); in bitmap_iterator_test() 349 bitmap_iterator_init(&it, priv->stats_bitmap.bitmap, NUM_ALL_STATS); in mlx4_en_get_sset_count() 374 bitmap_iterator_init(&it, priv->stats_bitmap.bitmap, NUM_ALL_STATS); in mlx4_en_get_ethtool_stats() 457 bitmap_iterator_init(&it, priv->stats_bitmap.bitmap, NUM_ALL_STATS); in mlx4_en_get_strings() 1105 mlx4_en_update_pfc_stats_bitmap(mdev->dev, &priv->stats_bitmap, in mlx4_en_set_pauseparam() [all …]
|
D | mlx4_en.h | 603 struct mlx4_en_stats_bitmap stats_bitmap; member 669 struct mlx4_en_stats_bitmap *stats_bitmap, 785 struct mlx4_en_stats_bitmap *stats_bitmap,
|
D | en_dcb_nl.c | 439 mlx4_en_update_pfc_stats_bitmap(mdev->dev, &priv->stats_bitmap, in mlx4_en_dcbnl_ieee_setpfc()
|