Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.c485 u8 *prio2buffer) in mlx5e_port_manual_buffer_config() argument
532 __func__, i, prio2buffer[i]); in mlx5e_port_manual_buffer_config()
538 err = update_buffer_lossy(priv->mdev, max_mtu, curr_pfc_en, prio2buffer, xoff, in mlx5e_port_manual_buffer_config()
587 err = mlx5e_port_set_priority2buffer(priv->mdev, prio2buffer); in mlx5e_port_manual_buffer_config()
Dport_buffer.h73 u8 *prio2buffer);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c923 dcb_buffer->prio2buffer[i] = buffer[i]; in mlx5e_dcbnl_getbuffer()
945 u8 *prio2buffer = NULL; in mlx5e_dcbnl_setbuffer() local
956 mlx5_core_dbg(mdev, "priority %d buffer%d\n", i, dcb_buffer->prio2buffer[i]); in mlx5e_dcbnl_setbuffer()
963 if (dcb_buffer->prio2buffer[i] != old_prio2buffer[i]) { in mlx5e_dcbnl_setbuffer()
965 prio2buffer = dcb_buffer->prio2buffer; in mlx5e_dcbnl_setbuffer()
987 buffer_size, prio2buffer); in mlx5e_dcbnl_setbuffer()
/linux-6.12.1/include/uapi/linux/
Ddcbnl.h170 __u8 prio2buffer[IEEE_8021Q_MAX_PRIORITIES]; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c604 buf->prio2buffer[prio] = hdroom->prios.prio[prio].buf_idx; in mlxsw_sp_dcbnl_getbuffer()
625 hdroom.prios.prio[prio].set_buf_idx = buf->prio2buffer[prio]; in mlxsw_sp_dcbnl_setbuffer()
/linux-6.12.1/net/dcb/
Ddcbnl.c1615 for (prio = 0; prio < ARRAY_SIZE(buffer->prio2buffer); prio++) { in dcbnl_ieee_set()
1616 if (buffer->prio2buffer[prio] >= DCBX_MAX_BUFFERS) { in dcbnl_ieee_set()