From nobody Tue Dec 05 14:24:32 2023 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sl2q75N4nz533gM for ; Tue, 5 Dec 2023 14:24:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sl2q74tdvz3Cdl; Tue, 5 Dec 2023 14:24:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701786275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TekJWzaufccKj3fJNhf/EbcfOvEJ+QHK8h39ooq9Dus=; b=kMiXt09rW/1Wo9tdzifSD+w9Lszv1FKD1A1gQfX45OntsbA6DTuKzBHJWZG3IZ8TvkCdE9 NphXqOUFoce2soJw4+v8xgGO8RvAL/7/qbN67/gACdVE+o5yHGj0D3enqvGZwKUuAxnmHD q6YD0lU7AaC1yTZV+5Lf0OUJAwLIukcVi4EBD+Din9pbQCsxsQmsJaw/HFcCpdur8CvbXI cQtZKo5tAbnZHGGLFyE1+okVbbfjYGlqShdzGpkxd610EGoVcEXESIJuqn+YSA8JFYbyZg afsGOFAgQo+4Ojabbg6g6unypJAZtpFAJiL88nWjdvzulRyjkvYaaImR0iipeg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701786275; a=rsa-sha256; cv=none; b=kl25R8W5ODe9qsjhv5PcCp9znAkvLAMRQL1+Gsh0Y5BZ+JxpGzFDlqbUv3Ra8VownR0yiM o3JCfpRLPRoxevj87ixVzhNnNedeL43y6QIs1yOMjHbT0Dp0Q+pDLDMc8oWSYXnGYhDKGY riS4MDw1O0jH1FhC6ZNoIEEMmJl6iTamD21XTyCgE9jTHGsOH7YF4V9Z+HCMFh2rnXjH5y 1tvxZd5cwR2gNBp39FrlxkpQj2fm8owNkOooPXsF22mQKM3hsod2t3v9JBDawxXgiSf8zF jUsTYOJM1ik2dy2rwA8ol/BCzrRfVeY3/+xBk4nhQSa35LdxnG5ab/ryNM7i3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701786275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TekJWzaufccKj3fJNhf/EbcfOvEJ+QHK8h39ooq9Dus=; b=rM2g2hmmYqwBQuiKG7GgPAhFEfvw7hP83zAprkjvHdbC5/SddFu/7zGEI0TWuCKsBsDHal /X4c2bHABDngK2iJKi98N/x5tXa6wc72iv7cbCRAhiZDfMqmqkrnjUsMfBYuMNO1ruGIX1 unJLQ/p/5wdlE/vde98l9hbOB/EcXw3vNMn6m8fytSyNYaWwBJuJ1cjT+Wr/WvRljw8fup C1JflcQX46fYvxp8dKuz8loObOt52Th2ZMLpVz60xPE3/2819YP12gxbWhuk3dv0E1iW2c eRzNPIJJY3JwqrypSaVUwZrF23NLk+/ogYpWN0gG4kQKh+U6pwbZJ9ibTXzlBQ== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Sl2q73CPLz9c6; Tue, 5 Dec 2023 14:24:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 862A611B0F; Tue, 5 Dec 2023 15:24:33 +0100 (CET) From: Kristof Provost To: Benoit Chesneau Cc: freebsd-net@freebsd.org Subject: Re: vxlan with IPv6 underlay ? Date: Tue, 05 Dec 2023 15:24:32 +0100 X-Mailer: MailMate (1.14r5937) Message-ID: <3E2D29F7-2B64-45DD-A13B-7BEB799AF9BA@FreeBSD.org> In-Reply-To: References: <793EA8DF-BD26-414A-A12D-866356D339DB@FreeBSD.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 5 Dec 2023, at 15:21, Benoit Chesneau wrote: > Changing the mtu wasn't enough. To make it works i had to disable vxlan= offload features: > > ``` > ifconfig mce0 -vxlanhwcsum -vxlanhwtso > ``` > > Then suddenly all started to work. The card is the following: > > ``` > mlx5_core1@pci0:17:0:1: class=3D0x020000 rev=3D0x00 hdr=3D0x00 vendor=3D= 0x15b3 device=3D0x1015 subvendor=3D0x1590 subdevice=3D0x00d4 > vendor =3D 'Mellanox Technologies' > device =3D 'MT27710 Family [ConnectX-4 Lx]' > class =3D network > subclass =3D ethernet > PCI-e errors =3D Correctable Error Detected > Unsupported Request Detected > Corrected =3D Advisory Non-Fatal Error > ``` > > Which is odd. Wonder why it's needed. Thoughts? > Driver bug? I=E2=80=99m not familiar with the mlx5 driver (or hardware), but that=E2=80= =99d be my guess. The first step in debugging that would be to figure out which one of thos= e offload features is responsible, and probably also capturing traffic (o= utside of this machine) to see if anything is sent and if so how it=E2=80= =99s broken. Best regards, Kristof