Skip to contentSkip to conversation

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

DISCUSSION Marek Behún 1 participant 1 message Nov 8, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello Andrew,

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

https://www.mail-archive.com/[email protected]/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