Home
last modified time | relevance | path

Searched refs:mlxsw_sp_cells_bytes (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c128 u32 mlxsw_sp_cells_bytes(const struct mlxsw_sp *mlxsw_sp, u32 cells) in mlxsw_sp_cells_bytes() function
1365 pool_info->size = mlxsw_sp_cells_bytes(mlxsw_sp, pr->size); in mlxsw_sp_sb_pool_get()
1413 return mlxsw_sp_cells_bytes(mlxsw_sp, max_buff); in mlxsw_sp_sb_threshold_out()
1764 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.cur); in mlxsw_sp_sb_occ_port_pool_get()
1765 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max); in mlxsw_sp_sb_occ_port_pool_get()
1783 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.cur); in mlxsw_sp_sb_occ_tc_port_bind_get()
1784 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.max); in mlxsw_sp_sb_occ_tc_port_bind_get()
H A Dspectrum_dcb.c594 u32 bytes = mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->bufs.buf[i].size_cells); in mlxsw_sp_dcbnl_getbuffer()
601 buf->total_size += mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->int_buf.size_cells); in mlxsw_sp_dcbnl_getbuffer()
H A Dspectrum_qdisc.c573 stats_ptr->qstats->backlog += mlxsw_sp_cells_bytes(mlxsw_sp, backlog); in mlxsw_sp_qdisc_update_stats()
753 backlog = mlxsw_sp_cells_bytes(mlxsw_sp_port->mlxsw_sp, in mlxsw_sp_qdisc_leaf_unoffload()
1424 backlog = mlxsw_sp_cells_bytes(mlxsw_sp_port->mlxsw_sp, in __mlxsw_sp_qdisc_ets_unoffload()
H A Dspectrum.h618 u32 mlxsw_sp_cells_bytes(const struct mlxsw_sp *mlxsw_sp, u32 cells);
H A Dspectrum_ethtool.c776 data[data_index + i] = mlxsw_sp_cells_bytes(mlxsw_sp, in __mlxsw_sp_port_get_stats()