From: mike.marciniszyn@gmail.com
To: Alexander Duyck <alexanderduyck@fb.com>,
Jakub Kicinski <kuba@kernel.org>,
kernel-team@meta.com, Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Jacob Keller <jacob.e.keller@intel.com>,
Mohsin Bashir <mohsin.bashr@gmail.com>,
Lee Trager <lee@trager.us>,
Dan Carpenter <dan.carpenter@linaro.org>,
Pei Xiao <xiaopei01@kylinos.cn>,
Stanislav Fomichev <sdf@fomichev.me>,
Kuniyuki Iwashima <kuniyu@google.com>,
Samiullah Khawaja <skhawaja@google.com>,
Hangbin Liu <liuhangbin@gmail.com>
Cc: mike.marciniszyn@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH net-next v4 0/5] eth fbnic: Add fbnic self tests
Date: Sat, 7 Mar 2026 05:58:42 -0500 [thread overview]
Message-ID: <20260307105847.1438-1-mike.marciniszyn@gmail.com> (raw)
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]
v2 - add enums for test return codes 2/5, 3/5, snf 5/5
- correct placement of fbnic_nic forward in 2/5, 4/5
v3 - add missing enum in 3/5
v4 - use kzalloc_obj() vs. kzalloc with sizeof in 3/5
drivers/net/ethernet/meta/fbnic/fbnic.h | 1 +
drivers/net/ethernet/meta/fbnic/fbnic_csr.c | 128 ++++++++
drivers/net/ethernet/meta/fbnic/fbnic_csr.h | 19 ++
.../net/ethernet/meta/fbnic/fbnic_ethtool.c | 93 ++++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.c | 100 +++++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.h | 27 ++
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 | 27 ++
net/core/dev.c | 1 +
10 files changed, 857 insertions(+)
--
2.43.0
next reply other threads:[~2026-03-07 10:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-07 10:58 mike.marciniszyn [this message]
2026-03-07 10:58 ` [PATCH net-next v4 1/5] net: export netif_open for self_test usage mike.marciniszyn
2026-03-07 10:58 ` [PATCH net-next v4 2/5] eth fbnic: Add register self test mike.marciniszyn
2026-03-07 10:58 ` [PATCH net-next v4 3/5] eth fbnic: Add msix " mike.marciniszyn
2026-03-07 10:58 ` [PATCH net-next v4 4/5] eth fbnic: TLV support for use by MBX " mike.marciniszyn
2026-03-07 10:58 ` [PATCH net-next v4 5/5] eth fbnic: Add mailbox " mike.marciniszyn
2026-03-10 14:10 ` [PATCH net-next v4 0/5] eth fbnic: Add fbnic self tests patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260307105847.1438-1-mike.marciniszyn@gmail.com \
--to=mike.marciniszyn@gmail.com \
--cc=alexanderduyck@fb.com \
--cc=andrew+netdev@lunn.ch \
--cc=dan.carpenter@linaro.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=lee@trager.us \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=liuhangbin@gmail.com \
--cc=mohsin.bashr@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
--cc=skhawaja@google.com \
--cc=xiaopei01@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox