Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.c35 struct mlx5e_port_buffer *port_buffer) in mlx5e_port_query_buffer() argument
56 port_buffer->buffer[i].lossy = in mlx5e_port_query_buffer()
58 port_buffer->buffer[i].epsb = in mlx5e_port_query_buffer()
60 port_buffer->buffer[i].size = in mlx5e_port_query_buffer()
62 port_buffer->buffer[i].xon = in mlx5e_port_query_buffer()
64 port_buffer->buffer[i].xoff = in mlx5e_port_query_buffer()
66 total_used += port_buffer->buffer[i].size; in mlx5e_port_query_buffer()
70 port_buffer->buffer[i].size, in mlx5e_port_query_buffer()
71 port_buffer->buffer[i].xon, in mlx5e_port_query_buffer()
72 port_buffer->buffer[i].xoff, in mlx5e_port_query_buffer()
[all …]
Dport_buffer.h76 struct mlx5e_port_buffer *port_buffer);
/Linux-v6.6/drivers/char/
Dvirtio_console.c85 struct port_buffer { struct
174 struct port_buffer *inbuf;
351 static void free_buf(struct port_buffer *buf, bool can_sleep) in free_buf()
387 struct port_buffer *buf, *tmp; in reclaim_dma_bufs()
406 static struct port_buffer *alloc_buf(struct virtio_device *vdev, size_t buf_size, in alloc_buf()
409 struct port_buffer *buf; in alloc_buf()
462 static struct port_buffer *get_inbuf(struct port *port) in get_inbuf()
464 struct port_buffer *buf; in get_inbuf()
485 static int add_inbuf(struct virtqueue *vq, struct port_buffer *buf) in add_inbuf()
502 struct port_buffer *buf; in discard_port_data()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c911 struct mlx5e_port_buffer port_buffer; in mlx5e_dcbnl_getbuffer() local
925 err = mlx5e_port_query_buffer(priv, &port_buffer); in mlx5e_dcbnl_getbuffer()
930 dcb_buffer->buffer_size[i] = port_buffer.buffer[i].size; in mlx5e_dcbnl_getbuffer()
931 dcb_buffer->total_size = port_buffer.port_buffer_size - in mlx5e_dcbnl_getbuffer()
932 port_buffer.internal_buffers_size; in mlx5e_dcbnl_getbuffer()
942 struct mlx5e_port_buffer port_buffer; in mlx5e_dcbnl_setbuffer() local
970 err = mlx5e_port_query_buffer(priv, &port_buffer); in mlx5e_dcbnl_setbuffer()
975 if (port_buffer.buffer[i].size != dcb_buffer->buffer_size[i]) { in mlx5e_dcbnl_setbuffer()
DMakefile39 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) += en_dcbnl.o en/port_buffer.o