From nobody Mon Sep 09 16:52:13 2024 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 4X2Xtm5ln8z5TNvQ for ; Mon, 09 Sep 2024 16:52:16 +0000 (UTC) (envelope-from omegadraconis@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X2Xtm1D7vz418H for ; Mon, 9 Sep 2024 16:52:16 +0000 (UTC) (envelope-from omegadraconis@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=McM5b7CO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of omegadraconis@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=omegadraconis@gmail.com Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-82cdada0f21so75901939f.3 for ; Mon, 09 Sep 2024 09:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725900735; x=1726505535; darn=freebsd.org; h=in-reply-to:autocrypt:from:content-language:references:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=WaxFWXSgPKZWBinsyRJbA5fWFRDVZ2jJPOnvR4foMnk=; b=McM5b7COVyt+iAQ4IHGDBrNCr45gkDnk5Xt5HCzVbJ6RwJxp0foQFl3cxAL7W5tlhZ S2kjYSc07GevKPkR+E3e2rs46dXK4EaeBf77cx8BgralTqTe5FK3MP7FxHhX7DHWoskL OZiBWh0/DpR00kQUIlBg5dIba5sNmeZqAD8K/2KWj81OiWkBPZwdddSA9zHs7vVZUFVS FO66Z0+reF4JlGTXKTdF9x0zGlZovPNG4F0AODoCRUmAeY8xgfdQ6ZkH9rxe5wS3/hFn 6Ahw1+4/XeZ0/YqjwlyEpXRWsBd7tIK6N7ES/EmwzmVtESAyPCjduB8+aUFDhoNbvPgV D7Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725900735; x=1726505535; h=in-reply-to:autocrypt:from:content-language:references:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=WaxFWXSgPKZWBinsyRJbA5fWFRDVZ2jJPOnvR4foMnk=; b=r9z3uWnmpXRTM0Zpn+8u4CQJRAHIdCZzANkdXG5+jI5Zrw9ihswCVhtgQSxJXoXOAf 58DkB01PJB73OtzhtTbjv18+YdJC6Epydvm2KszPd9SgChXH3vgHQdaVHiIXTfsuSaNA QinRFw/EZcxtRy7Sy89dT4OjcNhL4P05Qtov9VJTNLuOG89i5UEpPF3toohUzWQYMoiT WcG6YZ0M7LIUwoXMtWBdp1JXwoBd3ng0wpW3SHmPHHrAcaMSBY946gkveqShmdhVC4DX bl/ENJPi2MuTgV8PBWmGSAnEgCah2X2bFg1cP1FQeu4Bmwp/q2NBHUorPrhvJonMCQya ZNIA== X-Gm-Message-State: AOJu0YyHKpchizsCBE6gS7rmJqmGJbPdO7qIjOyuL1W5NwrQxPZk8Z/j J06XTh3dpdVC19NLZnU19Z8w988kxLzmP/eXNxyG4mzJCGaNut0zMBXtIwYC X-Google-Smtp-Source: AGHT+IGsRo8p34QFSVHL5O9hbeNfoBVJ0yFbcYThkaW+01uTbAOY6z/SEJ4UCKjxBJIttEiiW5zoSQ== X-Received: by 2002:a05:6e02:1a61:b0:39f:d10e:55e0 with SMTP id e9e14a558f8ab-3a04f0ee539mr131802855ab.19.1725900734530; Mon, 09 Sep 2024 09:52:14 -0700 (PDT) Received: from [192.168.10.217] (99-110-175-208.lightspeed.clmboh.sbcglobal.net. [99.110.175.208]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a05900e2c8sm15093785ab.53.2024.09.09.09.52.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Sep 2024 09:52:14 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------AO23IMBYeIKUL9oSX56jt4qw" Message-ID: <2854f8ea-0827-4f3a-8269-1cca0cd8a201@gmail.com> Date: Mon, 9 Sep 2024 12:52:13 -0400 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 User-Agent: Mozilla Thunderbird Subject: Re: Support for Firebox M270 and the Intel X553 MDIO To: freebsd-net@freebsd.org References: <9111F7D4-7362-4C84-B019-6B3E700DABF6@gmail.com> Content-Language: en-US From: Jason Hensler Autocrypt: addr=Jason@colddarkness.com; keydata= xjMEYh5OtxYJKwYBBAHaRw8BAQdAYRlCJw/Y2KWmAVzAXGH8fTmvcfgYWpqeHR5P6qDiJ9HN Jkphc29uIEhlbnNsZXIgPEphc29uQGNvbGRkYXJrbmVzcy5jb20+wosEExYIADMWIQRlCor0 cQmwcdlj1EgwixcsJVXnHwUCYh5OtwIbAwULCQgHAgYVCAkKCwIFFgIDAQAACgkQMIsXLCVV 5x/UlQD+LRZ/eUbknDJPhna0yW6yaOhAHf6ByiHgc+ATy1yQSokBAN6S7n6HXxIJ6aVwO+si sYXd6RghM7GQMT9QYOaP9ikHzjgEYh5OuBIKKwYBBAGXVQEFAQEHQG+iDmMbKujVJNcaZz6J 4WCeRXVBHli/BJhQX7ROZ8MbAwEIB8J4BBgWCAAgFiEEZQqK9HEJsHHZY9RIMIsXLCVV5x8F AmIeTrgCGwwACgkQMIsXLCVV5x87kAEA0Fv7GgP7VtklqYFIVMIghHcFXs6iZVx3HaG6nozP /DQBAK+NEu5LlePyqbT8h9LrfKJT3Z45/WwBPfQuwCsj0mII In-Reply-To: X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.94 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.950]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d36:from] X-Rspamd-Queue-Id: 4X2Xtm1D7vz418H This is a multi-part message in MIME format. --------------AO23IMBYeIKUL9oSX56jt4qw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello Peter, Sorry to dig up the old thread, not sure about the mailing list rules/etiquette on old threads. I'm looking to get a silicom i3000 up and running with FreeBSD (Opnsense). It has similar specs to the M270 with two X553 cpu ports and a Marvell 88E6190X switch. I found this thread and tried the patches in that you've linked to and also added the patch for the ixgbe_[write|read]_phy_reg_mdi_22, however I'm still not getting a /dev/mdio device. Did you make any progress on this one? Do you have any suggestions? At-least one user was able to get pf+ on it and /dev/mdio did appear. Thanks, Jason Hensler On 12/16/23 4:57 AM, Peter A Barlow wrote: > Hi Eric, > > Thank you. I’ve spent a few days researching this quite extensively. > I’m 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’t 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’s DPDK project. If you look at their > mail archive you’ll find a number of mods to the X550 driver to > address this issue. I’m currently looking at this for clues. > [dpdk-dev] [PATCH v3 2/2] net/ixgbe : backplane port MDIO support > > mail-archive.com > apple-touch-icon-114x114.png > > > > > Peter > > >> On 15 Dec 2023, at 18:56, Eric Joyner wrote: >> >> On Fri, Dec 15, 2023 at 12:51 AM Peter A Barlow >> wrote: >> >> I’m looking at running FreeBSD on an old Firebox M270. >> 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’t >> seem to be any attempt at probing the MDIO for connected devices. >> >> I’ve played around with the Intel ixgbe drivers, compiling the >> kernel etc to see if I can figure it out but I’m really >> struggling to understand what needs to be done. >> >> At this stage I’m reaching out to the community to see if anyone >> can clarify something for me….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’m reluctant to put more >> time into trawling through the code if it’s a ‘simple’ >> configuration issue. >> >> Any pointers would be very welcome. >> Thank you. >> >> >> I found this thread: >> https://forum.netgate.com/topic/154974/pfsense-on-watchguard-m270/112 >> >> I think the TL;DR is that you need pfSense Plus since the required >> software to get it to work isn't publicly available. >> >> - Eric > --------------AO23IMBYeIKUL9oSX56jt4qw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hello Peter,

Sorry to dig up the old thread, not sure about the mailing list rules/etiquette on old threads.

I'm looking to get a silicom i3000 up and running with FreeBSD (Opnsense). It has similar specs to the M270 with two X553 cpu ports and a Marvell 88E6190X switch. I found this thread and tried the patches in that you've linked to and also added the patch for the ixgbe_[write|read]_phy_reg_mdi_22, however I'm still not getting a /dev/mdio device. Did you make any progress on this one? Do you have any suggestions?

At-least one user was able to get pf+ on it and /dev/mdio did appear.

Thanks,

Jason Hensler

On 12/16/23 4:57 AM, Peter A Barlow wrote:
Hi Eric,

Thank you. I’ve spent a few days researching this quite extensively. I’m 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’t 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’s DPDK project. If you look at their mail archive you’ll find a number of mods to the X550 driver to address this issue. I’m currently looking at this for clues.

Peter


On 15 Dec 2023, at 18:56, Eric Joyner <erj@freebsd.org> wrote:

On Fri, Dec 15, 2023 at 12:51 AM Peter A Barlow <peterbarlow2000@gmail.com> wrote:
I’m looking at running FreeBSD on an old Firebox M270.
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’t seem to be any attempt at probing the MDIO for connected devices.

I’ve played around with the Intel ixgbe drivers, compiling the kernel etc to see if I can figure it out but I’m really struggling to understand what needs to be done.

At this stage I’m reaching out to the community to see if anyone can clarify something for me….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’m reluctant to put more time into trawling through the code if it’s a ‘simple’ configuration issue.

Any pointers would be very welcome.
Thank you.

I found this thread: https://forum.netgate.com/topic/154974/pfsense-on-watchguard-m270/112

I think the TL;DR is that you need pfSense Plus since the required software to get it to work isn't publicly available.

- Eric 

--------------AO23IMBYeIKUL9oSX56jt4qw--