Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2024 12:52:13 -0400
From:      Jason Hensler <omegadraconis@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: Support for Firebox M270 and the Intel X553 MDIO
Message-ID:  <2854f8ea-0827-4f3a-8269-1cca0cd8a201@gmail.com>
In-Reply-To: <A84C1064-B12E-4E2A-957C-0E3452F30DFA@gmail.com>
References:  <9111F7D4-7362-4C84-B019-6B3E700DABF6@gmail.com> <C5C43AEE-AD8A-46B4-99CA-EC6EBD618E08@gmail.com> <CA%2Bb0zg_djE7FiMoR%2BjDxLGm0zrP514PVGYhrhEzcnp8RhCDSRw@mail.gmail.com> <A84C1064-B12E-4E2A-957C-0E3452F30DFA@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 
> <https://www.mail-archive.com/dev@dpdk.org/msg88515.html>;
> mail-archive.com <https://www.mail-archive.com/dev@dpdk.org/msg88515.html>;
> 	apple-touch-icon-114x114.png 
> <https://www.mail-archive.com/dev@dpdk.org/msg88515.html>;
>
> <https://www.mail-archive.com/dev@dpdk.org/msg88515.html>;
>
> 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
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Peter,</p>
    <p>Sorry to dig up the old thread, not sure about the mailing list
      rules/etiquette on old threads.</p>
    <p>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?<br>
    </p>
    <p>At-least one user was able to get pf+ on it and /dev/mdio did
      appear.<br>
    </p>
    <p>Thanks,</p>
    <p>Jason Hensler<br>
    </p>
    <div class="moz-cite-prefix">On 12/16/23 4:57 AM, Peter A Barlow
      wrote:<br>
    </div>
    <blockquote type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Hi Eric,
      <div><br>
      </div>
      <div>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.</div>
      <div><br>
      </div>
      <div>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.</div>
      <div>
        <div style="display: block;">
          <div
style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;"
            class="apple-rich-link" draggable="true" role="link"
data-url="https://www.mail-archive.com/dev@dpdk.org/msg88515.html"><a
style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;"
              class="lp-rich-link" rel="nofollow"
href="https://www.mail-archive.com/dev@dpdk.org/msg88515.html" dir="ltr"
              role="button" draggable="false" width="300"
              moz-do-not-send="true">
              <table
style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;"
                class="lp-rich-link-emailBaseTable" cellpadding="0"
                cellspacing="0" border="0" width="300">
                <tbody>
                  <tr>
                    <td vertical-align="center">
                      <table bgcolor="#E5E6E9" cellpadding="0"
                        cellspacing="0" width="300"
style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);"
                        class="lp-rich-link-captionBar">
                        <tbody>
                          <tr>
                            <td style="padding:8px 0px 8px 0px;"
class="lp-rich-link-captionBar-textStackItem">
                              <div
style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;"
class="lp-rich-link-captionBar-textStack">
                                <div
style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;"
class="lp-rich-link-captionBar-textStack-topCaption-leading"><a
                                    rel="nofollow"
href="https://www.mail-archive.com/dev@dpdk.org/msg88515.html"
                                    style="text-decoration: none"
                                    draggable="false"
                                    moz-do-not-send="true"><font
                                      color="#272727"
style="color: rgba(0, 0, 0, 0.847059);">[dpdk-dev] [PATCH v3 2/2]
                                      net/ixgbe : backplane port MDIO
                                      support</font></a></div>
                                <div
style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;"
class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a
                                    rel="nofollow"
href="https://www.mail-archive.com/dev@dpdk.org/msg88515.html"
                                    style="text-decoration: none"
                                    draggable="false"
                                    moz-do-not-send="true"><font
                                      color="#808080"
style="color: rgba(0, 0, 0, 0.498039);">mail-archive.com</font></a></div>
                              </div>
                            </td>
                            <td style="padding:6px 12px 6px 0px;"
class="lp-rich-link-captionBar-rightIconItem" width="36"><a
                                rel="nofollow"
href="https://www.mail-archive.com/dev@dpdk.org/msg88515.html"
                                draggable="false" moz-do-not-send="true"><img
style="pointer-events:none !important;display:inline-block;width:36px;height:36px;border-radius:3px;"
                                  width="36" height="36"
                                  draggable="false"
class="lp-rich-link-captionBar-rightIcon"
                                  alt="apple-touch-icon-114x114.png"
src="mailbox:///home/jason/Downloads/004343.eml?number=0&amp;header=quotebody&amp;part=1.2.2&amp;filename=apple-touch-icon-114x114.png"
                                  moz-do-not-send="true"></a></td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </a></div>
        </div>
      </div>
      <div><br>
      </div>
      <div>Peter</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>
          <blockquote type="cite">
            <div>On 15 Dec 2023, at 18:56, Eric Joyner
              <a class="moz-txt-link-rfc2396E" href="mailto:erj@freebsd.org">&lt;erj@freebsd.org&gt;</a> wrote:</div>
            <br class="Apple-interchange-newline">
            <div>
              <div dir="ltr">
                <div dir="ltr">On Fri, Dec 15, 2023 at 12:51 AM Peter A
                  Barlow &lt;<a href="mailto:peterbarlow2000@gmail.com"
                    moz-do-not-send="true" class="moz-txt-link-freetext">peterbarlow2000@gmail.com</a>&gt;
                  wrote:<br>
                </div>
                <div class="gmail_quote">
                  <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I’m
                    looking at running FreeBSD on an old Firebox M270. <br>
                    It has a C3558 CPU with integrated X553 LAN
                    controller which connects over MDIO to a Marvell
                    88E6190 switch.<br>
                    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.<br>
                    <br>
                    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.<br>
                    <br>
                    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.<br>
                    <br>
                    Any pointers would be very welcome.<br>
                    Thank you.<br>
                  </blockquote>
                  <div><br>
                  </div>
                  I found this thread: <a
href="https://forum.netgate.com/topic/154974/pfsense-on-watchguard-m270/112"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://forum.netgate.com/topic/154974/pfsense-on-watchguard-m270/112</a>;
                  <div><br>
                  </div>
                  <div>I think the TL;DR is that you need pfSense Plus
                    since the required software to get it to work isn't
                    publicly available.</div>
                  <div><br>
                  </div>
                  <div>- Eric </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2854f8ea-0827-4f3a-8269-1cca0cd8a201>