Re: [PATCH net-next 0/4] net/mlx5: Memory optimizations

From: Shay Drory
Date: Wed Dec 01 2021 - 03:22:39 EST



On 11/30/2021 21:39, Jakub Kicinski wrote:
On Tue, 30 Nov 2021 17:07:02 +0200 Shay Drory wrote:
- Patch-1 Provides I/O EQ size resource which enables to save
up to 128KB.
- Patch-2 Provides event EQ size resource which enables to save up to
512KB.
Why is something allocated in host memory a device resource? 🤔

EQ resides in the host memory. It is RO for host driver, RW by device.
When interrupt is generated EQ entry is placed by device and read by driver.
It indicates about what event occurred such as CQE, async and more.

Did you analyze if others may need this?

So far no feedback by other vendors.
The resources are implemented in generic way, if other vendors would
like to implement them.