Thread (11 messages) 11 messages, 3 authors, 2023-02-02

Re: [Intel-wired-lan] [PATCH v2 net] ixgbe: allow to increase MTU to some extent with XDP enabled

From: Alexander Lobakin <hidden>
Date: 2023-02-01 11:15:21
Also in: bpf, intel-wired-lan, lkml

From: Jason Xing <redacted>
Date: Tue, 31 Jan 2023 19:23:59 +0800
On Tue, Jan 31, 2023 at 7:08 PM Alexander Lobakin
[off-list ref] wrote:
[...]
quoted
quoted
quoted
You said in this thread that you've done several tests - what were they?
Tests against XDP are running on the server side when MTU varies from
1500 to 3050 (not including ETH_HLEN, ETH_FCS_LEN and VLAN_HLEN) for a
quoted
BTW, if ixgbe allows you to set MTU of 3050, it needs to be fixed. Intel
drivers at some point didn't include the second VLAN tag into account,
Yes, I noticed that.

It should be like "int new_frame_size = new_mtu + ETH_HLEN +
ETH_FCS_LEN + (VLAN_HLEN * 2)" instead of only one VLAN_HLEN, which is
used to compute real size in ixgbe_change_mtu() function.
I'm wondering if I could submit another patch to fix the issue you
mentioned because the current patch tells a different issue. Does it
make sense?
Yes, please send as a separate patch. It's somewhat related to the
topic, but better to keep commits atomic.
If you're available, please help me review the v3 patch I've already
sent to the mailing-list. Thanks anyway.
The Link is https://lore.kernel.org/lkml/20230131032357.34029-1-kerneljasonxing@gmail.com/ (local)
.

Thanks,
Jason
Thanks,
Olek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help