On 3/14/2019 11:05 AM, Hyong Youb Kim wrote: > The maximum packet length (max_pkt_len) from the firmware does not > include CRC, so do not subtract 4 when deriving the max MTU. This > change effectively increases the max MTU by 4B. Apps often assume max > MTU = max_rx_pkt_len - 14 (ethernet header), and attempt to set the > MTU to that value (i.e. set MTU to max HW value). This change > incidentally allows such apps to change MTU to max value successfully. > > Fixes: bb34ffb848a0 ("net/enic: determine max egress packet size and max MTU") > Cc: sta...@dpdk.org > > Signed-off-by: Hyong Youb Kim <hyon...@cisco.com> > Reviewed-by: John Daley <johnd...@cisco.com>
Applied to dpdk-next-net/master, thanks.