/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_diagnostics.c | 54 if (counter_id == 0) in mlx5_core_get_index_of_diag_counter() 59 if (entry[x].counter_id == counter_id) in mlx5_core_get_index_of_diag_counter() 72 if (counter_id == 0) in mlx5_core_put_diag_counter() 77 if (entry[x].counter_id == counter_id) { in mlx5_core_put_diag_counter() 120 u16 counter_id = in mlx5_core_set_diagnostics_full() local 129 counter_id); in mlx5_core_set_diagnostics_full() 136 counter_id); in mlx5_core_set_diagnostics_full() 143 counter_id[y].counter_id, in mlx5_core_set_diagnostics_full() 144 counter_id); in mlx5_core_set_diagnostics_full() 278 if (counter_id == 0) in mlx5_core_supports_diagnostics() [all …]
|
H A D | mlx5_diag_cnt.c | 166 MLX5_GET(diagnostic_cntr_struct, cnt, counter_id), in decode_cnt_buffer() 308 MLX5_CAP_DEBUG(dev, diagnostic_counter[i].counter_id); in get_supported_cnt_ids() 373 diag_cnt->num_cnt_id * MLX5_ST_SZ_BYTES(counter_id); in mlx5_diag_set_params() 406 ctx, counter_id[j]); in mlx5_diag_set_params() 407 MLX5_SET(counter_id, cnt_id, counter_id, in mlx5_diag_set_params() 433 diag_cnt->num_cnt_id * MLX5_ST_SZ_BYTES(counter_id); in mlx5_diag_query_params() 465 ctx, counter_id[i]); in mlx5_diag_query_params() 467 MLX5_GET(counter_id, cnt_id, counter_id)); in mlx5_diag_query_params()
|
/freebsd/sys/dev/isci/scil/ |
H A D | scic_phy.h | 364 SCIC_PHY_COUNTER_ID_T counter_id 384 SCIC_PHY_COUNTER_ID_T counter_id 406 SCIC_PHY_COUNTER_ID_T counter_id, 427 SCIC_PHY_COUNTER_ID_T counter_id
|
H A D | scic_sds_phy.c | 1255 SCIC_PHY_COUNTER_ID_T counter_id in scic_phy_enable_counter() argument 1266 this_phy, counter_id in scic_phy_enable_counter() 1269 switch(counter_id) in scic_phy_enable_counter() 1342 SCIC_PHY_COUNTER_ID_T counter_id in scic_phy_disable_counter() argument 1354 this_phy, counter_id in scic_phy_disable_counter() 1357 switch(counter_id) in scic_phy_disable_counter() 1437 this_phy, counter_id in scic_phy_get_counter() 1440 switch(counter_id) in scic_phy_get_counter() 1505 SCIC_PHY_COUNTER_ID_T counter_id in scic_phy_clear_counter() argument 1516 this_phy, counter_id in scic_phy_clear_counter() [all …]
|
/freebsd/sys/dev/mlx5/ |
H A D | diagnostics.h | 37 u16 counter_id; member 148 int mlx5_core_supports_diagnostics(struct mlx5_core_dev *mdev, u16 counter_id);
|
H A D | mlx5_ifc.h | 718 u8 counter_id[0x10]; member 5581 u8 counter_id[0x10]; member 7317 u8 counter_id[0x10]; member 7336 struct mlx5_ifc_counter_id_bits counter_id[0]; member 7391 u8 counter_id[0x10]; member
|
/freebsd/sys/dev/ice/ |
H A D | ice_switch.h | 499 ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id); 501 ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id); 508 u16 *counter_id); 510 ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id);
|
H A D | ice_switch.c | 223 u16 *counter_id) in ice_alloc_sw() argument 284 *counter_id = LE16_TO_CPU(counter_ele->e.sw_resp); in ice_alloc_sw() 1461 u16 counter_id, u16 l_id) in ice_add_counter_act() argument 1512 act |= (counter_id << ICE_LG_ACT_STAT_COUNT_S) & in ice_add_counter_act() 1535 m_ent->counter_index = (u8)counter_id; in ice_add_counter_act() 3860 u16 *counter_id) in ice_alloc_res_cntr() argument 3898 u16 counter_id) in ice_free_res_cntr() argument 3913 buf->elem[0].e.sw_resp = CPU_TO_LE16(counter_id); in ice_free_res_cntr() 3933 counter_id); in ice_alloc_vlan_res_counter() 3945 counter_id); in ice_free_vlan_res_counter() [all …]
|
/freebsd/sys/dev/xilinx/ |
H A D | if_xae.c | 358 xae_stat(struct xae_softc *sc, int counter_id) in xae_stat() argument 363 KASSERT(counter_id < XAE_MAX_COUNTERS, in xae_stat() 364 ("counter %d is out of range", counter_id)); in xae_stat() 366 new = READ8(sc, XAE_STATCNT(counter_id)); in xae_stat() 367 old = sc->counters[counter_id]; in xae_stat() 373 sc->counters[counter_id] = new; in xae_stat()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_ethtool.c | 1403 if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0) in mlx5e_create_diagnostics() 1413 if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0) in mlx5e_create_diagnostics()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_devx.c | 225 bool mlx5_ib_devx_is_flow_counter(void *obj, u32 offset, u32 *counter_id) in mlx5_ib_devx_is_flow_counter() argument 235 *counter_id = MLX5_GET(dealloc_flow_counter_in, in mlx5_ib_devx_is_flow_counter() 238 *counter_id += offset; in mlx5_ib_devx_is_flow_counter()
|
H A D | mlx5_ib.h | 1084 bool mlx5_ib_devx_is_flow_counter(void *obj, u32 offset, u32 *counter_id);
|