Searched refs:port_buffer (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port_buffer.c | 35 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 …]
|
H A D | port_buffer.h | 76 struct mlx5e_port_buffer *port_buffer);
|
/linux/drivers/char/ |
H A D | virtio_console.c | 85 struct port_buffer { struct 174 struct port_buffer *inbuf; 348 static void free_buf(struct port_buffer *buf, bool can_sleep) in free_buf() 384 struct port_buffer *buf, *tmp; in reclaim_dma_bufs() 403 static struct port_buffer *alloc_buf(struct virtio_device *vdev, size_t buf_size, in alloc_buf() 406 struct port_buffer *buf; in alloc_buf() 459 static struct port_buffer *get_inbuf(struct port *port) in get_inbuf() 461 struct port_buffer *buf; in get_inbuf() 482 static int add_inbuf(struct virtqueue *vq, struct port_buffer *buf) in add_inbuf() 499 struct port_buffer *buf; in discard_port_data() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 911 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()
|
H A D | Makefile | 39 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) += en_dcbnl.o en/port_buffer.o
|