:* Yang, SteveX ; dev@dpdk.org
*Cc:* Lu, Wenzhuo ; Li, Xiaoyun ;
Iremonger, Bernard ; tho...@monjalon.net; Yigit,
Ferruh ; andrew.rybche...@oktetlabs.ru; Yang, Qiming
; ouli...@huawei.com; huangda...@huawei.com
*Subject:* Re: [dpdk-dev] [PATCH v3 1/3] ethdev: fix MTU doesn't update when
j
Hi Steve,
In the current modification, the MTU is updated based on
'max_rx_pkt_len' regardless of whether jumbo frame is enabled.
Now, MTU is correct when jumbo frmae is disabled. However, when jumbo
frame is enabled, the MTU value may be inconsistent with
the definition of the enabled jumb
The MTU value should be updated to 'max_rx_pkt_len - overhead'
no matter if the JUMBO FRAME offload enabled. If not update this MTU,
use will get the wrong MTU info via some command.
E.g.: 'show port info all' in testpmd tool.
Actually, the 'max_rx_pkt_len' has been used for other purposes in many
3 matches
Mail list logo