[PATCH net-next v12 0/5] eth fbnic: Add fbnic self tests

mike.marciniszyn@gmail.com posted 5 patches 22 hours ago
drivers/net/ethernet/meta/fbnic/fbnic.h       |   1 +
drivers/net/ethernet/meta/fbnic/fbnic_csr.c   | 126 ++++++++
drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |   4 +
.../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  93 ++++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.c    |  92 ++++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |   3 +
drivers/net/ethernet/meta/fbnic/fbnic_irq.c   | 154 ++++++++++
drivers/net/ethernet/meta/fbnic/fbnic_tlv.c   | 276 ++++++++++++++++++
drivers/net/ethernet/meta/fbnic/fbnic_tlv.h   |  26 ++
net/core/dev.c                                |   1 +
10 files changed, 776 insertions(+)
[PATCH net-next v12 0/5] eth fbnic: Add fbnic self tests
Posted by mike.marciniszyn@gmail.com 22 hours ago
From: "Mike Marciniszyn (Meta)" <mike.marciniszyn@gmail.com>

This series adds self tests to test the registers, the
msix interrupts, the tlv, and the firmware mailbox.

This series assumes that the
[PATCH net-next 0/2] Add debugfs hooks [1]
is present.

When the self tests are run the with ethtool -t:

        ethtool -t eth0
        The test result is PASS
        The test extra info:
        Register test (offline)  0
        MSI-X Interrupt test (offline)   0
        FW mailbox test (on/offline)     0

Mike Marciniszyn (Meta) (5):
  net: export netif_open for self_test usage
  eth fbnic: Add register self test
  eth fbnic: Add msix self test
  eth fbnic: TLV support for use by MBX self test
  eth fbnic: Add mailbox self test

Link: https://patch.msgid.link/20260127200644.11640-1-mike.marciniszyn@gmail.com/ [1]

 drivers/net/ethernet/meta/fbnic/fbnic.h       |   1 +
 drivers/net/ethernet/meta/fbnic/fbnic_csr.c   | 126 ++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |   4 +
 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  93 ++++++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    |  92 ++++++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |   3 +
 drivers/net/ethernet/meta/fbnic/fbnic_irq.c   | 154 ++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_tlv.c   | 276 ++++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_tlv.h   |  26 ++
 net/core/dev.c                                |   1 +
 10 files changed, 776 insertions(+)

--
2.43.0
Re: [PATCH net-next v12 0/5] eth fbnic: Add fbnic self tests
Posted by Mike Marciniszyn 22 hours ago
On Fri, Feb 06, 2026 at 10:42:40AM -0500, mike.marciniszyn@gmail.com wrote:
> From: "Mike Marciniszyn (Meta)" <mike.marciniszyn@gmail.com>
>
> This series adds self tests to test the registers, the
> msix interrupts, the tlv, and the firmware mailbox.
>
> This series assumes that the
> [PATCH net-next 0/2] Add debugfs hooks [1]
> is present.
>
> When the self tests are run the with ethtool -t:
>
>         ethtool -t eth0
>         The test result is PASS
>         The test extra info:
>         Register test (offline)  0
>         MSI-X Interrupt test (offline)   0
>         FW mailbox test (on/offline)     0
>
> Mike Marciniszyn (Meta) (5):
>   net: export netif_open for self_test usage
>   eth fbnic: Add register self test
>   eth fbnic: Add msix self test
>   eth fbnic: TLV support for use by MBX self test
>   eth fbnic: Add mailbox self test
>
> Link: https://patch.msgid.link/20260127200644.11640-1-mike.marciniszyn@gmail.com/ [1]
>
>  drivers/net/ethernet/meta/fbnic/fbnic.h       |   1 +
>  drivers/net/ethernet/meta/fbnic/fbnic_csr.c   | 126 ++++++++
>  drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |   4 +
>  .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  93 ++++++
>  drivers/net/ethernet/meta/fbnic/fbnic_fw.c    |  92 ++++++
>  drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |   3 +
>  drivers/net/ethernet/meta/fbnic/fbnic_irq.c   | 154 ++++++++++
>  drivers/net/ethernet/meta/fbnic/fbnic_tlv.c   | 276 ++++++++++++++++++
>  drivers/net/ethernet/meta/fbnic/fbnic_tlv.h   |  26 ++
>  net/core/dev.c                                |   1 +
>  10 files changed, 776 insertions(+)
>
> --
> 2.43.0
>

Ignore the v12.  This is v1.

Mike