Subject: about "net: mvpp2: increase MTU limit when XDP enabled"

From: Marek Behún <[email-masked]>
Date: Mon, 8 Nov 2021 23:44:16 +0100

Hello Andrew,

I am writing regarding your suggestion on the patch I sent 6 months ago:

https://www.mail-archive.com/[email-masked]/msg380830.html

Sorry about the delay :-( I forgot about this patch.

Anyway I don't think it can be done, at least not in a simple way.

Would it be sufficient if I added the maximum MTU
(MVPP2_MAX_RX_BUF_SIZE) to the first error message, in
mvpp2_change_mtu()) ?

+    netdev_err(dev, "Illegal MTU value %d (> %d) for XDP mode\n",
+               mtu, (int)MVPP2_MAX_RX_BUF_SIZE);

Thanks.

Marek