From nobody Sat Dec 16 09:57:12 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 4SshMs0Hxvz53gyT for ; Sat, 16 Dec 2023 09:57:29 +0000 (UTC) (envelope-from peterbarlow2000@gmail.com) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SshMq62jWz3fB0; Sat, 16 Dec 2023 09:57:27 +0000 (UTC) (envelope-from peterbarlow2000@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a1c8512349dso171377866b.2; Sat, 16 Dec 2023 01:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702720644; x=1703325444; darn=freebsd.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=6YMxqtHoKc8CmEJTFZfXlDLShuZeCraN/NmN6hkTRUQ=; b=dq3baNaEfmfi+XG/zr22VD2cBytm4B1kUPoTcurpdJA4moAzLTdvsIMcGqqN46QG4o AZyamSd6JLM7Cqfk4MjzD8OuAJp2EKpn0iu+TyvxhxSOTxD1OvU9A2AqLxDUaYiCdKUN D2EmbG5SUqRcKDXqLGELiM9eqhWfByxmw7oDyXLqfIn/nfJzEa4XAnbKfhK7dHIkAr9g sULEZaclsOnUZIJLYdycV9+fFZxsOqNpsjH7yVY/JnduODnC8VsMVOMLSjbEDVwLWFpj Kkc6gWiCs49zwNCsXyLpcUwKriqVWQw9jyrBno2IHwo2HXI+q+dzEoYaOW70hcgpukmo MAKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702720644; x=1703325444; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6YMxqtHoKc8CmEJTFZfXlDLShuZeCraN/NmN6hkTRUQ=; b=enSrejULuChiHLKNVaHhXxCfuesBz5nspujkg2PJwKtNJx8zXU71TOqlHmLxHZGOTl h2Qs85lur9S4fiSrx1wgL30GI+PF2yVEZE2HCv3lp1sjN1UTv5eyExsF/GOBSsbSIzcJ jMp2YHTPo/Jl8riYu4T3BBZQEH6RZFE8pyaa0L/KvcKNC8iHXxWBYD+BseU8zN1J8pkP ZZ6vhwajumJCLB2EMAIiSFUm4jaCVTF4Tx6/hnM079QZLTBP/a+ad963BatpFgjS9Iiu lwOIvOjaIn6DgAU7WQd4kBj7RlxYuJsnT7ggJDtLRd7cxaMfkeW3wClj11q9GToxyJyi gl6g== X-Gm-Message-State: AOJu0YzpQV4dwYvTivcawsv8+VjWtoKGcR21h0JRMddZpXOa+XIvGdos qb85AcHLipfLh0oxRGT2HKpoUroCN7E= X-Google-Smtp-Source: AGHT+IFFl8ta9kJL1uO4QszhMs+D05oziyQUX91eaSGBHBLtM1rppNYhKTYGlltu736vTXjN6QbZnw== X-Received: by 2002:a17:906:3385:b0:a23:2e9e:1f7c with SMTP id v5-20020a170906338500b00a232e9e1f7cmr98676eja.122.1702720643981; Sat, 16 Dec 2023 01:57:23 -0800 (PST) Received: from smtpclient.apple ([141.195.179.27]) by smtp.gmail.com with ESMTPSA id ss20-20020a170907c01400b00a18850d2240sm11965170ejc.143.2023.12.16.01.57.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Dec 2023 01:57:23 -0800 (PST) From: Peter A Barlow Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_A8885B43-A7D0-4D71-A453-6180DF09CAB0" 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 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: Support for Firebox M270 and the Intel X553 MDIO Date: Sat, 16 Dec 2023 09:57:12 +0000 In-Reply-To: Cc: freebsd-net@freebsd.org To: Eric Joyner References: <9111F7D4-7362-4C84-B019-6B3E700DABF6@gmail.com> X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SshMq62jWz3fB0 --Apple-Mail=_A8885B43-A7D0-4D71-A453-6180DF09CAB0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Eric, Thank you. I=E2=80=99ve spent a few days researching this quite = extensively. I=E2=80=99m aware of this. It seems that some mods have = been incorporated into pf+ (closed source) probably in the ixgbe drivers = to facilitate the MDIO bus and detection of the Marvell switch. However, = like some other M270 owners, I don=E2=80=99t wish to invest in pf+ and = would like to figure out just how much work is involved in modifying the = drivers to work with the M270 unit under FreeBSD, or OPNsense. Yesterday I stumbled upon Intel=E2=80=99s DPDK project. If you look at = their mail archive you=E2=80=99ll find a number of mods to the X550 = driver to address this issue. I=E2=80=99m currently looking at this for = clues. https://www.mail-archive.com/dev@dpdk.org/msg88515.html=EF=BF=BC Peter > On 15 Dec 2023, at 18:56, Eric Joyner wrote: >=20 > On Fri, Dec 15, 2023 at 12:51=E2=80=AFAM Peter A Barlow = > wrote: >> I=E2=80=99m looking at running FreeBSD on an old Firebox M270.=20 >> It has a C3558 CPU with integrated X553 LAN controller which connects = over MDIO to a Marvell 88E6190 switch. >> Out of the box the X553 backplane is detected but there doesn=E2=80=99t= seem to be any attempt at probing the MDIO for connected devices. >>=20 >> I=E2=80=99ve played around with the Intel ixgbe drivers, compiling = the kernel etc to see if I can figure it out but I=E2=80=99m really = struggling to understand what needs to be done. >>=20 >> At this stage I=E2=80=99m reaching out to the community to see if = anyone can clarify something for me=E2=80=A6.are there some fundamental = changes or additions required to the drivers to make this work, or is it = something that should work already but needs some options enabling or = configurations tweaking. I=E2=80=99m reluctant to put more time into = trawling through the code if it=E2=80=99s a =E2=80=98simple=E2=80=99 = configuration issue. >>=20 >> Any pointers would be very welcome. >> Thank you. >=20 > I found this thread: = https://forum.netgate.com/topic/154974/pfsense-on-watchguard-m270/112 >=20 > I think the TL;DR is that you need pfSense Plus since the required = software to get it to work isn't publicly available. >=20 > - Eric=20 --Apple-Mail=_A8885B43-A7D0-4D71-A453-6180DF09CAB0 Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_CADC10D3-B6E0-48C7-BF2C-50FB927BA326" --Apple-Mail=_CADC10D3-B6E0-48C7-BF2C-50FB927BA326 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Eric,

Thank you. I=E2=80=99ve spent a few days = researching this quite extensively. I=E2=80=99m aware of this. It seems = that some mods have been incorporated into pf+ (closed source) probably = in the ixgbe drivers to facilitate the MDIO bus and detection of the = Marvell switch. However, like some other M270 owners, I don=E2=80=99t = wish to invest in pf+ and would like to figure out just how much work is = involved in modifying the drivers to work with the M270 unit under = FreeBSD, or OPNsense.

Yesterday I stumbled upon = Intel=E2=80=99s DPDK project. If you look at their mail archive you=E2=80=99= ll find a number of mods to the X550 driver to address this issue. I=E2=80= =99m currently looking at this for clues.