> From: Lukas Sismis [mailto:sis...@cesnet.cz] > Sent: Wednesday, 30 October 2024 16.43 > > Intel PMDs are capped by default to only 4096 RX/TX descriptors. > This can be limiting for applications requiring a bigger buffer > capabilities. By bufferring more packets with RX/TX > descriptors, the applications can better handle the processing > peaks. > > Setting ice max descriptors to 8192 - 32 as per datasheet: > Register name: QLEN (Rx-Queue) > Description: Receive Queue Length > Defines the size of the descriptor queue in descriptors units > from eight descriptors (QLEN=0x8) up to 8K descriptors minus > 32 (QLEN=0x1FE0). > QLEN Restrictions: When the PXE_MODE flag in the > GLLAN_RCTL_0 register is cleared, the QLEN must be whole > number of 32 descriptors. When the PXE_MODE flag is set, the > QLEN can be one of the following options: > Up to 4 PFs, QLEN can be set to: 8, 16, 24 or 32 descriptors. > Up to 8 PFs, QLEN can be set to: 8 or 16 descriptors > > Signed-off-by: Lukas Sismis <sis...@cesnet.cz> > ---
Drivers should reflect hardware capabilities; it's not up to the driver to impose artificial limits on applications. Thank you for fixing this, Lukas. Acked-by: Morten Brørup <m...@smartsharesystems.com>