Skip to content

Commit

Permalink
net/ice: increase max Rx/Tx descriptors
Browse files Browse the repository at this point in the history
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 maximum.

Signed-off-by: Lukas Sismis <[email protected]>
Acked-by: Morten Brørup <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
  • Loading branch information
Lukas Sismis authored and bruce-richardson committed Nov 1, 2024
1 parent 63550e3 commit 035326e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ice/ice_rxtx.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#define ICE_ALIGN_RING_DESC 32
#define ICE_MIN_RING_DESC 64
#define ICE_MAX_RING_DESC 4096
#define ICE_MAX_RING_DESC (8192 - 32)
#define ICE_DMA_MEM_ALIGN 4096
#define ICE_RING_BASE_ALIGN 128

Expand Down

0 comments on commit 035326e

Please sign in to comment.