/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_diagnostics.c | 49 int size, u16 counter_id) in mlx5_core_get_index_of_diag_counter() argument 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() 67 u64 *array, int size, u16 counter_id, u64 value) in mlx5_core_put_diag_counter() argument 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 121 MLX5_CAP_DEBUG(dev, diagnostic_counter[x].counter_id); in mlx5_core_set_diagnostics_full() 129 counter_id); in mlx5_core_set_diagnostics_full() 136 counter_id); in mlx5_core_set_diagnostics_full() [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() 1425 SCIC_PHY_COUNTER_ID_T counter_id, in scic_phy_get_counter() argument 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 [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 | fs.h | 157 u32 counter_id; member
|
H A D | mlx5_ifc.h | 892 u8 counter_id[0x10]; member 5878 u8 counter_id[0x10]; member 7619 u8 counter_id[0x10]; member 7638 struct mlx5_ifc_counter_id_bits counter_id[0]; member 7693 u8 counter_id[0x10]; member
|
/freebsd/sys/dev/ice/ |
H A D | ice_switch.h | 502 ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id); 504 ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id); 511 u16 *counter_id); 513 ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id);
|
H A D | ice_switch.c | 217 * @counter_id: VEB counter ID returned 223 u16 *counter_id) in ice_alloc_sw() argument 284 *counter_id = LE16_TO_CPU(counter_ele->e.sw_resp); in ice_alloc_sw() 297 * @counter_id: VEB counter ID returned 305 int ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id) in ice_free_sw() argument 345 counter_buf->elem[0].e.sw_resp = CPU_TO_LE16(counter_id); in ice_free_sw() 1464 * @counter_id: VLAN counter ID returned as part of allocate resource in ice_add_counter_act() 1469 u16 counter_id, u16 l_id) in ice_add_counter_act() 1520 act |= (counter_id << ICE_LG_ACT_STAT_COUNT_S) & in ice_add_counter_act() 1543 m_ent->counter_index = (u8)counter_id; 1453 ice_add_counter_act(struct ice_hw * hw,struct ice_fltr_mgmt_list_entry * m_ent,u16 counter_id,u16 l_id) ice_add_counter_act() argument 3837 ice_alloc_res_cntr(struct ice_hw * hw,u8 type,u8 alloc_shared,u16 num_items,u16 * counter_id) ice_alloc_res_cntr() argument 3875 ice_free_res_cntr(struct ice_hw * hw,u8 type,u8 alloc_shared,u16 num_items,u16 counter_id) ice_free_res_cntr() argument 3906 ice_alloc_vlan_res_counter(struct ice_hw * hw,u16 * counter_id) ice_alloc_vlan_res_counter() argument 3918 ice_free_vlan_res_counter(struct ice_hw * hw,u16 counter_id) ice_free_vlan_res_counter() argument 4037 u16 counter_id; ice_add_mac_with_counter() local [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_accel/ |
H A D | mlx5_ipsec_fs.c | 571 dest[1].counter_id = mlx5_fc_id(counter); in rx_add_rule() 660 dest.counter_id = mlx5_fc_id(tx->fc->cnt); in ipsec_counter_rule_tx() 1247 dest[1].counter_id = mlx5_fc_id(counter); in tx_add_rule() 1317 dest[dstn].counter_id = mlx5_fc_id(tx->fc->drop); in tx_add_policy() 1382 dest[dstn].counter_id = mlx5_fc_id(rx->fc->drop); in rx_add_policy() 1787 dest[1].counter_id = mlx5_fc_id(rx->fc->cnt); in ipsec_fs_rx_catchall_rules()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_ethtool.c | 1401 if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0) in mlx5e_create_diagnostics() 1411 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);
|