[ovs-dev] [PATCHv2] dpif-netlink-rtnl: Retry smaller MTU when default MAX_MTU is too large.

Ben Pfaff blp at ovn.org
Fri Jul 6 20:38:29 UTC 2018


On Fri, Jul 06, 2018 at 08:28:27AM -0700, Yifeng Sun wrote:
> When MAX_MTU is larger than hw supported max MTU,
> dpif_netlink_rtnl_create will fail. This leads to
> testing failure '11: datapath - ping over gre tunnel'
> in 'make check-kmod'.
> 
> This patch fixes this issue by retrying a smaller MTU
> when MAX_MTU is too large.
> 
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
> ---
> v1 -> v2: Fixed a bug pointed out by Ben. (Thanks Ben).

Thanks!  Applied to master.


More information about the dev mailing list