Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c365 u16 delay_cells; in mlxsw_sp_hdroom_buf_delay_get() local
367 delay_cells = mlxsw_sp_bytes_cells(mlxsw_sp, hdroom->delay_bytes); in mlxsw_sp_hdroom_buf_delay_get()
377 return 2 * delay_cells + mlxsw_sp_bytes_cells(mlxsw_sp, hdroom->mtu); in mlxsw_sp_hdroom_buf_delay_get()
420 u16 delay_cells; in mlxsw_sp_hdroom_bufs_reset_sizes() local
424 delay_cells = 0; in mlxsw_sp_hdroom_bufs_reset_sizes()
427 delay_cells = 0; in mlxsw_sp_hdroom_bufs_reset_sizes()
430 delay_cells = mlxsw_sp_hdroom_buf_delay_get(mlxsw_sp, hdroom); in mlxsw_sp_hdroom_bufs_reset_sizes()
434 delay_cells = mlxsw_sp_port_headroom_8x_adjust(mlxsw_sp_port, delay_cells); in mlxsw_sp_hdroom_bufs_reset_sizes()
438 buf->size_cells = thres_cells + delay_cells; in mlxsw_sp_hdroom_bufs_reset_sizes()