Some network drivers (e.g. mlx5) report allocation errors by incrementing the rx_nombuf counter in devstats port statistics if there are no free packets in the RX mempool to be assigned to the NIC. Although it seems that under normal conditions this does not affect traffic processing and packets are not lost, it is advisable to deal with this situation.
As a suitable solution seems to be to ensure that the mempool size will always be 2x the size of the RX queue (between the card and the software).