If the rx-offload skb_queue is full or the skb allocation fails (due to OOM),
the mailbox contents is discarded.
This patch adds the incrementing of the rx_fifo_errors statistics counter.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
ret = offload->mailbox_read(offload, &cf_overflow,
×tamp, n);
ret = offload->mailbox_read(offload, &cf_overflow,
×tamp, n);
offload->dev->stats.rx_dropped++;
offload->dev->stats.rx_dropped++;
+ offload->dev->stats.rx_fifo_errors++;
+ }