Re: [dpdk-dev] [PATCH v2] net/mlx5: fix threshold for mbuf replenishment in MPRQ

2021-07-14 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Tuesday, July 13, 2021 6:21 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Slava Ovsiienko ; > sta...@dpdk.org > Subject: [PATCH v2] net/mlx5: fix threshold for mbuf replenishment in MPRQ > > The replenishment sch

[dpdk-dev] [PATCH v2] net/mlx5: fix threshold for mbuf replenishment in MPRQ

2021-07-13 Thread Alexander Kozyrev
The replenishment scheme for the vectorized MPRQ Rx burst aims to improve the cache locality by allocating new mbufs only when there are almost no mbufs left: one burst gap between allocated and consumed indexes. This gap is not big enough to accommodate a corner case when we have a very aggressiv