Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2020 09:04:21 +0000
From:      isab.mimet.2389@gmail.com
To:        freebsd-net@freebsd.org
Subject:   =?UTF-8?B?6YeH6LSt6YKu566x5piv5oCO5LmI5oyW5o6Y5Yiw55qE77yf?=
Message-ID:  <00000000000088dca205b4eab6d8@google.com>

Next in thread | Raw E-Mail | Index | Archive | Help
5oiR5bey6YKA6K+35oKo5aGr5YaZ5Lul5LiL6KGo5Y2V77yaDQrph4fotK3pgq7nrrHmmK/mgI7k
uYjmjJbmjpjliLDnmoTvvJ8NCg0K6KaB5aGr5YaZ5q2k6KGo5Y2V77yM6K+36K6/6Zeu77yaDQpo
dHRwczovL2RvY3MuZ29vZ2xlLmNvbS9mb3Jtcy9kL2UvMUZBSXBRTFNjQnFlRXk2dVcyWm1CWHg2
UXdWd1EySHZTd2pnNVl6TDFvSzMwSngtTEM4ejJfeEEvdmlld2Zvcm0/dmM9MCZhbXA7Yz0wJmFt
cDt3PTEmYW1wO2Zscj0wJmFtcDt1c3A9bWFpbF9mb3JtX2xpbmsNCg0K5oiR5bey6YKA6K+35oKo
5aGr5YaZ6KGo5Y2V77yaDQoNCkdvb2dsZeihqOWNle+8muWIm+W7uuiwg+afpemXruWNt+W5tuWI
huaekOiwg+afpee7k+aenOOAgg0K
From owner-freebsd-net@freebsd.org  Wed Nov 25 13:18:51 2020
Return-Path: <owner-freebsd-net@freebsd.org>
Delivered-To: freebsd-net@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D630469B7F;
 Wed, 25 Nov 2020 13:18:51 +0000 (UTC)
 (envelope-from rajfbsd@gmail.com)
Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com
 [IPv6:2607:f8b0:4864:20::32c])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4Ch1gH2MG1z3HMr;
 Wed, 25 Nov 2020 13:18:51 +0000 (UTC)
 (envelope-from rajfbsd@gmail.com)
Received: by mail-ot1-x32c.google.com with SMTP id 11so2156351oty.9;
 Wed, 25 Nov 2020 05:18:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=GmJwdIG7YEjrinJQIFXjB3GI1CcUXXCOeTi972ga6P0=;
 b=Qagc/KKusK2GtLdc+E2YuNwnqbRVPwj8GlGaJ7NBiHo4t/JRkpGhLF7gtMj3ERonb6
 OJins00tW4AvYBJxuyDFCU4jCRqsKzC9BNm0/itkmEXoxtgqlMzqiae09+rMrwm+45fx
 pjtipSXBqdPj/qO2jPDbeGzTdorHmFRkjyzKnsEV8OfM291pJyQ/nuC3jc8+0oT2gZNY
 1DqlWz4mS6K+gHy0EVJRAAUqJgdl8WP25mN7xfaNId/0oh5sY0PO9yip43i5vMDKiZZX
 OaKu5XlXnEqxQ6TFi/MolTrlP06APhIhGfjnEX59Q5AEzDicrNVUXL+dXcEFiBsmTOQh
 d1Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=GmJwdIG7YEjrinJQIFXjB3GI1CcUXXCOeTi972ga6P0=;
 b=JGoFoRn6zTWfWNypqFNu0LfdWoMWHFHvUJVvtPSjkMbxG0pGZBE50rc8nVNT+kRfTZ
 id9pMyIz3rVsV1tMgjcMcyTkRUxf5mM7zEeUZv294SfdNTdSlBfg+uRC61H+N7hK1NC0
 IfRb/iePLbQ4UR/ueFNeUCWoSHS/YFbHqutQKSE2QH2O6eBFVjP+DN4Zg91VTEUuZPEu
 mIv2LbOdYMrs64vYjvZME1VoJdkvL1+XeozDNpSQBqX9Ruwq+E1gGfI/mVwvlG1Iylpr
 scO8CvPMuTjy0+VgNxHPtNMDLzAVnRFPyuylGfwfdeA87ug+jVDHxCZ9QPL6Cfwoeqh7
 SCLQ==
X-Gm-Message-State: AOAM530VC0ycA8kplHSSJ5bYzmwc/e9zJ2qu5bnhzVYg/nfMlBT3FXH9
 5zr0Q+/e6CswGykzsFE5KitS+pSz/HuctDm4CbVfIqdL
X-Google-Smtp-Source: ABdhPJxn/BmL8d1aw1Y2KrHKuzIG9VCVhQXVAvYRNCZzoqFCLHjATO3c3p6COn0MjsV1KnyXeOAry3gL6e1ZDq3Edrs=
X-Received: by 2002:a9d:76d7:: with SMTP id p23mr2812494otl.180.1606310328783; 
 Wed, 25 Nov 2020 05:18:48 -0800 (PST)
MIME-Version: 1.0
References: <CAAO+ANOg5MEfHf9bV5x4L_QXNY2O9vQk0s+JrD7yzeXCQfHt8w@mail.gmail.com>
 <CA+_eA9hR8ysiFGj-iriMpqXcDbc4X_h_C1sgNoO05KoLy5orCA@mail.gmail.com>
 <CAAO+ANP3PcqKo1nUfZTB92uKoJ40VA9YLo9MMqSN9AkMhq55tw@mail.gmail.com>
 <CA+_eA9ixySZtvJ8C9mwPj6q2fAQmZJicVgLHKkpb398-u_PaJw@mail.gmail.com>
 <CAAO+ANM_zUgViGfFRuxZo7bTTNd7w9Xco=ptZweYHSGgx_xXsg@mail.gmail.com>
 <CA+_eA9i4i5txARoW-cLc=nzY28r9QCDw1+58pjAZBj=LMTV1og@mail.gmail.com>
 <CA+_eA9iiZ_CLuKxfZzz3AwVs=ZQPeq-g3ezkYTeXcowmRxHnSA@mail.gmail.com>
 <CAAO+ANMT_So=kVk2qcs6Jf2Js2tnbdF8cbZdfkE6oFGC=DpK=g@mail.gmail.com>
 <CA+_eA9jOOFTYmv_bmxcaXz26=-uqG_DnTx7=+g1QM_+ftJXkMQ@mail.gmail.com>
In-Reply-To: <CA+_eA9jOOFTYmv_bmxcaXz26=-uqG_DnTx7=+g1QM_+ftJXkMQ@mail.gmail.com>
From: Rajesh Kumar <rajfbsd@gmail.com>
Date: Wed, 25 Nov 2020 18:48:37 +0530
Message-ID: <CAAO+ANP7yErK2utYrnkog-YM8fQ_KuAtrwSRRb=UzJNfLkLMvg@mail.gmail.com>
Subject: Re: Netmap bridge not working with 10G Ethernet ports
To: Vincenzo Maffione <vmaffione@freebsd.org>
Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>,
 FreeBSD Hackers <freebsd-hackers@freebsd.org>, stephan.dewt@yahoo.co.uk
X-Rspamd-Queue-Id: 4Ch1gH2MG1z3HMr
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
	none
X-Spamd-Result: default: False [-4.00 / 15.00];
	 REPLY(-4.00)[]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>;
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Nov 2020 13:18:51 -0000

Hi Vincenzo,


On Tue, Nov 24, 2020 at 8:54 PM Vincenzo Maffione <vmaffione@freebsd.org>
wrote:

>
> Yeah, it's weird because axgbe also uses iflib(4). If the driver exposes
> NIC head/tail pointers (sysctl) it may be useful to check what happens
> there.
> It may be that the NIC is dropping these packets for some reason.
>

Looks like, "ifdi_promisc_set" routine of the driver is not getting
triggered properly.  Forcibly setting the promisc mode from driver is
solving the packet drop issue. Now I see the ARP reply packet.

axgbe has split header support, which causes trouble starting from ping
packets due to incompatibility with Iflib/Netmap and associated utilities.
I made some changes to the driver, Iflib and Netmap utilities and having
the netmap bridge working with axgbe now.

I am working on a clean fix for promisc mode setting and incompatibility
issue. Will submit the changes for review once done.

Thanks for your inputs and support.

Done in r367920.
>

Thank you.

Thanks,
Rajesh.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?00000000000088dca205b4eab6d8>