On Tue, 16 Apr 2024 15:01:44 +0300, Leon Romanovsky wrote: > The existing behavior of ib_umad, which maintains received MAD > packets in an unbounded list, poses a risk of uncontrolled growth. > As user-space applications extract packets from this list, the rate > of extraction may not match the rate of incoming packets, leading > to potential list overflow. > > To address this, we introduce a limit to the size of the list. After > considering typical scenarios, such as OpenSM processing, which can > handle approximately 100k packets per second, and the 1-second retry > timeout for most packets, we set the list size limit to 200k. Packets > received beyond this limit are dropped, assuming they are likely timed > out by the time they are handled by user-space. > > [...] Applied, thanks! [1/1] IB/core: Implement a limit on UMAD receive List https://git.kernel.org/rdma/rdma/c/ca0b44e20a6f30 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>